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.00183/0.00183, allocations: 180.9 kB / 7.65 MB, free: 1.422 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.547/1.547, allocations: 221.5 MB / 229.6 MB, free: 7.578 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.001038/0.001038, allocations: 89.67 kB / 280.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.1867/0.1867, allocations: 28.84 MB / 360.1 MB, free: 2.207 MB / 250.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 1.814e-05/1.825e-05, allocations: 0 / 423.9 MB, free: 32.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1186, allocations: 57.5 MB / 481.4 MB, free: 6.734 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4163/0.535, allocations: 79.53 MB / 0.5477 GB, free: 10.99 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000136/0.5351, allocations: 71.11 kB / 0.5478 GB, free: 10.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01084/0.546, allocations: 4.667 MB / 0.5524 GB, free: 10.35 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.546, allocations: 0 / 0.5524 GB, free: 10.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.733e-05/0.5461, allocations: 7.562 kB / 0.5524 GB, free: 10.35 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.0006795/0.5468, allocations: 0.5848 MB / 0.5529 GB, free: 9.875 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.5468, allocations: 15.45 kB / 0.553 GB, free: 9.871 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.463e-05/0.5469, allocations: 46.66 kB / 0.553 GB, free: 9.844 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/0.5472, allocations: 280.1 kB / 0.5533 GB, free: 9.609 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.5472, allocations: 11.56 kB / 0.5533 GB, free: 9.609 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.437e-05/0.5473, allocations: 19.34 kB / 0.5533 GB, free: 9.609 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003012/0.5476, allocations: 195.9 kB / 0.5535 GB, free: 9.609 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003917/0.548, allocations: 284.9 kB / 0.5538 GB, free: 9.523 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.548, allocations: 352 / 0.5538 GB, free: 9.523 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.625e-05/0.548, allocations: 14.19 kB / 0.5538 GB, free: 9.512 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.548, allocations: 7.969 kB / 0.5538 GB, free: 9.512 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.5492, allocations: 1.109 MB / 0.5549 GB, free: 8.707 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.5494, allocations: 192.3 kB / 0.555 GB, free: 8.664 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.5495, allocations: 88.27 kB / 0.5551 GB, free: 8.648 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.815e-05/0.5496, allocations: 15.55 kB / 0.5551 GB, free: 8.645 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001992/0.5498, allocations: 158.2 kB / 0.5553 GB, free: 8.555 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 1.663e-06/0.5498, allocations: 0 / 0.5553 GB, free: 8.555 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.0003836/0.5502, allocations: 217.4 kB / 0.5555 GB, free: 8.484 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.18e-05/0.5502, allocations: 63.2 kB / 0.5556 GB, free: 8.414 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.5504, allocations: 218.7 kB / 0.5558 GB, free: 8.305 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.5504, allocations: 25.7 kB / 0.5558 GB, free: 8.273 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.077e-05/0.5505, allocations: 209.3 kB / 0.556 GB, free: 8.125 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/0.5506, allocations: 61.17 kB / 0.5561 GB, free: 8.082 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.201e-05/0.5506, allocations: 0 / 0.5561 GB, free: 8.082 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.723e-05/0.5506, allocations: 340.5 kB / 0.5564 GB, free: 7.758 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.5507, allocations: 81.45 kB / 0.5565 GB, free: 7.746 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.5509, allocations: 116.8 kB / 0.5566 GB, free: 7.688 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.551, allocations: 93.56 kB / 0.5567 GB, free: 7.668 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.551, allocations: 0 / 0.5567 GB, free: 7.668 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003318/0.5514, allocations: 267.4 kB / 0.5569 GB, free: 7.582 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/0.5514, allocations: 33.08 kB / 0.5569 GB, free: 7.551 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.5514, allocations: 3.969 kB / 0.5569 GB, free: 7.551 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.5514, allocations: 0 / 0.5569 GB, free: 7.551 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.5516, allocations: 46.59 kB / 0.557 GB, free: 7.539 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.5516, allocations: 3.875 kB / 0.557 GB, free: 7.539 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.5518, allocations: 24.48 kB / 0.557 GB, free: 7.527 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.342e-05/0.5518, allocations: 14.66 kB / 0.557 GB, free: 7.527 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 () * 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 6.612e-05/0.5519, allocations: 112.9 kB / 0.5571 GB, free: 7.41 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002886/0.5522, allocations: 226.4 kB / 0.5574 GB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.5522, allocations: 27.25 kB / 0.5574 GB, free: 7.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003667/0.5526, allocations: 255.2 kB / 0.5576 GB, free: 7.242 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.5526, allocations: 3.719 kB / 0.5576 GB, free: 7.242 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.5526, allocations: 0 / 0.5576 GB, free: 7.242 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.5526, allocations: 0 / 0.5576 GB, free: 7.242 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005096/0.5532, allocations: 0.5994 MB / 0.5582 GB, free: 6.879 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.5532, allocations: 4 kB / 0.5582 GB, free: 6.875 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/0.5534, allocations: 39.11 kB / 0.5583 GB, free: 6.863 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.5534, allocations: 0 / 0.5583 GB, free: 6.863 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.5534, allocations: 10.98 kB / 0.5583 GB, free: 6.859 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.5534, allocations: 0 / 0.5583 GB, free: 6.859 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.5534, allocations: 0 / 0.5583 GB, free: 6.859 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004206/0.5538, allocations: 433.9 kB / 0.5587 GB, free: 6.672 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.545e-05/0.5539, allocations: 104.6 kB / 0.5588 GB, free: 6.559 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.207e-05/0.5539, allocations: 0 / 0.5588 GB, free: 6.559 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.5541, allocations: 14.98 kB / 0.5588 GB, free: 6.555 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.741e-05/0.5541, allocations: 23.52 kB / 0.5588 GB, free: 6.539 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.5542, allocations: 15 kB / 0.5588 GB, free: 6.535 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001153/0.5543, allocations: 175.8 kB / 0.559 GB, free: 6.441 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5543, allocations: 0 / 0.559 GB, free: 6.441 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00032/0.5546, allocations: 65.91 kB / 0.5591 GB, free: 6.418 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) * 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.0005435/0.5552, allocations: 0.9466 MB / 0.56 GB, free: 5.711 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002509/0.5554, allocations: 233.3 kB / 0.5602 GB, free: 5.633 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5554, allocations: 0 / 0.5602 GB, free: 5.633 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.565e-05/0.5555, allocations: 90.11 kB / 0.5603 GB, free: 5.621 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.5558, allocations: 30.39 kB / 0.5603 GB, free: 5.609 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008524/0.5567, allocations: 498.4 kB / 0.5608 GB, free: 5.332 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001864/0.5569, allocations: 0.7989 MB / 0.5616 GB, free: 4.578 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.264e-05/0.557, allocations: 16.83 kB / 0.5616 GB, free: 4.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.994e-05/0.5571, allocations: 94.81 kB / 0.5617 GB, free: 4.555 MB / 362.7 MB Notification: Performance of SimCode: time 3.31e-07/0.5571, allocations: 0 / 0.5617 GB, free: 4.555 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02213/0.5792, allocations: 4.008 MB / 0.5656 GB, free: 2.676 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002139/0.5795, allocations: 149.9 kB / 0.5657 GB, free: 2.48 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.902/2.481, allocations: 0 / 0.5657 GB, free: 2.48 MB / 362.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)