Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo", uses=false) Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction") translateModel(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002382/0.002382, allocations: 193.8 kB / 16.13 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.3224/0.3224, allocations: 28.8 MB / 318.8 MB, free: 5.93 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 56.16 kB / 385.9 MB, free: 4.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3779, allocations: 56.42 MB / 442.3 MB, free: 39.76 MB / 366.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction): time 0.003355/0.3812, allocations: 2.367 MB / 444.7 MB, free: 38.7 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.3825, allocations: 0.6206 MB / 445.3 MB, free: 38.43 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001742/0.3827, allocations: 5.75 kB / 445.3 MB, free: 38.43 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002016/0.3829, allocations: 36.03 kB / 445.4 MB, free: 38.41 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.531e-05/0.383, allocations: 16.56 kB / 445.4 MB, free: 38.4 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003624/0.3834, allocations: 110.5 kB / 445.5 MB, free: 38.39 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002524/0.3836, allocations: 245.8 kB / 445.7 MB, free: 38.37 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002876/0.3839, allocations: 183.2 kB / 445.9 MB, free: 38.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.3841, allocations: 98.7 kB / 446 MB, free: 38.3 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.3842, allocations: 118.1 kB / 446.1 MB, free: 38.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.768e-05/0.3842, allocations: 17.06 kB / 446.1 MB, free: 38.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.3843, allocations: 36.59 kB / 446.2 MB, free: 38.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.805e-05/0.3844, allocations: 70.78 kB / 446.2 MB, free: 38.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.3845, allocations: 147 kB / 446.4 MB, free: 38.19 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002882/0.3848, allocations: 290.8 kB / 446.7 MB, free: 38.12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3849, allocations: 2.906 kB / 446.7 MB, free: 38.12 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3849, allocations: 3.938 kB / 446.7 MB, free: 38.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.3849, allocations: 0 / 446.7 MB, free: 38.12 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.0008808/0.3858, allocations: 0.6589 MB / 447.3 MB, free: 37.61 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.3858, allocations: 8.719 kB / 447.3 MB, free: 37.61 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.397e-05/0.3859, allocations: 44.81 kB / 447.4 MB, free: 37.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.3861, allocations: 284.5 kB / 447.7 MB, free: 37.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.3862, allocations: 22.66 kB / 447.7 MB, free: 37.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.356e-05/0.3862, allocations: 34.78 kB / 447.7 MB, free: 37.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004855/0.3867, allocations: 350.2 kB / 448.1 MB, free: 37.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.3867, allocations: 2.844 kB / 448.1 MB, free: 37.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.3868, allocations: 9.531 kB / 448.1 MB, free: 37.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.3868, allocations: 5.938 kB / 448.1 MB, free: 37.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004301/0.3872, allocations: 235.4 kB / 448.3 MB, free: 37.24 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.3883, allocations: 1.154 MB / 449.5 MB, free: 36.42 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000377/0.3887, allocations: 230.7 kB / 449.7 MB, free: 36.33 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001907/0.3889, allocations: 97.75 kB / 449.8 MB, free: 36.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.7e-05/0.389, allocations: 17.77 kB / 449.8 MB, free: 36.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003398/0.3893, allocations: 153.8 kB / 450 MB, free: 36.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.603e-06/0.3893, allocations: 4 kB / 450 MB, free: 36.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006435/0.39, allocations: 324.7 kB / 450.3 MB, free: 36.1 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.39, allocations: 58.16 kB / 450.3 MB, free: 36.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.3902, allocations: 270 kB / 450.6 MB, free: 35.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.3903, allocations: 32.52 kB / 450.6 MB, free: 35.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.3904, allocations: 213 kB / 450.8 MB, free: 35.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.3904, allocations: 50.8 kB / 450.9 MB, free: 35.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.19e-05/0.3905, allocations: 48.97 kB / 450.9 MB, free: 35.6 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.111e-05/0.3906, allocations: 341.1 kB / 451.3 MB, free: 35.28 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.3908, allocations: 91.11 kB / 451.4 MB, free: 35.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.391, allocations: 128.3 kB / 451.5 MB, free: 35.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000369/0.3913, allocations: 254.2 kB / 451.7 MB, free: 35.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.3914, allocations: 3.938 kB / 451.7 MB, free: 35.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004729/0.3918, allocations: 327.1 kB / 452.1 MB, free: 34.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/0.3919, allocations: 34.2 kB / 452.1 MB, free: 34.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3919, allocations: 3.188 kB / 452.1 MB, free: 34.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.3919, allocations: 2.875 kB / 452.1 MB, free: 34.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.3921, allocations: 41.38 kB / 452.1 MB, free: 34.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.3921, allocations: 2.75 kB / 452.1 MB, free: 34.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.3923, allocations: 27.31 kB / 452.2 MB, free: 34.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.3923, allocations: 9.328 kB / 452.2 MB, free: 34.84 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 7 (Hunting.count,$PRE.Hunting.count,Hunting.T_start,$PRE.Hunting.T_start,$whenCondition1,Lynx.Integrator1.local_reset,Hare.Integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001145/0.3924, allocations: 170.7 kB / 452.3 MB, free: 34.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.3924, allocations: 35.06 kB / 452.4 MB, free: 34.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004541/0.3929, allocations: 256.7 kB / 452.6 MB, free: 34.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.3929, allocations: 0 / 452.6 MB, free: 34.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.3929, allocations: 2.812 kB / 452.6 MB, free: 34.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3929, allocations: 3.938 kB / 452.6 MB, free: 34.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006052/0.3936, allocations: 0.6632 MB / 453.3 MB, free: 34.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3936, allocations: 0 / 453.3 MB, free: 34.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.3937, allocations: 36.3 kB / 453.3 MB, free: 34.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3937, allocations: 0 / 453.3 MB, free: 34.13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.3938, allocations: 4 kB / 453.3 MB, free: 34.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3938, allocations: 2.938 kB / 453.3 MB, free: 34.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3938, allocations: 3.938 kB / 453.3 MB, free: 34.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005665/0.3943, allocations: 457.3 kB / 453.8 MB, free: 33.9 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.49e-05/0.3944, allocations: 101.8 kB / 453.9 MB, free: 33.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/0.3944, allocations: 6.781 kB / 453.9 MB, free: 33.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.3946, allocations: 13.03 kB / 453.9 MB, free: 33.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.686e-05/0.3946, allocations: 26.98 kB / 453.9 MB, free: 33.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.3946, allocations: 2.781 kB / 453.9 MB, free: 33.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001273/0.3948, allocations: 194.6 kB / 454.1 MB, free: 33.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3948, allocations: 0 / 454.1 MB, free: 33.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002902/0.3951, allocations: 71.62 kB / 454.2 MB, free: 33.63 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Hare.Integrator1.y,Lynx.Integrator1.y) * Number of discrete variables: 3 ($whenCondition1,Hunting.T_start,Hunting.count) * Number of discrete states: 1 (Hunting.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001194/0.3952, allocations: 108.6 kB / 454.3 MB, free: 33.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004433/0.3957, allocations: 261.2 kB / 454.6 MB, free: 33.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3957, allocations: 4.25 kB / 454.6 MB, free: 33.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.3959, allocations: 113.8 kB / 454.7 MB, free: 33.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.3962, allocations: 32.91 kB / 454.7 MB, free: 33.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008968/0.3971, allocations: 0.7108 MB / 455.4 MB, free: 32.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.3974, allocations: 0.7906 MB / 456.2 MB, free: 32.19 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.964e-05/0.3974, allocations: 19.8 kB / 456.2 MB, free: 32.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.642e-05/0.3975, allocations: 17.88 kB / 456.2 MB, free: 32.18 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3975, allocations: 0 / 456.2 MB, free: 32.18 MB / 366.1 MB Notification: Performance of Templates: time 0.005041/0.4026, allocations: 1.839 MB / 458.1 MB, free: 32 MB / 366.1 MB make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.makefile (rm -f SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe ; mkfifo SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe >> ../files/SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.sim & ./SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe 2>&1)