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.001162/0.001162, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001326/0.001326, allocations: 177.3 kB / 15.94 MB, free: 228 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.651/1.651, allocations: 205.4 MB / 222.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04069/0.04069, allocations: 8.091 MB / 278.5 MB, free: 13.11 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.0005366/0.0005367, allocations: 12 kB / 338.3 MB, free: 26.94 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1052, allocations: 49.27 MB / 387.6 MB, free: 9.609 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.0009071/0.1061, allocations: 397.9 kB / 388 MB, free: 9.223 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004018/0.1066, allocations: 175.4 kB / 388.2 MB, free: 9.051 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.544e-05/0.1066, allocations: 4 kB / 388.2 MB, free: 9.047 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.799e-05/0.1067, allocations: 15.86 kB / 388.2 MB, free: 9.031 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.42e-05/0.1068, allocations: 3.938 kB / 388.2 MB, free: 9.027 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.107, allocations: 39.95 kB / 388.2 MB, free: 8.988 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.1071, allocations: 79.81 kB / 388.3 MB, free: 8.91 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001842/0.1073, allocations: 62.06 kB / 388.4 MB, free: 8.848 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.578e-05/0.1074, allocations: 47.78 kB / 388.4 MB, free: 8.801 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.702e-05/0.1075, allocations: 59.69 kB / 388.5 MB, free: 8.742 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/0.1075, allocations: 8 kB / 388.5 MB, free: 8.734 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.451e-05/0.1076, allocations: 12 kB / 388.5 MB, free: 8.723 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.469e-05/0.1076, allocations: 31.89 kB / 388.5 MB, free: 8.691 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.597e-05/0.1077, allocations: 53.58 kB / 388.6 MB, free: 8.633 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.1078, allocations: 131.7 kB / 388.7 MB, free: 8.504 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1078, allocations: 7.938 kB / 388.7 MB, free: 8.496 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.1078, allocations: 0 / 388.7 MB, free: 8.496 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.1079, allocations: 4 kB / 388.7 MB, free: 8.492 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.0005959/0.1085, allocations: 427.5 kB / 389.1 MB, free: 8.023 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.1085, allocations: 8.031 kB / 389.1 MB, free: 8.016 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.778e-05/0.1086, allocations: 58.48 kB / 389.2 MB, free: 7.949 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.486e-05/0.1087, allocations: 19.8 kB / 389.2 MB, free: 7.93 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.1089, allocations: 210.8 kB / 389.4 MB, free: 7.684 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.1089, allocations: 16.38 kB / 389.4 MB, free: 7.668 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.957e-05/0.109, allocations: 23.95 kB / 389.5 MB, free: 7.645 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002853/0.1093, allocations: 156.6 kB / 389.6 MB, free: 7.488 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.1093, allocations: 7.922 kB / 389.6 MB, free: 7.48 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.736e-05/0.1093, allocations: 8 kB / 389.6 MB, free: 7.473 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.1094, allocations: 4 kB / 389.6 MB, free: 7.469 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001891/0.1095, allocations: 111.7 kB / 389.7 MB, free: 7.359 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008574/0.1104, allocations: 0.5936 MB / 390.3 MB, free: 6.715 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.1106, allocations: 118.5 kB / 390.5 MB, free: 6.59 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.1107, allocations: 4 kB / 390.5 MB, free: 6.586 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.1107, allocations: 38.56 kB / 390.5 MB, free: 6.539 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.233e-06/0.1107, allocations: 0 / 390.5 MB, free: 6.539 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003338/0.1111, allocations: 177.2 kB / 390.7 MB, free: 6.363 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.1111, allocations: 55.41 kB / 390.7 MB, free: 6.297 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.1112, allocations: 129.8 kB / 390.8 MB, free: 6.16 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.1113, allocations: 29.7 kB / 390.9 MB, free: 6.125 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.816e-05/0.1113, allocations: 128.3 kB / 391 MB, free: 5.996 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.433e-05/0.1114, allocations: 51.25 kB / 391.1 MB, free: 5.945 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.608e-06/0.1114, allocations: 4 kB / 391.1 MB, free: 5.941 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.1115, allocations: 326.8 kB / 391.4 MB, free: 5.613 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.018e-05/0.1116, allocations: 36 kB / 391.4 MB, free: 5.578 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.01e-05/0.1117, allocations: 39.89 kB / 391.5 MB, free: 5.539 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.202e-05/0.1118, allocations: 54.17 kB / 391.5 MB, free: 5.488 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1118, allocations: 0 / 391.5 MB, free: 5.488 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002096/0.112, allocations: 145.4 kB / 391.6 MB, free: 5.34 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.112, allocations: 8 kB / 391.7 MB, free: 5.332 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.112, allocations: 4 kB / 391.7 MB, free: 5.328 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.112, allocations: 0 / 391.7 MB, free: 5.328 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.1122, allocations: 35.97 kB / 391.7 MB, free: 5.293 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.1122, allocations: 0 / 391.7 MB, free: 5.293 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.974e-05/0.1123, allocations: 11.84 kB / 391.7 MB, free: 5.281 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.1123, allocations: 11.94 kB / 391.7 MB, free: 5.27 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.0001154/0.1124, allocations: 129.7 kB / 391.8 MB, free: 5.133 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.1125, allocations: 7.906 kB / 391.8 MB, free: 5.125 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.402e-05/0.1125, allocations: 20.5 kB / 391.9 MB, free: 5.105 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.1125, allocations: 4 kB / 391.9 MB, free: 5.102 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.1125, allocations: 4 kB / 391.9 MB, free: 5.098 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.1125, allocations: 3.984 kB / 391.9 MB, free: 5.094 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002869/0.1128, allocations: 277.4 kB / 392.2 MB, free: 4.773 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1129, allocations: 0 / 392.2 MB, free: 4.773 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/0.113, allocations: 27.98 kB / 392.2 MB, free: 4.746 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.113, allocations: 0 / 392.2 MB, free: 4.746 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.1131, allocations: 3.984 kB / 392.2 MB, free: 4.742 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.1131, allocations: 0 / 392.2 MB, free: 4.742 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1131, allocations: 7.938 kB / 392.2 MB, free: 4.734 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003749/0.1135, allocations: 313.7 kB / 392.5 MB, free: 4.418 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.627e-05/0.1135, allocations: 81.02 kB / 392.6 MB, free: 4.32 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.1136, allocations: 8 kB / 392.6 MB, free: 4.312 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.686e-05/0.1136, allocations: 0 / 392.6 MB, free: 4.312 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.929e-05/0.1137, allocations: 8.031 kB / 392.6 MB, free: 4.305 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.1137, allocations: 8 kB / 392.6 MB, free: 4.297 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.416e-05/0.1138, allocations: 99.27 kB / 392.7 MB, free: 4.199 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1138, allocations: 0 / 392.7 MB, free: 4.199 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002413/0.114, allocations: 31.84 kB / 392.7 MB, free: 4.168 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.0006403/0.1147, allocations: 0.8333 MB / 393.6 MB, free: 3.305 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002231/0.1149, allocations: 107.8 kB / 393.7 MB, free: 3.199 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.1149, allocations: 4 kB / 393.7 MB, free: 3.195 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.126e-05/0.115, allocations: 63.92 kB / 393.7 MB, free: 3.133 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.1153, allocations: 19.92 kB / 393.8 MB, free: 3.113 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.1165, allocations: 0.8555 MB / 394.6 MB, free: 2.211 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000404/0.1169, allocations: 0.7316 MB / 395.3 MB, free: 1.453 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.431e-05/0.117, allocations: 8.641 kB / 395.3 MB, free: 1.441 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.801e-05/0.1171, allocations: 47.42 kB / 395.4 MB, free: 1.395 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1171, allocations: 0 / 395.4 MB, free: 1.395 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01432/0.1314, allocations: 2.39 MB / 397.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002418/0.1317, allocations: 210.6 kB / 398 MB, free: 14.87 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.712/1.843, allocations: 0 / 398 MB, free: 14.87 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: