Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent.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.ThreeSpecies_Quiescent,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThreeSpecies_Quiescent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThreeSpecies_Quiescent",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.001337/0.001337, allocations: 182 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.411/1.411, allocations: 194.3 MB / 207.5 MB, free: 3.395 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03532/0.03532, allocations: 7.909 MB / 260.4 MB, free: 13.77 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.001695/0.001695, allocations: 124.3 kB / 307.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.8e-05/3.802e-05, allocations: 7.984 kB / 361.3 MB, free: 8.598 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2665, allocations: 46.19 MB / 407.5 MB, free: 66.93 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08614/0.3527, allocations: 71.24 MB / 478.8 MB, free: 11.59 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001643/0.3529, allocations: 47.92 kB / 478.8 MB, free: 11.55 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008782/0.3617, allocations: 3.586 MB / 482.4 MB, free: 7.953 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3617, allocations: 0 / 482.4 MB, free: 7.953 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.3617, allocations: 12 kB / 482.4 MB, free: 7.941 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.0005449/0.3623, allocations: 426.3 kB / 482.8 MB, free: 7.477 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.3624, allocations: 8.031 kB / 482.8 MB, free: 7.469 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.085e-05/0.3624, allocations: 46.73 kB / 482.9 MB, free: 7.414 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.229e-05/0.3625, allocations: 19.81 kB / 482.9 MB, free: 7.395 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.3627, allocations: 234.3 kB / 483.1 MB, free: 7.129 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/0.3628, allocations: 12.38 kB / 483.2 MB, free: 7.117 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.19e-05/0.3628, allocations: 24 kB / 483.2 MB, free: 7.094 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002997/0.3631, allocations: 160.3 kB / 483.3 MB, free: 6.934 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.3632, allocations: 4 kB / 483.3 MB, free: 6.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.3632, allocations: 4 kB / 483.3 MB, free: 6.926 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.3632, allocations: 8 kB / 483.3 MB, free: 6.918 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000202/0.3634, allocations: 107.7 kB / 483.5 MB, free: 6.812 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000823/0.3642, allocations: 0.578 MB / 484 MB, free: 6.184 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.3645, allocations: 118.6 kB / 484.1 MB, free: 6.059 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.3646, allocations: 76.86 kB / 484.2 MB, free: 5.98 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.3646, allocations: 4 kB / 484.2 MB, free: 5.977 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.3646, allocations: 30.56 kB / 484.3 MB, free: 5.938 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.3647, allocations: 0 / 484.3 MB, free: 5.938 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.00027/0.3649, allocations: 145.7 kB / 484.4 MB, free: 5.789 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.365, allocations: 51.41 kB / 484.4 MB, free: 5.727 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.096e-05/0.3651, allocations: 113 kB / 484.6 MB, free: 5.609 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.3651, allocations: 37.64 kB / 484.6 MB, free: 5.566 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.465e-05/0.3652, allocations: 136.2 kB / 484.7 MB, free: 5.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.41e-05/0.3652, allocations: 51.19 kB / 484.8 MB, free: 5.379 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.283e-06/0.3653, allocations: 4 kB / 484.8 MB, free: 5.375 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3654, allocations: 322.8 kB / 485.1 MB, free: 5.051 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.612e-05/0.3655, allocations: 40 kB / 485.1 MB, free: 5.008 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.899e-05/0.3655, allocations: 36 kB / 485.2 MB, free: 4.973 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.637e-05/0.3656, allocations: 51.17 kB / 485.2 MB, free: 4.926 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3656, allocations: 0 / 485.2 MB, free: 4.926 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005749/0.3662, allocations: 258 kB / 485.5 MB, free: 4.664 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3662, allocations: 4 kB / 485.5 MB, free: 4.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3663, allocations: 0 / 485.5 MB, free: 4.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005422/0.3668, allocations: 136.7 kB / 485.6 MB, free: 4.523 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.125e-05/0.3669, allocations: 15.92 kB / 485.6 MB, free: 4.508 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002133/0.369, allocations: 1.874 MB / 487.5 MB, free: 2.496 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.267e-05/0.3691, allocations: 11.84 kB / 487.5 MB, free: 2.484 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.3691, allocations: 8 kB / 487.5 MB, free: 2.477 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 (7): * Single equations (assignments): 6 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 8.075e-05/0.3692, allocations: 105 kB / 487.6 MB, free: 2.367 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.345e-05/0.3692, allocations: 15.86 kB / 487.6 MB, free: 2.352 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.271e-05/0.3693, allocations: 16.69 kB / 487.7 MB, free: 2.336 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3693, allocations: 4 kB / 487.7 MB, free: 2.332 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3693, allocations: 4.031 kB / 487.7 MB, free: 2.328 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3693, allocations: 0 / 487.7 MB, free: 2.328 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002814/0.3696, allocations: 269.7 kB / 487.9 MB, free: 2.016 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3696, allocations: 3.938 kB / 487.9 MB, free: 2.012 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/0.3698, allocations: 31.88 kB / 488 MB, free: 1.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3698, allocations: 4 kB / 488 MB, free: 1.977 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.3698, allocations: 7.984 kB / 488 MB, free: 1.969 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3698, allocations: 0 / 488 MB, free: 1.969 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3698, allocations: 0 / 488 MB, free: 1.969 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/0.3701, allocations: 290.9 kB / 488.3 MB, free: 1.672 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.911e-05/0.3702, allocations: 92.95 kB / 488.3 MB, free: 1.562 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.3702, allocations: 11.95 kB / 488.4 MB, free: 1.551 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.19e-05/0.3703, allocations: 0 / 488.4 MB, free: 1.551 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.207e-05/0.3703, allocations: 8.031 kB / 488.4 MB, free: 1.543 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.3703, allocations: 8 kB / 488.4 MB, free: 1.535 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.725e-05/0.3704, allocations: 95.27 kB / 488.5 MB, free: 1.441 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.3704, allocations: 0 / 488.5 MB, free: 1.441 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002371/0.3707, allocations: 43.84 kB / 488.5 MB, free: 1.398 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.0005821/0.3712, allocations: 0.8284 MB / 489.3 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004605/0.3717, allocations: 274.3 kB / 489.6 MB, free: 272 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3717, allocations: 0 / 489.6 MB, free: 272 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.327e-05/0.3718, allocations: 59.92 kB / 489.7 MB, free: 212 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.372, allocations: 36.14 kB / 489.7 MB, free: 180 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005936/0.3726, allocations: 307.1 kB / 490 MB, free: 15.84 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.373, allocations: 0.7324 MB / 490.7 MB, free: 15.08 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.356e-05/0.373, allocations: 8.875 kB / 490.7 MB, free: 15.06 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.826e-05/0.3731, allocations: 47.42 kB / 490.8 MB, free: 15.02 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3731, allocations: 0 / 490.8 MB, free: 15.02 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01768/0.3908, allocations: 3.526 MB / 494.3 MB, free: 11.66 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002432/0.3911, allocations: 208.3 kB / 494.5 MB, free: 11.43 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.622/2.013, allocations: 8 kB / 494.5 MB, free: 11.43 MB / 346.7 MB (rm -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThreeSpecies_Quiescent_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThreeSpecies_Quiescent.fmu > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent.pipe 2>&1)