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.0009455/0.0009453, allocations: 169 kB / 12.72 MB, free: 2.586 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.477/1.477, allocations: 221.4 MB / 234.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009906/0.0009906, allocations: 86.72 kB / 285.6 MB, free: 12.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.4712/0.4712, allocations: 28.82 MB / 365.3 MB, free: 42.05 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 2.896e-05/2.925e-05, allocations: 3.984 kB / 430.8 MB, free: 4.316 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1423, allocations: 57.48 MB / 488.2 MB, free: 10.77 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.477/0.6193, allocations: 80.19 MB / 0.5551 GB, free: 24.78 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/0.6196, allocations: 61.03 kB / 0.5552 GB, free: 24.76 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01483/0.6345, allocations: 4.706 MB / 0.5598 GB, free: 22.14 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.6345, allocations: 0 / 0.5598 GB, free: 22.14 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.277e-05/0.6345, allocations: 8 kB / 0.5598 GB, free: 22.13 MB / 394.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.001187/0.6357, allocations: 0.5852 MB / 0.5603 GB, free: 21.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.04e-05/0.6358, allocations: 12.03 kB / 0.5604 GB, free: 21.56 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002066/0.636, allocations: 75 kB / 0.5604 GB, free: 21.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/0.6362, allocations: 39.53 kB / 0.5605 GB, free: 21.46 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004797/0.6367, allocations: 292.3 kB / 0.5607 GB, free: 21.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.645e-05/0.6367, allocations: 27.78 kB / 0.5608 GB, free: 21.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.083e-05/0.6368, allocations: 32.22 kB / 0.5608 GB, free: 21.14 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007382/0.6376, allocations: 337.2 kB / 0.5611 GB, free: 20.92 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/0.6376, allocations: 5 kB / 0.5611 GB, free: 20.92 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.573e-05/0.6377, allocations: 14.58 kB / 0.5611 GB, free: 20.91 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.6377, allocations: 8 kB / 0.5611 GB, free: 20.91 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005077/0.6382, allocations: 223.3 kB / 0.5614 GB, free: 20.77 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001769/0.64, allocations: 1.172 MB / 0.5625 GB, free: 19.85 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003508/0.6404, allocations: 205.2 kB / 0.5627 GB, free: 19.72 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.6405, allocations: 93.25 kB / 0.5628 GB, free: 19.66 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.161e-05/0.6406, allocations: 14.23 kB / 0.5628 GB, free: 19.65 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002586/0.6409, allocations: 156.5 kB / 0.5629 GB, free: 19.54 MB / 394.7 MB Notification: Performance of pre-optimization done (n=18): time 1.733e-06/0.6409, allocations: 0 / 0.5629 GB, free: 19.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004912/0.6414, allocations: 226.6 kB / 0.5632 GB, free: 19.39 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.6414, allocations: 56.72 kB / 0.5632 GB, free: 19.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002633/0.6417, allocations: 236.3 kB / 0.5634 GB, free: 19.14 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.6417, allocations: 33.48 kB / 0.5635 GB, free: 19.1 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.6419, allocations: 214.3 kB / 0.5637 GB, free: 18.95 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.28e-05/0.6419, allocations: 58.48 kB / 0.5637 GB, free: 18.9 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.256e-05/0.642, allocations: 3.625 kB / 0.5637 GB, free: 18.9 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.6421, allocations: 342.8 kB / 0.5641 GB, free: 18.58 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.6422, allocations: 83.7 kB / 0.5641 GB, free: 18.53 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.6424, allocations: 124.8 kB / 0.5643 GB, free: 18.43 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.6426, allocations: 117.5 kB / 0.5644 GB, free: 18.35 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.6426, allocations: 0 / 0.5644 GB, free: 18.35 MB / 394.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004756/0.6431, allocations: 305.1 kB / 0.5647 GB, free: 18.12 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.601e-05/0.6431, allocations: 32.89 kB / 0.5647 GB, free: 18.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.6432, allocations: 6.391 kB / 0.5647 GB, free: 18.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.6432, allocations: 0.5 kB / 0.5647 GB, free: 18.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.6434, allocations: 41.62 kB / 0.5647 GB, free: 18.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614e-05/0.6434, allocations: 5.578 kB / 0.5648 GB, free: 18.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001608/0.6436, allocations: 29.83 kB / 0.5648 GB, free: 18.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.537e-05/0.6437, allocations: 21.31 kB / 0.5648 GB, free: 18.01 MB / 394.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.023e-05/0.6438, allocations: 119.2 kB / 0.5649 GB, free: 17.89 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.59e-05/0.6438, allocations: 29.03 kB / 0.5649 GB, free: 17.86 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004784/0.6443, allocations: 274.4 kB / 0.5652 GB, free: 17.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.6443, allocations: 1.453 kB / 0.5652 GB, free: 17.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.6443, allocations: 4.875 kB / 0.5652 GB, free: 17.69 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.6443, allocations: 4 kB / 0.5652 GB, free: 17.69 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007705/0.6451, allocations: 0.653 MB / 0.5659 GB, free: 17.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.6451, allocations: 0 / 0.5659 GB, free: 17.19 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/0.6453, allocations: 42.83 kB / 0.5659 GB, free: 17.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.381e-06/0.6454, allocations: 0 / 0.5659 GB, free: 17.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/0.6454, allocations: 7.25 kB / 0.5659 GB, free: 17.15 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.6454, allocations: 1.312 kB / 0.5659 GB, free: 17.15 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.6454, allocations: 0 / 0.5659 GB, free: 17.15 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005533/0.646, allocations: 454.5 kB / 0.5663 GB, free: 16.83 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.456e-05/0.646, allocations: 110.3 kB / 0.5664 GB, free: 16.7 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.76e-05/0.6461, allocations: 7.75 kB / 0.5664 GB, free: 16.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.6463, allocations: 15.53 kB / 0.5665 GB, free: 16.69 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.445e-05/0.6464, allocations: 20.48 kB / 0.5665 GB, free: 16.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-05/0.6464, allocations: 11.69 kB / 0.5665 GB, free: 16.67 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001964/0.6466, allocations: 191.2 kB / 0.5667 GB, free: 16.52 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6466, allocations: 0 / 0.5667 GB, free: 16.52 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003605/0.647, allocations: 72.09 kB / 0.5667 GB, free: 16.46 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.0008139/0.6478, allocations: 0.9511 MB / 0.5677 GB, free: 15.59 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003598/0.6482, allocations: 239.6 kB / 0.5679 GB, free: 15.4 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.6482, allocations: 7.812 kB / 0.5679 GB, free: 15.39 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.6483, allocations: 86.3 kB / 0.568 GB, free: 15.33 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.6486, allocations: 38.56 kB / 0.568 GB, free: 15.31 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.6498, allocations: 0.5023 MB / 0.5685 GB, free: 14.88 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.6501, allocations: 0.7977 MB / 0.5693 GB, free: 14.11 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.999e-05/0.6502, allocations: 20.34 kB / 0.5693 GB, free: 14.1 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.6503, allocations: 100.3 kB / 0.5694 GB, free: 14.09 MB / 394.7 MB Notification: Performance of SimCode: time 1.733e-06/0.6503, allocations: 3.938 kB / 0.5694 GB, free: 14.09 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02147/0.6718, allocations: 4.402 MB / 0.5737 GB, free: 11.25 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002074/0.6721, allocations: 167.7 kB / 0.5739 GB, free: 11.02 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.931/2.603, allocations: 4 kB / 0.5739 GB, free: 11.02 MB / 394.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)