Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package ModelicaByExample with version 0.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00101/0.00101, allocations: 181.8 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.383/1.383, allocations: 194.3 MB / 207.5 MB, free: 3.391 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03597/0.03597, allocations: 7.899 MB / 260.4 MB, free: 13.79 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001754/0.001754, allocations: 116.4 kB / 307.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.391e-05/4.393e-05, allocations: 7.938 kB / 361.3 MB, free: 8.605 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.31, allocations: 46.19 MB / 407.5 MB, free: 67.02 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.123/0.4331, allocations: 71.15 MB / 478.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001866/0.4333, allocations: 51.97 kB / 478.7 MB, free: 11.72 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007226/0.4406, allocations: 2.881 MB / 481.6 MB, free: 8.84 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4406, allocations: 0 / 481.6 MB, free: 8.84 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.4406, allocations: 4 kB / 481.6 MB, free: 8.836 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0005147/0.4411, allocations: 428.9 kB / 482 MB, free: 8.371 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.4412, allocations: 11.97 kB / 482.1 MB, free: 8.359 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.366e-05/0.4413, allocations: 54.73 kB / 482.1 MB, free: 8.297 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.766e-05/0.4413, allocations: 27.75 kB / 482.1 MB, free: 8.27 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.4416, allocations: 218.7 kB / 482.4 MB, free: 8.016 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.4416, allocations: 12.38 kB / 482.4 MB, free: 8.004 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.973e-05/0.4417, allocations: 20 kB / 482.4 MB, free: 7.984 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000339/0.442, allocations: 160.4 kB / 482.5 MB, free: 7.824 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.442, allocations: 0 / 482.5 MB, free: 7.824 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.884e-05/0.4421, allocations: 8 kB / 482.5 MB, free: 7.816 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.4421, allocations: 4 kB / 482.6 MB, free: 7.812 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002074/0.4423, allocations: 107.7 kB / 482.7 MB, free: 7.707 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009181/0.4432, allocations: 0.5897 MB / 483.2 MB, free: 7.066 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.4435, allocations: 114.6 kB / 483.4 MB, free: 6.945 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.4436, allocations: 77.12 kB / 483.4 MB, free: 6.867 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.4436, allocations: 3.938 kB / 483.4 MB, free: 6.863 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.4436, allocations: 34.56 kB / 483.5 MB, free: 6.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/0.4436, allocations: 0 / 483.5 MB, free: 6.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002998/0.4439, allocations: 141.5 kB / 483.6 MB, free: 6.676 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.444, allocations: 55.41 kB / 483.7 MB, free: 6.609 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.4441, allocations: 112.8 kB / 483.8 MB, free: 6.496 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.4441, allocations: 33.64 kB / 483.8 MB, free: 6.457 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.931e-05/0.4443, allocations: 132.2 kB / 483.9 MB, free: 6.324 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.245e-05/0.4443, allocations: 51.2 kB / 484 MB, free: 6.273 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.215e-06/0.4443, allocations: 4 kB / 484 MB, free: 6.27 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.4445, allocations: 322.8 kB / 484.3 MB, free: 5.945 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.529e-05/0.4445, allocations: 40 kB / 484.3 MB, free: 5.906 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.378e-05/0.4446, allocations: 40 kB / 484.4 MB, free: 5.867 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.99e-05/0.4447, allocations: 51.33 kB / 484.4 MB, free: 5.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.4447, allocations: 0 / 484.4 MB, free: 5.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002032/0.4449, allocations: 149.4 kB / 484.6 MB, free: 5.668 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.445, allocations: 4 kB / 484.6 MB, free: 5.664 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.445, allocations: 0 / 484.6 MB, free: 5.664 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.445, allocations: 4 kB / 484.6 MB, free: 5.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.4452, allocations: 31.97 kB / 484.6 MB, free: 5.629 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.4452, allocations: 7.938 kB / 484.6 MB, free: 5.621 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.377e-05/0.4452, allocations: 11.94 kB / 484.6 MB, free: 5.609 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.4453, allocations: 8 kB / 484.6 MB, free: 5.602 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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 7.815e-05/0.4453, allocations: 108.9 kB / 484.8 MB, free: 5.488 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.4454, allocations: 15.81 kB / 484.8 MB, free: 5.473 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.648e-05/0.4454, allocations: 20.69 kB / 484.8 MB, free: 5.449 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.4455, allocations: 4 kB / 484.8 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.4455, allocations: 4 kB / 484.8 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.4455, allocations: 7.938 kB / 484.8 MB, free: 5.434 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002833/0.4458, allocations: 261.6 kB / 485.1 MB, free: 5.129 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.4458, allocations: 4 kB / 485.1 MB, free: 5.125 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/0.4459, allocations: 27.98 kB / 485.1 MB, free: 5.098 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.446, allocations: 0 / 485.1 MB, free: 5.098 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.446, allocations: 4 kB / 485.1 MB, free: 5.094 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.446, allocations: 0 / 485.1 MB, free: 5.094 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.446, allocations: 3.938 kB / 485.1 MB, free: 5.09 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003493/0.4463, allocations: 295.2 kB / 485.4 MB, free: 4.785 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.638e-05/0.4464, allocations: 88.95 kB / 485.5 MB, free: 4.68 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.4464, allocations: 4 kB / 485.5 MB, free: 4.676 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.798e-05/0.4465, allocations: 8 kB / 485.5 MB, free: 4.668 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.324e-05/0.4465, allocations: 8.125 kB / 485.5 MB, free: 4.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.4466, allocations: 4 kB / 485.5 MB, free: 4.656 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.129e-05/0.4466, allocations: 103 kB / 485.6 MB, free: 4.559 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4466, allocations: 0 / 485.6 MB, free: 4.559 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002247/0.4469, allocations: 35.83 kB / 485.6 MB, free: 4.523 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (rabbits.population,foxes.population,wolves.population) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0006498/0.4475, allocations: 0.8332 MB / 486.5 MB, free: 3.664 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002189/0.4478, allocations: 110.9 kB / 486.6 MB, free: 3.559 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4478, allocations: 0 / 486.6 MB, free: 3.559 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.483e-05/0.4479, allocations: 63.88 kB / 486.6 MB, free: 3.496 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.4481, allocations: 19.98 kB / 486.7 MB, free: 3.477 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006886/0.4488, allocations: 289.6 kB / 486.9 MB, free: 3.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.4492, allocations: 0.7279 MB / 487.7 MB, free: 2.402 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.493e-05/0.4493, allocations: 8.875 kB / 487.7 MB, free: 2.387 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.413e-05/0.4494, allocations: 43.42 kB / 487.7 MB, free: 2.344 MB / 330.7 MB Notification: Performance of SimCode: time 6.52e-07/0.4494, allocations: 4 kB / 487.7 MB, free: 2.34 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01322/0.4626, allocations: 2.461 MB / 490.2 MB, free: 15.98 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001916/0.4628, allocations: 171.6 kB / 490.4 MB, free: 15.77 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.552/2.015, allocations: 0 / 490.4 MB, free: 15.77 MB / 346.7 MB (rm -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies.fmu > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe 2>&1)