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.001746/0.001746, allocations: 179.4 kB / 7.652 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.597/1.597, allocations: 194.4 MB / 202.4 MB, free: 12.96 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03781/0.03781, allocations: 7.903 MB / 255.2 MB, free: 8.188 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.001562/0.001562, allocations: 119.7 kB / 301.9 MB, free: 32.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.911e-05/1.921e-05, allocations: 4 kB / 354.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3126, allocations: 46.18 MB / 400.6 MB, free: 46.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1003/0.413, allocations: 70.57 MB / 471.1 MB, free: 4.273 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001722/0.4132, allocations: 51.97 kB / 471.2 MB, free: 4.223 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008682/0.4219, allocations: 3.564 MB / 474.8 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4219, allocations: 0 / 474.8 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.83e-05/0.4219, allocations: 8 kB / 474.8 MB, free: 0.7031 MB / 314.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.0005031/0.4225, allocations: 424 kB / 475.2 MB, free: 252 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.4225, allocations: 8.031 kB / 475.2 MB, free: 244 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.231e-05/0.4226, allocations: 29.53 kB / 475.2 MB, free: 216 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.4228, allocations: 219.5 kB / 475.4 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.4229, allocations: 4.625 kB / 475.4 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.947e-05/0.4229, allocations: 15.91 kB / 475.5 MB, free: 15.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002159/0.4231, allocations: 97.39 kB / 475.5 MB, free: 15.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.4234, allocations: 137.9 kB / 475.7 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.4234, allocations: 0 / 475.7 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.4234, allocations: 0 / 475.7 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.4234, allocations: 4 kB / 475.7 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007961/0.4242, allocations: 0.5338 MB / 476.2 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/0.4245, allocations: 115.9 kB / 476.3 MB, free: 15.02 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.713e-05/0.4246, allocations: 70.61 kB / 476.4 MB, free: 14.95 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.4246, allocations: 0.7812 kB / 476.4 MB, free: 14.95 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.929e-05/0.4247, allocations: 39.38 kB / 476.4 MB, free: 14.9 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/0.4247, allocations: 0 / 476.4 MB, free: 14.9 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002727/0.425, allocations: 130.3 kB / 476.6 MB, free: 14.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.425, allocations: 55.83 kB / 476.6 MB, free: 14.7 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.4251, allocations: 116.6 kB / 476.7 MB, free: 14.59 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.4252, allocations: 25.7 kB / 476.8 MB, free: 14.55 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.336e-05/0.4252, allocations: 129 kB / 476.9 MB, free: 14.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.96e-05/0.4253, allocations: 56.17 kB / 476.9 MB, free: 14.37 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-06/0.4253, allocations: 0 / 476.9 MB, free: 14.37 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.4255, allocations: 323.9 kB / 477.3 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.199e-05/0.4255, allocations: 36.72 kB / 477.3 MB, free: 14.01 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.259e-05/0.4256, allocations: 36 kB / 477.3 MB, free: 13.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.684e-05/0.4257, allocations: 40.73 kB / 477.4 MB, free: 13.94 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.4257, allocations: 0 / 477.4 MB, free: 13.94 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005431/0.4262, allocations: 233.1 kB / 477.6 MB, free: 13.7 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.4263, allocations: 12.88 kB / 477.6 MB, free: 13.69 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.892e-06/0.4263, allocations: 0.75 kB / 477.6 MB, free: 13.69 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005272/0.4268, allocations: 127.6 kB / 477.7 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.575e-05/0.4269, allocations: 15.39 kB / 477.8 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002066/0.429, allocations: 1.8 MB / 479.6 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.207e-05/0.429, allocations: 7.844 kB / 479.6 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.429, allocations: 7.469 kB / 479.6 MB, free: 11.64 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 9.245e-05/0.4291, allocations: 109.8 kB / 479.7 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002025/0.4293, allocations: 130.4 kB / 479.8 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/0.4294, allocations: 16.7 kB / 479.8 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.24e-05/0.4294, allocations: 15.38 kB / 479.8 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.4295, allocations: 5.344 kB / 479.8 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.4295, allocations: 112 / 479.8 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.4295, allocations: 3.938 kB / 479.8 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002664/0.4297, allocations: 238 kB / 480.1 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.4298, allocations: 0 / 480.1 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.4299, allocations: 27.98 kB / 480.1 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4299, allocations: 0 / 480.1 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.43, allocations: 7.453 kB / 480.1 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.43, allocations: 4 kB / 480.1 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.43, allocations: 0 / 480.1 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002824/0.4303, allocations: 283.5 kB / 480.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.021e-05/0.4303, allocations: 89.02 kB / 480.5 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.4303, allocations: 0 / 480.5 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.344e-05/0.4304, allocations: 3.953 kB / 480.5 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-05/0.4304, allocations: 11.98 kB / 480.5 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.4305, allocations: 4 kB / 480.5 MB, free: 10.64 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.048e-05/0.4305, allocations: 91.28 kB / 480.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4305, allocations: 0 / 480.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000247/0.4308, allocations: 35.78 kB / 480.6 MB, free: 10.52 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.0005732/0.4314, allocations: 0.8099 MB / 481.4 MB, free: 9.68 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004294/0.4318, allocations: 260.3 kB / 481.7 MB, free: 9.418 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.4318, allocations: 0 / 481.7 MB, free: 9.418 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.53e-05/0.4319, allocations: 55.94 kB / 481.7 MB, free: 9.363 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.4322, allocations: 31.5 kB / 481.8 MB, free: 9.336 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006081/0.4328, allocations: 292.4 kB / 482.1 MB, free: 9.016 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.4331, allocations: 0.733 MB / 482.8 MB, free: 8.254 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.254e-05/0.4331, allocations: 18.83 kB / 482.8 MB, free: 8.23 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.17e-05/0.4332, allocations: 43.42 kB / 482.8 MB, free: 8.188 MB / 330.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4332, allocations: 0 / 482.8 MB, free: 8.188 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02311/0.4563, allocations: 3.083 MB / 485.9 MB, free: 5.223 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002318/0.4566, allocations: 174.7 kB / 486.1 MB, free: 5.027 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.48/1.937, allocations: 4 kB / 486.1 MB, free: 5.023 MB / 330.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)