Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent.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.ThreeSpecies_Quiescent,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThreeSpecies_Quiescent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThreeSpecies_Quiescent",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.0009691/0.0009691, allocations: 100.1 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.001011/0.001012, allocations: 177.3 kB / 15.95 MB, free: 216 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.688/1.688, allocations: 205.4 MB / 222.1 MB, free: 5.879 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.0384/0.0384, allocations: 8.085 MB / 278.5 MB, free: 13.46 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.0005093/0.0005093, allocations: 19.12 kB / 338.3 MB, free: 26.98 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1087, allocations: 49.27 MB / 387.6 MB, free: 9.652 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent): time 0.001326/0.1101, allocations: 413.9 kB / 388 MB, free: 9.25 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000492/0.1106, allocations: 171.4 kB / 388.2 MB, free: 9.082 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.303e-05/0.1107, allocations: 4 kB / 388.2 MB, free: 9.078 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.453e-05/0.1108, allocations: 11.86 kB / 388.2 MB, free: 9.066 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.1109, allocations: 11.94 kB / 388.2 MB, free: 9.055 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002302/0.1111, allocations: 39.95 kB / 388.2 MB, free: 9.016 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002281/0.1114, allocations: 83.81 kB / 388.3 MB, free: 8.934 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002925/0.1117, allocations: 58.06 kB / 388.4 MB, free: 8.871 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.622e-05/0.1118, allocations: 47.78 kB / 388.4 MB, free: 8.824 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.1119, allocations: 59.69 kB / 388.5 MB, free: 8.766 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.132e-05/0.112, allocations: 11.94 kB / 388.5 MB, free: 8.754 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.929e-05/0.112, allocations: 12 kB / 388.5 MB, free: 8.742 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.322e-05/0.112, allocations: 27.91 kB / 388.5 MB, free: 8.715 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.174e-05/0.1121, allocations: 49.58 kB / 388.6 MB, free: 8.66 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.1123, allocations: 135.7 kB / 388.7 MB, free: 8.527 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1123, allocations: 4 kB / 388.7 MB, free: 8.523 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.1123, allocations: 0 / 388.7 MB, free: 8.523 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.1124, allocations: 4 kB / 388.7 MB, free: 8.52 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.0007368/0.1131, allocations: 427.5 kB / 389.1 MB, free: 8.051 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.296e-05/0.1132, allocations: 8.031 kB / 389.2 MB, free: 8.043 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.667e-05/0.1133, allocations: 58.48 kB / 389.2 MB, free: 7.977 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.741e-05/0.1133, allocations: 15.81 kB / 389.2 MB, free: 7.961 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000326/0.1137, allocations: 214.8 kB / 389.4 MB, free: 7.711 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.1137, allocations: 24.36 kB / 389.5 MB, free: 7.688 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.682e-05/0.1138, allocations: 19.95 kB / 389.5 MB, free: 7.668 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003461/0.1141, allocations: 156.6 kB / 389.6 MB, free: 7.512 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.1142, allocations: 0 / 389.6 MB, free: 7.512 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.662e-05/0.1142, allocations: 15.94 kB / 389.6 MB, free: 7.496 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.1142, allocations: 4 kB / 389.7 MB, free: 7.492 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002202/0.1144, allocations: 111.7 kB / 389.8 MB, free: 7.383 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009866/0.1154, allocations: 0.5896 MB / 390.4 MB, free: 6.742 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002618/0.1157, allocations: 122.5 kB / 390.5 MB, free: 6.613 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.1157, allocations: 4 kB / 390.5 MB, free: 6.609 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.755e-05/0.1158, allocations: 34.56 kB / 390.5 MB, free: 6.566 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.112e-06/0.1158, allocations: 0 / 390.5 MB, free: 6.566 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004237/0.1162, allocations: 177.3 kB / 390.7 MB, free: 6.391 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.1163, allocations: 55.41 kB / 390.7 MB, free: 6.324 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.1164, allocations: 125.8 kB / 390.9 MB, free: 6.191 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.1165, allocations: 25.7 kB / 390.9 MB, free: 6.16 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.1166, allocations: 132.3 kB / 391 MB, free: 6.027 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.76e-05/0.1166, allocations: 55.17 kB / 391.1 MB, free: 5.973 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.528e-06/0.1167, allocations: 4 kB / 391.1 MB, free: 5.969 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.1168, allocations: 326.8 kB / 391.4 MB, free: 5.641 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.163e-05/0.1169, allocations: 39.98 kB / 391.4 MB, free: 5.602 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.643e-05/0.117, allocations: 42.48 kB / 391.5 MB, free: 5.562 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.656e-05/0.1171, allocations: 40 kB / 391.5 MB, free: 5.523 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1171, allocations: 0 / 391.5 MB, free: 5.523 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005768/0.1177, allocations: 258.1 kB / 391.8 MB, free: 5.262 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.1177, allocations: 4 kB / 391.8 MB, free: 5.258 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1177, allocations: 3.938 kB / 391.8 MB, free: 5.254 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000635/0.1183, allocations: 148.6 kB / 391.9 MB, free: 5.105 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.175e-05/0.1184, allocations: 11.98 kB / 391.9 MB, free: 5.094 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002562/0.121, allocations: 1.921 MB / 393.8 MB, free: 3.039 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.916e-05/0.1211, allocations: 11.91 kB / 393.9 MB, free: 3.027 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.1211, allocations: 4 kB / 393.9 MB, free: 3.023 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 (7): * Single equations (assignments): 6 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0001209/0.1212, allocations: 121.9 kB / 394 MB, free: 2.895 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.314e-05/0.1212, allocations: 15.91 kB / 394 MB, free: 2.879 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.929e-05/0.1213, allocations: 16.45 kB / 394 MB, free: 2.863 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1213, allocations: 4 kB / 394 MB, free: 2.859 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.1213, allocations: 0 / 394 MB, free: 2.859 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.1213, allocations: 4 kB / 394 MB, free: 2.855 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003156/0.1216, allocations: 277.4 kB / 394.3 MB, free: 2.535 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1217, allocations: 0 / 394.3 MB, free: 2.535 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001707/0.1218, allocations: 27.92 kB / 394.3 MB, free: 2.508 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1218, allocations: 4 kB / 394.3 MB, free: 2.504 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.1219, allocations: 4 kB / 394.3 MB, free: 2.5 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.1219, allocations: 7.953 kB / 394.3 MB, free: 2.492 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1219, allocations: 0 / 394.3 MB, free: 2.492 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/0.1222, allocations: 293.7 kB / 394.6 MB, free: 2.195 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.434e-05/0.1223, allocations: 88.97 kB / 394.7 MB, free: 2.09 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.1223, allocations: 11.98 kB / 394.7 MB, free: 2.078 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.754e-05/0.1224, allocations: 0 / 394.7 MB, free: 2.078 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.818e-05/0.1224, allocations: 11.95 kB / 394.7 MB, free: 2.066 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.1224, allocations: 7.984 kB / 394.7 MB, free: 2.059 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.184e-05/0.1225, allocations: 103.1 kB / 394.8 MB, free: 1.957 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1225, allocations: 0 / 394.8 MB, free: 1.957 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002817/0.1228, allocations: 43.84 kB / 394.9 MB, free: 1.914 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.0006354/0.1234, allocations: 0.8139 MB / 395.7 MB, free: 1.074 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005789/0.124, allocations: 290.5 kB / 396 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.124, allocations: 3.938 kB / 396 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 9.8e-05/0.1241, allocations: 67.58 kB / 396.1 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.1244, allocations: 23.94 kB / 396.1 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.1261, allocations: 0.9741 MB / 397 MB, free: 15.65 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.1265, allocations: 0.7321 MB / 397.8 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.269e-05/0.1266, allocations: 12.83 kB / 397.8 MB, free: 14.88 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.1267, allocations: 51.41 kB / 397.8 MB, free: 14.82 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1267, allocations: 0 / 397.8 MB, free: 14.82 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01477/0.1415, allocations: 3.468 MB / 401.3 MB, free: 11.5 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/0.1417, allocations: 234.8 kB / 401.5 MB, free: 11.27 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.726/1.868, allocations: 4 kB / 401.5 MB, free: 11.27 MB / 302.1 MB (rm -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThreeSpecies_Quiescent_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThreeSpecies_Quiescent.fmu > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent.pipe 2>&1) Environment - environmentSimulation: