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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007545/0.007544, allocations: 105.8 kB / 15.74 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001823/0.001823, allocations: 197.8 kB / 16.68 MB, free: 6.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.646/1.646, allocations: 205.1 MB / 222.6 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.0515/0.0515, allocations: 8.121 MB / 278 MB, free: 13.05 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaByExample requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 71.89 kB / 386.2 MB, free: 9.535 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3211, allocations: 48.3 MB / 434.5 MB, free: 7.473 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.003085/0.3242, allocations: 0.7126 MB / 435.2 MB, free: 7.012 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007514/0.325, allocations: 176.3 kB / 435.4 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001595/0.3252, allocations: 2.844 kB / 435.4 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001019/0.3253, allocations: 19.22 kB / 435.4 MB, free: 6.867 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001436/0.3255, allocations: 16.91 kB / 435.4 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.3257, allocations: 56.25 kB / 435.5 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003051/0.3261, allocations: 142 kB / 435.6 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002681/0.3263, allocations: 81.92 kB / 435.7 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.3265, allocations: 60.89 kB / 435.7 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.3266, allocations: 73.58 kB / 435.8 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.055e-05/0.3267, allocations: 18.81 kB / 435.8 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.029e-05/0.3267, allocations: 17.84 kB / 435.9 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.449e-05/0.3268, allocations: 45.62 kB / 435.9 MB, free: 6.605 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.769e-05/0.3269, allocations: 73.31 kB / 436 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003725/0.3273, allocations: 191.9 kB / 436.2 MB, free: 6.473 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.3273, allocations: 0.9375 kB / 436.2 MB, free: 6.473 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3273, allocations: 0 / 436.2 MB, free: 6.473 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.3273, allocations: 4 kB / 436.2 MB, free: 6.469 MB / 318.1 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.001018/0.3284, allocations: 468.4 kB / 436.6 MB, free: 6.035 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.052e-05/0.3284, allocations: 10.31 kB / 436.6 MB, free: 6.035 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.843e-05/0.3285, allocations: 53.64 kB / 436.7 MB, free: 5.984 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.235e-05/0.3286, allocations: 27.12 kB / 436.7 MB, free: 5.969 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003482/0.329, allocations: 216.5 kB / 436.9 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/0.329, allocations: 16.09 kB / 436.9 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.474e-05/0.3291, allocations: 16.28 kB / 436.9 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004845/0.3296, allocations: 170.4 kB / 437.1 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.647e-05/0.3296, allocations: 10.33 kB / 437.1 MB, free: 5.637 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.762e-05/0.3297, allocations: 9.031 kB / 437.1 MB, free: 5.629 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.3297, allocations: 4.781 kB / 437.1 MB, free: 5.629 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003042/0.33, allocations: 112.3 kB / 437.2 MB, free: 5.59 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.3312, allocations: 0.5746 MB / 437.8 MB, free: 5.176 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.3315, allocations: 125.4 kB / 437.9 MB, free: 5.109 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.3317, allocations: 82.55 kB / 438 MB, free: 5.066 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.3317, allocations: 2.219 kB / 438 MB, free: 5.066 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.3318, allocations: 32.34 kB / 438.1 MB, free: 5.027 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 2.214e-06/0.3318, allocations: 5.062 kB / 438.1 MB, free: 5.023 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004865/0.3323, allocations: 186.5 kB / 438.2 MB, free: 4.926 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.3323, allocations: 57.38 kB / 438.3 MB, free: 4.859 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.3324, allocations: 126.1 kB / 438.4 MB, free: 4.75 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.3325, allocations: 31.83 kB / 438.5 MB, free: 4.715 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.083e-05/0.3325, allocations: 131.6 kB / 438.6 MB, free: 4.598 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.205e-05/0.3326, allocations: 58.58 kB / 438.6 MB, free: 4.551 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.242e-05/0.3327, allocations: 29.83 kB / 438.7 MB, free: 4.527 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.832e-05/0.3328, allocations: 325.1 kB / 439 MB, free: 4.207 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.6e-05/0.3329, allocations: 41.3 kB / 439 MB, free: 4.191 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.489e-05/0.333, allocations: 41.31 kB / 439.1 MB, free: 4.176 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.3332, allocations: 101.8 kB / 439.2 MB, free: 4.125 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3332, allocations: 1.031 kB / 439.2 MB, free: 4.125 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003003/0.3335, allocations: 153 kB / 439.3 MB, free: 4.039 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.3335, allocations: 5.266 kB / 439.3 MB, free: 4.039 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.3335, allocations: 1.375 kB / 439.3 MB, free: 4.039 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.3336, allocations: 3.938 kB / 439.3 MB, free: 4.035 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002493/0.3338, allocations: 39.53 kB / 439.4 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.3339, allocations: 1.125 kB / 439.4 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.255e-05/0.3339, allocations: 10.22 kB / 439.4 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.3339, allocations: 3.312 kB / 439.4 MB, free: 4.02 MB / 318.1 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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.991e-05/0.3341, allocations: 133.9 kB / 439.5 MB, free: 3.887 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.92e-05/0.3341, allocations: 12.47 kB / 439.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.668e-05/0.3342, allocations: 20.28 kB / 439.5 MB, free: 3.863 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.3342, allocations: 2.219 kB / 439.5 MB, free: 3.863 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.3342, allocations: 4 kB / 439.6 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.3342, allocations: 6.047 kB / 439.6 MB, free: 3.855 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003779/0.3346, allocations: 266.4 kB / 439.8 MB, free: 3.621 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.3346, allocations: 0 / 439.8 MB, free: 3.621 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.3349, allocations: 27.23 kB / 439.8 MB, free: 3.621 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.3349, allocations: 1.438 kB / 439.8 MB, free: 3.621 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.3349, allocations: 1.781 kB / 439.8 MB, free: 3.621 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.3349, allocations: 1.406 kB / 439.8 MB, free: 3.621 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3349, allocations: 0.7031 kB / 439.8 MB, free: 3.621 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004351/0.3354, allocations: 304.7 kB / 440.1 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.76e-05/0.3354, allocations: 89.5 kB / 440.2 MB, free: 3.305 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.3355, allocations: 5.156 kB / 440.2 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.3356, allocations: 5.344 kB / 440.2 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.178e-05/0.3356, allocations: 11.06 kB / 440.3 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.3356, allocations: 11.41 kB / 440.3 MB, free: 3.285 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.888e-05/0.3357, allocations: 98.69 kB / 440.4 MB, free: 3.207 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3357, allocations: 1.438 kB / 440.4 MB, free: 3.207 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004363/0.3362, allocations: 41.53 kB / 440.4 MB, free: 3.188 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006379/0.3368, allocations: 0.8263 MB / 441.2 MB, free: 2.453 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002931/0.3371, allocations: 107.4 kB / 441.3 MB, free: 2.418 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3371, allocations: 0 / 441.3 MB, free: 2.418 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.3373, allocations: 62.05 kB / 441.4 MB, free: 2.395 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005375/0.3378, allocations: 31.67 kB / 441.4 MB, free: 2.379 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.34, allocations: 1.756 MB / 443.2 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001956/0.3402, allocations: 0.7239 MB / 443.9 MB, free: 256 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.793e-05/0.3403, allocations: 8.438 kB / 443.9 MB, free: 252 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.577e-05/0.3404, allocations: 46.58 kB / 444 MB, free: 216 kB / 318.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3404, allocations: 0 / 444 MB, free: 216 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03051/0.3709, allocations: 2.671 MB / 446.6 MB, free: 15.64 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.162/8.533, allocations: 1.656 kB / 446.6 MB, free: 15.64 MB / 334.1 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/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)