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.005276/0.005276, allocations: 104.4 kB / 15.74 MB, free: 5.598 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.001148/0.001148, allocations: 191.8 kB / 16.67 MB, free: 5.527 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.275/1.275, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04222/0.04222, allocations: 8.108 MB / 278 MB, free: 3.934 MB / 222.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.001615/0.001615, allocations: 74.36 kB / 386.2 MB, free: 47.47 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0783/0.07993, allocations: 48.31 MB / 434.5 MB, free: 9.066 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.001767/0.08174, allocations: 0.7098 MB / 435.2 MB, free: 8.359 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003675/0.08213, allocations: 171.4 kB / 435.4 MB, free: 8.191 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.877e-05/0.08223, allocations: 4 kB / 435.4 MB, free: 8.188 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.262e-05/0.0823, allocations: 19.75 kB / 435.4 MB, free: 8.168 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.848e-05/0.0824, allocations: 11.81 kB / 435.4 MB, free: 8.156 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001733/0.08258, allocations: 71.78 kB / 435.5 MB, free: 8.086 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.08274, allocations: 131.8 kB / 435.6 MB, free: 7.957 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.08291, allocations: 89.59 kB / 435.7 MB, free: 7.871 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.396e-05/0.08297, allocations: 55.73 kB / 435.7 MB, free: 7.816 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.351e-05/0.08306, allocations: 75.61 kB / 435.8 MB, free: 7.742 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.771e-05/0.0831, allocations: 20 kB / 435.8 MB, free: 7.723 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.983e-05/0.08312, allocations: 19.94 kB / 435.8 MB, free: 7.703 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.021e-05/0.08317, allocations: 43.91 kB / 435.9 MB, free: 7.66 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.468e-05/0.08323, allocations: 75.53 kB / 436 MB, free: 7.586 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.0834, allocations: 187.4 kB / 436.1 MB, free: 7.402 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.08341, allocations: 4 kB / 436.1 MB, free: 7.398 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.08342, allocations: 0 / 436.1 MB, free: 7.398 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.08344, allocations: 0 / 436.1 MB, free: 7.398 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.000589/0.08403, allocations: 467 kB / 436.6 MB, free: 6.891 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.08408, allocations: 12.03 kB / 436.6 MB, free: 6.879 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.227e-05/0.08414, allocations: 54.73 kB / 436.7 MB, free: 6.816 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.048e-05/0.0842, allocations: 20.75 kB / 436.7 MB, free: 6.797 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.08438, allocations: 215.9 kB / 436.9 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.08441, allocations: 16.75 kB / 436.9 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.08445, allocations: 16.38 kB / 436.9 MB, free: 6.516 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002789/0.08473, allocations: 168.9 kB / 437.1 MB, free: 6.348 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.08476, allocations: 7.875 kB / 437.1 MB, free: 6.34 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.08478, allocations: 12 kB / 437.1 MB, free: 6.328 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.0848, allocations: 7.938 kB / 437.1 MB, free: 6.32 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.08498, allocations: 111.7 kB / 437.2 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007547/0.08574, allocations: 0.578 MB / 437.8 MB, free: 5.582 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.08596, allocations: 130.5 kB / 437.9 MB, free: 5.445 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.82e-05/0.08606, allocations: 80.84 kB / 438 MB, free: 5.363 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.08608, allocations: 0 / 438 MB, free: 5.363 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.08611, allocations: 34.56 kB / 438.1 MB, free: 5.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/0.08612, allocations: 0 / 438.1 MB, free: 5.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.000305/0.08642, allocations: 184.7 kB / 438.2 MB, free: 5.137 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.08646, allocations: 55.41 kB / 438.3 MB, free: 5.07 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.823e-05/0.08654, allocations: 121.8 kB / 438.4 MB, free: 4.941 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.08656, allocations: 37.69 kB / 438.4 MB, free: 4.898 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.238e-05/0.08661, allocations: 128.2 kB / 438.6 MB, free: 4.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/0.08665, allocations: 51.2 kB / 438.6 MB, free: 4.719 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.941e-05/0.0867, allocations: 37.7 kB / 438.7 MB, free: 4.676 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.19e-05/0.08676, allocations: 318.8 kB / 439 MB, free: 4.355 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.177e-05/0.08683, allocations: 43.98 kB / 439 MB, free: 4.312 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.33e-05/0.08689, allocations: 39.98 kB / 439 MB, free: 4.273 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.08702, allocations: 103 kB / 439.1 MB, free: 4.172 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.08703, allocations: 0 / 439.1 MB, free: 4.172 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001958/0.08723, allocations: 150.2 kB / 439.3 MB, free: 4.02 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.08725, allocations: 8 kB / 439.3 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.08727, allocations: 0 / 439.3 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.08728, allocations: 4 kB / 439.3 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.08746, allocations: 35.97 kB / 439.3 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.08748, allocations: 4 kB / 439.3 MB, free: 3.969 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.227e-05/0.08753, allocations: 7.875 kB / 439.4 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.08754, allocations: 4 kB / 439.4 MB, free: 3.957 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 7.479e-05/0.08762, allocations: 133.7 kB / 439.5 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.346e-05/0.08766, allocations: 11.81 kB / 439.5 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.174e-05/0.0877, allocations: 20.5 kB / 439.5 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.08771, allocations: 7.938 kB / 439.5 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.08772, allocations: 0 / 439.5 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.08773, allocations: 7.922 kB / 439.5 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002009/0.08794, allocations: 261.6 kB / 439.8 MB, free: 3.465 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.08795, allocations: 0 / 439.8 MB, free: 3.465 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.08812, allocations: 31.98 kB / 439.8 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.08813, allocations: 0 / 439.8 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.08814, allocations: 0 / 439.8 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.08815, allocations: 11.88 kB / 439.8 MB, free: 3.422 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.08816, allocations: 0 / 439.8 MB, free: 3.422 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.08842, allocations: 304.2 kB / 440.1 MB, free: 3.109 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.148e-05/0.08845, allocations: 88.95 kB / 440.2 MB, free: 3.004 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.08848, allocations: 0 / 440.2 MB, free: 3.004 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.935e-05/0.08856, allocations: 4 kB / 440.2 MB, free: 3 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.131e-05/0.08859, allocations: 15.97 kB / 440.2 MB, free: 2.984 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.0886, allocations: 8 kB / 440.2 MB, free: 2.977 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.701e-05/0.08864, allocations: 98.5 kB / 440.3 MB, free: 2.883 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.08865, allocations: 4 kB / 440.3 MB, free: 2.879 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002367/0.08889, allocations: 35.84 kB / 440.4 MB, free: 2.844 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.0003879/0.08928, allocations: 0.8322 MB / 441.2 MB, free: 1.988 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000172/0.08947, allocations: 107.9 kB / 441.3 MB, free: 1.883 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.08948, allocations: 0 / 441.3 MB, free: 1.883 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.233e-05/0.08955, allocations: 63.92 kB / 441.4 MB, free: 1.82 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.08991, allocations: 28.02 kB / 441.4 MB, free: 1.793 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.09136, allocations: 1.753 MB / 443.2 MB, free: 15.96 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.09165, allocations: 0.7234 MB / 443.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.011e-05/0.09172, allocations: 12.88 kB / 443.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.355e-05/0.0918, allocations: 47.42 kB / 443.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.09181, allocations: 0 / 443.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02204/0.1139, allocations: 2.702 MB / 446.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.406/7.52, allocations: 3.516 kB / 446.6 MB, free: 12.54 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)