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: "" <> buildModelFMU(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction,fileNamePrefix="SystemDynamics_SystemDynamics_IntroductoryExamples_Hair_Lynx_Interaction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction,fileNamePrefix="SystemDynamics_SystemDynamics_IntroductoryExamples_Hair_Lynx_Interaction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005352/0.005352, allocations: 172.5 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 223.2 MB / 239 MB, free: 1.785 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.00102/0.001019, allocations: 104.3 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.1929/0.1929, allocations: 28.84 MB / 370.1 MB, free: 13.92 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.000316/0.000316, allocations: 8 kB / 438.2 MB, free: 70.66 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1135, allocations: 57.47 MB / 495.7 MB, free: 13.14 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4141/0.5276, allocations: 80.25 MB / 0.5624 GB, free: 11.23 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.5279, allocations: 69.14 kB / 0.5625 GB, free: 11.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0109/0.5388, allocations: 4.714 MB / 0.5671 GB, free: 7.379 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.756e-06/0.5388, allocations: 4 kB / 0.5671 GB, free: 7.375 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.881e-05/0.5388, allocations: 11.59 kB / 0.5671 GB, free: 7.367 MB / 362.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.0007972/0.5397, allocations: 0.622 MB / 0.5677 GB, free: 6.719 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.5397, allocations: 8.031 kB / 0.5677 GB, free: 6.711 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.262e-05/0.5398, allocations: 75.62 kB / 0.5678 GB, free: 6.648 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.864e-05/0.5399, allocations: 47.42 kB / 0.5679 GB, free: 6.602 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.5402, allocations: 287.8 kB / 0.5681 GB, free: 6.301 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.5402, allocations: 22.34 kB / 0.5682 GB, free: 6.289 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.556e-05/0.5403, allocations: 36.05 kB / 0.5682 GB, free: 6.266 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005325/0.5408, allocations: 365.9 kB / 0.5685 GB, free: 5.973 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.5408, allocations: 0 / 0.5685 GB, free: 5.973 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/0.5409, allocations: 9.281 kB / 0.5685 GB, free: 5.973 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.5409, allocations: 11.95 kB / 0.5686 GB, free: 5.961 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004786/0.5413, allocations: 266.8 kB / 0.5688 GB, free: 5.766 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.5425, allocations: 1.181 MB / 0.57 GB, free: 4.688 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000416/0.543, allocations: 246.9 kB / 0.5702 GB, free: 4.496 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.454e-05/0.543, allocations: 15.98 kB / 0.5702 GB, free: 4.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002826/0.5433, allocations: 161 kB / 0.5704 GB, free: 4.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 2.294e-06/0.5433, allocations: 0 / 0.5704 GB, free: 4.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006825/0.544, allocations: 371.4 kB / 0.5707 GB, free: 4.043 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.544, allocations: 54.84 kB / 0.5708 GB, free: 3.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.5442, allocations: 239.5 kB / 0.571 GB, free: 3.777 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.5443, allocations: 29.52 kB / 0.571 GB, free: 3.746 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.614e-05/0.5444, allocations: 216.4 kB / 0.5712 GB, free: 3.574 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/0.5444, allocations: 57.05 kB / 0.5713 GB, free: 3.527 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.356e-05/0.5444, allocations: 7.312 kB / 0.5713 GB, free: 3.523 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.187e-05/0.5445, allocations: 338.5 kB / 0.5716 GB, free: 3.195 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.5447, allocations: 109.3 kB / 0.5717 GB, free: 3.109 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.5449, allocations: 135.6 kB / 0.5719 GB, free: 2.988 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/0.5451, allocations: 152.5 kB / 0.572 GB, free: 2.871 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5452, allocations: 0 / 0.572 GB, free: 2.871 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005132/0.5457, allocations: 345.3 kB / 0.5723 GB, free: 2.586 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.5457, allocations: 32.67 kB / 0.5724 GB, free: 2.551 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.776e-05/0.5457, allocations: 7.938 kB / 0.5724 GB, free: 2.543 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.5458, allocations: 0 / 0.5724 GB, free: 2.543 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/0.546, allocations: 45.84 kB / 0.5724 GB, free: 2.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.546, allocations: 7.984 kB / 0.5724 GB, free: 2.492 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.5461, allocations: 38.14 kB / 0.5725 GB, free: 2.461 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.256e-05/0.5462, allocations: 8 kB / 0.5725 GB, free: 2.453 MB / 362.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001286/0.5463, allocations: 160 kB / 0.5726 GB, free: 2.305 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/0.5463, allocations: 23.72 kB / 0.5726 GB, free: 2.281 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005683/0.5469, allocations: 312.4 kB / 0.5729 GB, free: 2.035 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.5469, allocations: 11.97 kB / 0.573 GB, free: 2.023 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.5469, allocations: 0 / 0.573 GB, free: 2.023 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.547, allocations: 3.938 kB / 0.573 GB, free: 2.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007274/0.5477, allocations: 0.6981 MB / 0.5736 GB, free: 1.391 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5477, allocations: 0 / 0.5736 GB, free: 1.391 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.5479, allocations: 35.92 kB / 0.5737 GB, free: 1.355 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.5479, allocations: 0 / 0.5737 GB, free: 1.355 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.5479, allocations: 11.61 kB / 0.5737 GB, free: 1.348 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.5479, allocations: 0 / 0.5737 GB, free: 1.348 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5479, allocations: 0 / 0.5737 GB, free: 1.348 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000685/0.5486, allocations: 0.4971 MB / 0.5742 GB, free: 0.9336 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.528e-05/0.5487, allocations: 104.8 kB / 0.5743 GB, free: 0.8125 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.377e-05/0.5487, allocations: 7.625 kB / 0.5743 GB, free: 0.8086 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.5489, allocations: 15.92 kB / 0.5743 GB, free: 0.793 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.382e-05/0.5489, allocations: 26.78 kB / 0.5743 GB, free: 0.7695 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.549, allocations: 11.31 kB / 0.5743 GB, free: 0.7617 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001277/0.5491, allocations: 188.9 kB / 0.5745 GB, free: 0.6016 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5491, allocations: 0 / 0.5745 GB, free: 0.6016 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003195/0.5494, allocations: 78.95 kB / 0.5746 GB, free: 0.5312 MB / 362.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) * 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 (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.0009842/0.5504, allocations: 1.011 MB / 0.5756 GB, free: 15.58 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005185/0.551, allocations: 277.5 kB / 0.5758 GB, free: 15.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.551, allocations: 3.938 kB / 0.5758 GB, free: 15.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002172/0.5512, allocations: 116.9 kB / 0.5759 GB, free: 15.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.5515, allocations: 28.86 kB / 0.576 GB, free: 15.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002823/0.5543, allocations: 2.417 MB / 0.5783 GB, free: 13 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004061/0.5547, allocations: 0.8023 MB / 0.5791 GB, free: 12.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.815e-05/0.5548, allocations: 17.55 kB / 0.5791 GB, free: 12.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.555, allocations: 102.3 kB / 0.5792 GB, free: 12.14 MB / 378.7 MB Notification: Performance of SimCode: time 1.012e-06/0.555, allocations: 0 / 0.5792 GB, free: 12.14 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01932/0.5743, allocations: 4.362 MB / 0.5835 GB, free: 7.918 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002266/0.5746, allocations: 193.4 kB / 0.5837 GB, free: 7.672 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.957/2.532, allocations: 0 / 0.5837 GB, free: 7.672 MB / 378.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_SystemDynamics_SystemDynamics_IntroductoryExamples_Hair_Lynx_Interaction_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-10 SystemDynamics_SystemDynamics_IntroductoryExamples_Hair_Lynx_Interaction.fmu > SystemDynamics_SystemDynamics.IntroductoryExamples.Hair_Lynx_Interaction.pipe 2>&1)