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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003497/0.003497, allocations: 182.8 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 221.4 MB / 229.3 MB, free: 3.066 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 97 kB / 280.1 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.1758/0.1758, allocations: 28.83 MB / 359.7 MB, free: 1.543 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 8.206e-06/8.236e-06, allocations: 7.938 kB / 423.2 MB, free: 44.19 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0971/0.09711, allocations: 57.47 MB / 480.7 MB, free: 2.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2624/0.3596, allocations: 79.45 MB / 0.547 GB, free: 10.15 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/0.3599, allocations: 63.97 kB / 0.5471 GB, free: 10.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.01219/0.3721, allocations: 4.382 MB / 0.5513 GB, free: 5.715 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.708e-05/0.3721, allocations: 8 kB / 0.5514 GB, free: 5.707 MB / 378.7 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.0007117/0.3728, allocations: 0.583 MB / 0.5519 GB, free: 5.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.3729, allocations: 8.031 kB / 0.5519 GB, free: 5.062 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.472e-05/0.373, allocations: 47.44 kB / 0.552 GB, free: 5.016 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003148/0.3733, allocations: 281.8 kB / 0.5522 GB, free: 4.703 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.3733, allocations: 15.94 kB / 0.5523 GB, free: 4.688 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.253e-05/0.3734, allocations: 16 kB / 0.5523 GB, free: 4.672 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003509/0.3737, allocations: 205.2 kB / 0.5525 GB, free: 4.473 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004146/0.3741, allocations: 298.3 kB / 0.5528 GB, free: 4.156 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.3742, allocations: 0 / 0.5528 GB, free: 4.156 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.3742, allocations: 3.984 kB / 0.5528 GB, free: 4.152 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.3742, allocations: 8 kB / 0.5528 GB, free: 4.145 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.3755, allocations: 1.1 MB / 0.5538 GB, free: 2.992 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003173/0.3758, allocations: 190.5 kB / 0.554 GB, free: 2.797 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.3759, allocations: 88.83 kB / 0.5541 GB, free: 2.707 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.333e-05/0.376, allocations: 16.86 kB / 0.5541 GB, free: 2.691 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001899/0.3762, allocations: 142.7 kB / 0.5543 GB, free: 2.543 MB / 378.7 MB Notification: Performance of pre-optimization done (n=18): time 1.663e-06/0.3762, allocations: 0 / 0.5543 GB, free: 2.543 MB / 378.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004082/0.3766, allocations: 229.2 kB / 0.5545 GB, free: 2.312 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.3767, allocations: 59.39 kB / 0.5545 GB, free: 2.242 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.3769, allocations: 221.1 kB / 0.5547 GB, free: 2.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.3769, allocations: 29.69 kB / 0.5548 GB, free: 1.984 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.377, allocations: 183.8 kB / 0.555 GB, free: 1.801 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.485e-05/0.3771, allocations: 59.14 kB / 0.555 GB, free: 1.742 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.201e-05/0.3771, allocations: 4 kB / 0.555 GB, free: 1.738 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.3772, allocations: 338.7 kB / 0.5553 GB, free: 1.398 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.3774, allocations: 80.2 kB / 0.5554 GB, free: 1.316 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.3775, allocations: 121.8 kB / 0.5555 GB, free: 1.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.3777, allocations: 98.97 kB / 0.5556 GB, free: 1.086 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3777, allocations: 0 / 0.5556 GB, free: 1.086 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004055/0.3781, allocations: 274.6 kB / 0.5559 GB, free: 0.8125 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.3781, allocations: 4 kB / 0.5559 GB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3781, allocations: 0 / 0.5559 GB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.3782, allocations: 4 kB / 0.5559 GB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.3784, allocations: 52.03 kB / 0.5559 GB, free: 0.7539 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.3784, allocations: 0 / 0.5559 GB, free: 0.7539 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.3786, allocations: 27.73 kB / 0.556 GB, free: 0.7266 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.814e-05/0.3786, allocations: 16 kB / 0.556 GB, free: 0.7109 MB / 378.7 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 ($whenCondition1,$PRE.Hunting.T_start,Hunting.T_start,$PRE.Hunting.count,Hunting.count,Lynx.Integrator1.local_reset,Hare.Integrator1.local_reset) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.051e-05/0.3787, allocations: 116.9 kB / 0.5561 GB, free: 0.5898 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.3788, allocations: 19.72 kB / 0.5561 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000466/0.3792, allocations: 271.4 kB / 0.5564 GB, free: 312 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.3792, allocations: 4 kB / 0.5564 GB, free: 308 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3792, allocations: 0 / 0.5564 GB, free: 308 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3793, allocations: 0 / 0.5564 GB, free: 308 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006801/0.3799, allocations: 0.5992 MB / 0.557 GB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.38, allocations: 3.938 kB / 0.557 GB, free: 15.65 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.3802, allocations: 43.97 kB / 0.557 GB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.3802, allocations: 0 / 0.557 GB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.3802, allocations: 7.906 kB / 0.557 GB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3802, allocations: 0 / 0.557 GB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.3802, allocations: 0 / 0.557 GB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005317/0.3808, allocations: 447 kB / 0.5574 GB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.734e-05/0.3808, allocations: 105 kB / 0.5575 GB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.669e-05/0.3809, allocations: 3.938 kB / 0.5575 GB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.381, allocations: 15.98 kB / 0.5576 GB, free: 15.01 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.165e-05/0.3811, allocations: 15.97 kB / 0.5576 GB, free: 14.99 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.3811, allocations: 12 kB / 0.5576 GB, free: 14.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001378/0.3813, allocations: 177.2 kB / 0.5578 GB, free: 14.81 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003016/0.3816, allocations: 71.61 kB / 0.5578 GB, free: 14.74 MB / 394.7 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001429/0.3817, allocations: 99.25 kB / 0.5579 GB, free: 14.63 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002944/0.382, allocations: 213.6 kB / 0.5581 GB, free: 14.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.3821, allocations: 4 kB / 0.5581 GB, free: 14.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.3822, allocations: 83.92 kB / 0.5582 GB, free: 14.33 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.3825, allocations: 24.97 kB / 0.5582 GB, free: 14.3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007722/0.3832, allocations: 406.3 kB / 0.5586 GB, free: 13.88 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004246/0.3837, allocations: 0.8174 MB / 0.5594 GB, free: 13.04 MB / 394.7 MB Notification: Performance of SimCode: time 3.21e-07/0.3837, allocations: 0 / 0.5594 GB, free: 13.04 MB / 394.7 MB Notification: Performance of Templates: time 0.005131/0.3888, allocations: 2.089 MB / 0.5615 GB, free: 10.97 MB / 394.7 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)