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.001236/0.001236, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.00221/0.00221, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.596/1.596, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03961/0.03961, allocations: 8.102 MB / 278.5 MB, free: 13.21 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.0008303/0.0008304, allocations: 16 kB / 338.4 MB, free: 26.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1135, allocations: 49.27 MB / 387.7 MB, free: 9.594 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.0009091/0.1145, allocations: 401.8 kB / 388 MB, free: 9.203 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005373/0.115, allocations: 171.5 kB / 388.2 MB, free: 9.035 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.1152, allocations: 0 / 388.2 MB, free: 9.035 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.549e-05/0.1152, allocations: 11.88 kB / 388.2 MB, free: 9.023 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.1153, allocations: 7.938 kB / 388.2 MB, free: 9.016 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002255/0.1156, allocations: 35.97 kB / 388.3 MB, free: 8.98 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002305/0.1158, allocations: 127.7 kB / 388.4 MB, free: 8.855 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002123/0.116, allocations: 58.06 kB / 388.4 MB, free: 8.793 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.278e-05/0.1161, allocations: 55.78 kB / 388.5 MB, free: 8.738 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.273e-05/0.1162, allocations: 51.7 kB / 388.6 MB, free: 8.688 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.103e-05/0.1163, allocations: 19.88 kB / 388.6 MB, free: 8.668 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.257e-05/0.1163, allocations: 8 kB / 388.6 MB, free: 8.66 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.425e-05/0.1163, allocations: 35.83 kB / 388.6 MB, free: 8.625 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.377e-05/0.1164, allocations: 53.64 kB / 388.7 MB, free: 8.566 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.1166, allocations: 135.7 kB / 388.8 MB, free: 8.434 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1166, allocations: 0 / 388.8 MB, free: 8.434 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1166, allocations: 0 / 388.8 MB, free: 8.434 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.1166, allocations: 0 / 388.8 MB, free: 8.434 MB / 286.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.0007097/0.1173, allocations: 431.5 kB / 389.2 MB, free: 7.961 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.1174, allocations: 15.97 kB / 389.2 MB, free: 7.945 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.781e-05/0.1175, allocations: 50.55 kB / 389.3 MB, free: 7.887 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.776e-05/0.1175, allocations: 19.81 kB / 389.3 MB, free: 7.867 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.1178, allocations: 206.8 kB / 389.5 MB, free: 7.625 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.1179, allocations: 12.38 kB / 389.5 MB, free: 7.613 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-05/0.1179, allocations: 23.95 kB / 389.5 MB, free: 7.59 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003843/0.1183, allocations: 168.6 kB / 389.7 MB, free: 7.422 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.1183, allocations: 0 / 389.7 MB, free: 7.422 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.1183, allocations: 8 kB / 389.7 MB, free: 7.414 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.1184, allocations: 4 kB / 389.7 MB, free: 7.41 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002322/0.1186, allocations: 107.7 kB / 389.8 MB, free: 7.305 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.1197, allocations: 0.5936 MB / 390.4 MB, free: 6.66 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.12, allocations: 126.5 kB / 390.5 MB, free: 6.527 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.1201, allocations: 80.36 kB / 390.6 MB, free: 6.449 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.1201, allocations: 7.984 kB / 390.6 MB, free: 6.441 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.532e-05/0.1202, allocations: 30.56 kB / 390.7 MB, free: 6.402 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.783e-06/0.1202, allocations: 3.938 kB / 390.7 MB, free: 6.398 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003622/0.1206, allocations: 181.7 kB / 390.8 MB, free: 6.215 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.934e-05/0.1206, allocations: 55.41 kB / 390.9 MB, free: 6.148 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.1208, allocations: 121.8 kB / 391 MB, free: 6.02 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.1208, allocations: 29.7 kB / 391 MB, free: 5.984 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.1209, allocations: 124.3 kB / 391.2 MB, free: 5.859 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.697e-05/0.121, allocations: 59.19 kB / 391.2 MB, free: 5.801 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.125e-05/0.121, allocations: 4 kB / 391.2 MB, free: 5.797 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1212, allocations: 326.7 kB / 391.5 MB, free: 5.469 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.839e-05/0.1213, allocations: 39.98 kB / 391.6 MB, free: 5.43 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.734e-05/0.1213, allocations: 46.39 kB / 391.6 MB, free: 5.387 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.508e-05/0.1214, allocations: 48 kB / 391.7 MB, free: 5.34 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.1214, allocations: 0 / 391.7 MB, free: 5.34 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002348/0.1217, allocations: 149.4 kB / 391.8 MB, free: 5.188 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.1217, allocations: 7.938 kB / 391.8 MB, free: 5.18 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.1217, allocations: 7.984 kB / 391.8 MB, free: 5.172 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.1217, allocations: 4 kB / 391.8 MB, free: 5.168 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.1219, allocations: 31.97 kB / 391.9 MB, free: 5.137 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1219, allocations: 0 / 391.9 MB, free: 5.137 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.658e-05/0.122, allocations: 11.91 kB / 391.9 MB, free: 5.125 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.122, allocations: 4 kB / 391.9 MB, free: 5.121 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001309/0.1222, allocations: 131 kB / 392 MB, free: 4.984 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.49e-05/0.1222, allocations: 11.91 kB / 392 MB, free: 4.973 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.509e-05/0.1223, allocations: 20.5 kB / 392 MB, free: 4.953 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.1223, allocations: 4 kB / 392 MB, free: 4.949 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.443e-06/0.1223, allocations: 0 / 392 MB, free: 4.949 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.1223, allocations: 3.984 kB / 392.1 MB, free: 4.945 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003121/0.1226, allocations: 273.5 kB / 392.3 MB, free: 4.629 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1226, allocations: 0 / 392.3 MB, free: 4.629 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.1228, allocations: 27.92 kB / 392.3 MB, free: 4.602 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.1228, allocations: 4 kB / 392.4 MB, free: 4.598 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.1228, allocations: 4 kB / 392.4 MB, free: 4.594 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1228, allocations: 0 / 392.4 MB, free: 4.594 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1229, allocations: 7.984 kB / 392.4 MB, free: 4.586 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004281/0.1233, allocations: 301.5 kB / 392.7 MB, free: 4.281 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.663e-05/0.1234, allocations: 85.02 kB / 392.7 MB, free: 4.18 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.1234, allocations: 4 kB / 392.7 MB, free: 4.176 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.994e-05/0.1235, allocations: 4 kB / 392.7 MB, free: 4.172 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.276e-05/0.1235, allocations: 8.031 kB / 392.8 MB, free: 4.164 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/0.1235, allocations: 4 kB / 392.8 MB, free: 4.16 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.613e-05/0.1236, allocations: 103.3 kB / 392.9 MB, free: 4.059 MB / 286.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1236, allocations: 0 / 392.9 MB, free: 4.059 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002501/0.1239, allocations: 31.84 kB / 392.9 MB, free: 4.027 MB / 286.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 (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.000723/0.1246, allocations: 0.8294 MB / 393.7 MB, free: 3.168 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002471/0.1248, allocations: 115.8 kB / 393.8 MB, free: 3.055 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.1249, allocations: 4 kB / 393.8 MB, free: 3.051 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.422e-05/0.125, allocations: 59.92 kB / 393.9 MB, free: 2.992 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.1253, allocations: 27.72 kB / 393.9 MB, free: 2.969 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.1267, allocations: 0.8598 MB / 394.8 MB, free: 2.059 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.127, allocations: 0.7238 MB / 395.5 MB, free: 1.309 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.685e-05/0.1271, allocations: 8.766 kB / 395.5 MB, free: 1.297 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.835e-05/0.1272, allocations: 47.42 kB / 395.6 MB, free: 1.254 MB / 286.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1272, allocations: 0 / 395.6 MB, free: 1.254 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01488/0.142, allocations: 2.409 MB / 398 MB, free: 14.95 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002431/0.1423, allocations: 208.5 kB / 398.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/1.848, allocations: 0 / 398.2 MB, free: 14.71 MB / 302.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/linux/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) Environment - environmentSimulation: