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.005767/0.005767, allocations: 104.5 kB / 15.74 MB, free: 6.039 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.001151/0.001151, allocations: 197.4 kB / 16.68 MB, free: 5.957 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.401/1.401, 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.04354/0.04354, allocations: 8.106 MB / 278 MB, free: 3.93 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.001768/0.001769, allocations: 79.42 kB / 386.2 MB, free: 47.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1087, allocations: 48.3 MB / 434.5 MB, free: 9.191 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.001926/0.1107, allocations: 0.7176 MB / 435.2 MB, free: 8.477 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00037/0.1111, allocations: 175.4 kB / 435.4 MB, free: 8.305 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.341e-05/0.1112, allocations: 0 / 435.4 MB, free: 8.305 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.696e-05/0.1112, allocations: 19.75 kB / 435.4 MB, free: 8.285 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.1113, allocations: 15.81 kB / 435.4 MB, free: 8.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.1115, allocations: 63.84 kB / 435.5 MB, free: 8.207 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000162/0.1117, allocations: 135.7 kB / 435.6 MB, free: 8.074 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001912/0.1119, allocations: 85.59 kB / 435.7 MB, free: 7.992 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.127e-05/0.112, allocations: 55.73 kB / 435.7 MB, free: 7.938 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.118e-05/0.1121, allocations: 79.61 kB / 435.8 MB, free: 7.859 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.717e-05/0.1121, allocations: 20 kB / 435.8 MB, free: 7.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.002e-05/0.1121, allocations: 19.94 kB / 435.8 MB, free: 7.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.272e-05/0.1121, allocations: 39.91 kB / 435.9 MB, free: 7.781 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.192e-05/0.1122, allocations: 79.53 kB / 436 MB, free: 7.703 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.1124, allocations: 187.4 kB / 436.1 MB, free: 7.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1124, allocations: 0 / 436.1 MB, free: 7.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.1124, allocations: 0 / 436.1 MB, free: 7.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1124, allocations: 0 / 436.1 MB, free: 7.52 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.0005942/0.113, allocations: 471 kB / 436.6 MB, free: 7.008 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.1131, allocations: 12.03 kB / 436.6 MB, free: 6.996 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.297e-05/0.1131, allocations: 54.73 kB / 436.7 MB, free: 6.934 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/0.1132, allocations: 20.75 kB / 436.7 MB, free: 6.914 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.1133, allocations: 215.9 kB / 436.9 MB, free: 6.664 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.1134, allocations: 12.75 kB / 436.9 MB, free: 6.652 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.421e-05/0.1134, allocations: 20.38 kB / 436.9 MB, free: 6.633 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.1137, allocations: 168.9 kB / 437.1 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.1137, allocations: 7.938 kB / 437.1 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.1137, allocations: 7.938 kB / 437.1 MB, free: 6.449 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1137, allocations: 4 kB / 437.1 MB, free: 6.445 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.1139, allocations: 111.7 kB / 437.2 MB, free: 6.336 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006902/0.1146, allocations: 0.5819 MB / 437.8 MB, free: 5.703 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/0.1148, allocations: 134.4 kB / 437.9 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.969e-05/0.1149, allocations: 72.84 kB / 438 MB, free: 5.488 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.1149, allocations: 0 / 438 MB, free: 5.488 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.115, allocations: 42.56 kB / 438 MB, free: 5.438 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 9.32e-07/0.115, allocations: 4 kB / 438.1 MB, free: 5.434 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002912/0.1153, allocations: 181.1 kB / 438.2 MB, free: 5.254 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/0.1153, allocations: 55.41 kB / 438.3 MB, free: 5.188 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.765e-05/0.1154, allocations: 125.8 kB / 438.4 MB, free: 5.055 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.1154, allocations: 33.7 kB / 438.4 MB, free: 5.016 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.064e-05/0.1154, allocations: 124.2 kB / 438.6 MB, free: 4.891 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.606e-05/0.1155, allocations: 59.19 kB / 438.6 MB, free: 4.832 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.1155, allocations: 33.72 kB / 438.7 MB, free: 4.793 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.993e-05/0.1156, allocations: 322.8 kB / 439 MB, free: 4.469 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.85e-05/0.1157, allocations: 39.98 kB / 439 MB, free: 4.43 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.154e-05/0.1157, allocations: 39.98 kB / 439 MB, free: 4.391 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.1158, allocations: 102.8 kB / 439.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1158, allocations: 0 / 439.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001699/0.116, allocations: 150.2 kB / 439.3 MB, free: 4.137 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.116, allocations: 8 kB / 439.3 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1161, allocations: 4 kB / 439.3 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.1161, allocations: 0 / 439.3 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.1163, allocations: 35.97 kB / 439.3 MB, free: 4.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1163, allocations: 0 / 439.3 MB, free: 4.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.81e-05/0.1163, allocations: 11.88 kB / 439.4 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.874e-06/0.1163, allocations: 4 kB / 439.4 MB, free: 4.074 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.609e-05/0.1164, allocations: 133.7 kB / 439.5 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.311e-05/0.1165, allocations: 11.81 kB / 439.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.158e-05/0.1165, allocations: 20.5 kB / 439.5 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1165, allocations: 0 / 439.5 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1165, allocations: 3.938 kB / 439.5 MB, free: 3.898 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1165, allocations: 7.922 kB / 439.5 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/0.1168, allocations: 265.6 kB / 439.8 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1168, allocations: 0 / 439.8 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.1169, allocations: 27.98 kB / 439.8 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.117, allocations: 0 / 439.8 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.117, allocations: 4 kB / 439.8 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.117, allocations: 7.938 kB / 439.8 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.117, allocations: 7.984 kB / 439.8 MB, free: 3.535 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002927/0.1173, allocations: 291.2 kB / 440.1 MB, free: 3.234 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.246e-05/0.1173, allocations: 96.89 kB / 440.2 MB, free: 3.121 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.1174, allocations: 0 / 440.2 MB, free: 3.121 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.915e-05/0.1174, allocations: 4 kB / 440.2 MB, free: 3.117 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.1175, allocations: 15.97 kB / 440.2 MB, free: 3.102 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.1175, allocations: 96 / 440.2 MB, free: 3.102 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.874e-05/0.1175, allocations: 102.6 kB / 440.3 MB, free: 3.004 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1176, allocations: 4 kB / 440.3 MB, free: 3 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002406/0.1178, allocations: 35.84 kB / 440.4 MB, free: 2.965 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.0004881/0.1183, allocations: 0.8321 MB / 441.2 MB, free: 2.109 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002071/0.1185, allocations: 111.9 kB / 441.3 MB, free: 2 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.1185, allocations: 4 kB / 441.3 MB, free: 1.996 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.561e-05/0.1186, allocations: 63.92 kB / 441.4 MB, free: 1.934 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.119, allocations: 23.92 kB / 441.4 MB, free: 1.91 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.1206, allocations: 1.75 MB / 443.2 MB, free: 84 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.121, allocations: 0.7234 MB / 443.9 MB, free: 15.33 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.562e-05/0.1211, allocations: 16.62 kB / 443.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.493e-05/0.1212, allocations: 47.42 kB / 443.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1212, allocations: 0 / 443.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02416/0.1454, allocations: 2.701 MB / 446.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.703/7.849, allocations: 11.86 kB / 446.7 MB, free: 12.65 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)