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.005194/0.005194, allocations: 174.3 kB / 15.12 MB, free: 5.973 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.284/1.284, allocations: 194.5 MB / 210.3 MB, free: 8.598 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03868/0.03868, allocations: 8.088 MB / 263.6 MB, free: 3.211 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.001735/0.001735, allocations: 120 kB / 310.6 MB, free: 27.15 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.0003662, allocations: 12 kB / 367.4 MB, free: 2.328 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2481, allocations: 46.2 MB / 413.6 MB, free: 47.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08723/0.3354, allocations: 71.32 MB / 484.9 MB, free: 14.46 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001668/0.3356, allocations: 47.98 kB / 484.9 MB, free: 14.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008602/0.3442, allocations: 3.599 MB / 488.5 MB, free: 10.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3442, allocations: 0 / 488.5 MB, free: 10.82 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.54e-05/0.3443, allocations: 8 kB / 488.5 MB, free: 10.82 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.0004956/0.3448, allocations: 439.1 kB / 489 MB, free: 10.34 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.3448, allocations: 8.031 kB / 489 MB, free: 10.33 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.29e-05/0.3449, allocations: 50.55 kB / 489 MB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.251e-05/0.3449, allocations: 19.81 kB / 489 MB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.3452, allocations: 226.8 kB / 489.3 MB, free: 9.988 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.3452, allocations: 12.38 kB / 489.3 MB, free: 9.977 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.548e-05/0.3453, allocations: 23.94 kB / 489.3 MB, free: 9.953 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002775/0.3455, allocations: 164.4 kB / 489.4 MB, free: 9.789 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.3456, allocations: 0 / 489.4 MB, free: 9.789 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.3456, allocations: 12 kB / 489.5 MB, free: 9.777 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.3456, allocations: 4 kB / 489.5 MB, free: 9.773 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001941/0.3458, allocations: 107.7 kB / 489.6 MB, free: 9.668 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007895/0.3466, allocations: 0.578 MB / 490.1 MB, free: 9.039 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.3468, allocations: 118.5 kB / 490.3 MB, free: 8.914 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.3468, allocations: 4 kB / 490.3 MB, free: 8.91 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.971e-05/0.3469, allocations: 34.55 kB / 490.3 MB, free: 8.867 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.3469, allocations: 0 / 490.3 MB, free: 8.867 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003273/0.3472, allocations: 183.6 kB / 490.5 MB, free: 8.684 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.3473, allocations: 59.36 kB / 490.5 MB, free: 8.613 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.26e-05/0.3474, allocations: 113.8 kB / 490.6 MB, free: 8.496 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.3474, allocations: 33.7 kB / 490.7 MB, free: 8.457 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.906e-05/0.3475, allocations: 124.2 kB / 490.8 MB, free: 8.332 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.321e-05/0.3475, allocations: 55.19 kB / 490.9 MB, free: 8.277 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.347e-06/0.3475, allocations: 11.94 kB / 490.9 MB, free: 8.266 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.3477, allocations: 318.8 kB / 491.2 MB, free: 7.945 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.411e-05/0.3477, allocations: 40 kB / 491.2 MB, free: 7.906 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.148e-05/0.3478, allocations: 41.39 kB / 491.3 MB, free: 7.867 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.695e-05/0.3479, allocations: 54.39 kB / 491.3 MB, free: 7.816 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3479, allocations: 0 / 491.3 MB, free: 7.816 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000522/0.3484, allocations: 254 kB / 491.6 MB, free: 7.559 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3484, allocations: 4 kB / 491.6 MB, free: 7.555 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.3484, allocations: 4 kB / 491.6 MB, free: 7.551 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005167/0.349, allocations: 140.7 kB / 491.7 MB, free: 7.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.178e-05/0.349, allocations: 19.92 kB / 491.7 MB, free: 7.391 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002136/0.3512, allocations: 1.913 MB / 493.6 MB, free: 5.344 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.743e-05/0.3512, allocations: 11.84 kB / 493.7 MB, free: 5.332 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.3513, allocations: 4.047 kB / 493.7 MB, free: 5.328 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 () * Number of clocked 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 0.0001316/0.3514, allocations: 132.5 kB / 493.8 MB, free: 5.191 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.811e-05/0.3514, allocations: 15.86 kB / 493.8 MB, free: 5.176 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.944e-05/0.3515, allocations: 16.5 kB / 493.8 MB, free: 5.164 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3515, allocations: 4 kB / 493.8 MB, free: 5.16 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.614e-06/0.3515, allocations: 0 / 493.8 MB, free: 5.16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.3515, allocations: 0 / 493.8 MB, free: 5.16 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000295/0.3518, allocations: 273.5 kB / 494.1 MB, free: 4.844 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3518, allocations: 0 / 494.1 MB, free: 4.844 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.352, allocations: 27.92 kB / 494.1 MB, free: 4.816 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.352, allocations: 7.953 kB / 494.1 MB, free: 4.809 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.352, allocations: 8 kB / 494.1 MB, free: 4.801 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.352, allocations: 0 / 494.1 MB, free: 4.801 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3521, allocations: 0 / 494.1 MB, free: 4.801 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002903/0.3523, allocations: 283.9 kB / 494.4 MB, free: 4.508 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.147e-05/0.3524, allocations: 92.98 kB / 494.5 MB, free: 4.398 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.3524, allocations: 3.953 kB / 494.5 MB, free: 4.395 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.589e-05/0.3525, allocations: 8 kB / 494.5 MB, free: 4.387 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.275e-05/0.3525, allocations: 7.984 kB / 494.5 MB, free: 4.379 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.3525, allocations: 8 kB / 494.5 MB, free: 4.371 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.88e-05/0.3526, allocations: 97.38 kB / 494.6 MB, free: 4.277 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3526, allocations: 0 / 494.6 MB, free: 4.277 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000256/0.3529, allocations: 43.84 kB / 494.7 MB, free: 4.234 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 () * Number of clocked 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.0005377/0.3534, allocations: 0.8229 MB / 495.5 MB, free: 3.383 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004572/0.3539, allocations: 304.1 kB / 495.8 MB, free: 3.074 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3539, allocations: 0 / 495.8 MB, free: 3.074 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.919e-05/0.354, allocations: 59.92 kB / 495.8 MB, free: 3.016 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.3542, allocations: 28.77 kB / 495.9 MB, free: 2.988 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.3556, allocations: 0.9854 MB / 496.9 MB, free: 1.953 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.3559, allocations: 0.7321 MB / 497.6 MB, free: 1.195 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.521e-05/0.356, allocations: 8.844 kB / 497.6 MB, free: 1.188 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.054e-05/0.356, allocations: 47.42 kB / 497.6 MB, free: 1.141 MB / 330.7 MB Notification: Performance of SimCode: time 3.3e-07/0.3561, allocations: 0 / 497.6 MB, free: 1.141 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01582/0.3719, allocations: 3.484 MB / 0.4894 GB, free: 13.82 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002175/0.3721, allocations: 244 kB / 0.4896 GB, free: 13.57 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.511/1.883, allocations: 4 kB / 0.4896 GB, free: 13.57 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)