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: translateModel(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies") translateModel(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001978/0.001979, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.457/1.457, allocations: 205.1 MB / 222.1 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03799/0.03799, allocations: 8.107 MB / 277.6 MB, free: 13.33 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.002111/0.002111, allocations: 67.91 kB / 336.7 MB, free: 26.84 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.12, allocations: 48.3 MB / 385 MB, free: 10.5 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.002109/0.1221, allocations: 0.7581 MB / 385.7 MB, free: 9.738 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000348/0.1225, allocations: 187.2 kB / 385.9 MB, free: 9.555 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.273e-05/0.1226, allocations: 4 kB / 385.9 MB, free: 9.551 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.838e-05/0.1227, allocations: 11.88 kB / 385.9 MB, free: 9.539 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.135e-05/0.1228, allocations: 3.938 kB / 385.9 MB, free: 9.535 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001733/0.123, allocations: 51.95 kB / 386 MB, free: 9.484 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.1231, allocations: 135.8 kB / 386.1 MB, free: 9.352 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000196/0.1233, allocations: 85.56 kB / 386.2 MB, free: 9.266 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.489e-05/0.1234, allocations: 55.8 kB / 386.3 MB, free: 9.211 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.992e-05/0.1235, allocations: 71.61 kB / 386.3 MB, free: 9.141 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.142e-05/0.1235, allocations: 20 kB / 386.4 MB, free: 9.121 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.55e-05/0.1236, allocations: 20 kB / 386.4 MB, free: 9.102 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.45e-05/0.1236, allocations: 47.83 kB / 386.4 MB, free: 9.055 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.234e-05/0.1237, allocations: 75.59 kB / 386.5 MB, free: 8.98 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.1239, allocations: 179.4 kB / 386.7 MB, free: 8.805 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1239, allocations: 0 / 386.7 MB, free: 8.805 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1239, allocations: 7.938 kB / 386.7 MB, free: 8.797 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1239, allocations: 0 / 386.7 MB, free: 8.797 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.0006684/0.1246, allocations: 467.5 kB / 387.1 MB, free: 8.285 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.1246, allocations: 12.03 kB / 387.2 MB, free: 8.273 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.432e-05/0.1247, allocations: 20.66 kB / 387.2 MB, free: 8.254 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/0.125, allocations: 215.9 kB / 387.4 MB, free: 8.008 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.125, allocations: 20.75 kB / 387.4 MB, free: 7.988 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.306e-05/0.125, allocations: 16.38 kB / 387.4 MB, free: 7.973 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003641/0.1254, allocations: 172.9 kB / 387.6 MB, free: 7.801 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.1254, allocations: 192 / 387.6 MB, free: 7.801 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/0.1255, allocations: 15.88 kB / 387.6 MB, free: 7.785 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.1255, allocations: 4 kB / 387.6 MB, free: 7.781 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001976/0.1257, allocations: 115.6 kB / 387.7 MB, free: 7.668 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008692/0.1266, allocations: 0.5896 MB / 388.3 MB, free: 7.027 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002489/0.1268, allocations: 126.5 kB / 388.4 MB, free: 6.895 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.1269, allocations: 80.83 kB / 388.5 MB, free: 6.812 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.127, allocations: 0 / 388.5 MB, free: 6.812 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.127, allocations: 42.5 kB / 388.6 MB, free: 6.762 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 9.82e-07/0.127, allocations: 0 / 388.6 MB, free: 6.762 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003498/0.1274, allocations: 169.8 kB / 388.7 MB, free: 6.59 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.1274, allocations: 55.41 kB / 388.8 MB, free: 6.523 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.1275, allocations: 125.8 kB / 388.9 MB, free: 6.391 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.1275, allocations: 33.7 kB / 388.9 MB, free: 6.352 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.706e-05/0.1276, allocations: 128.3 kB / 389.1 MB, free: 6.223 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.674e-05/0.1277, allocations: 51.2 kB / 389.1 MB, free: 6.172 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.266e-05/0.1277, allocations: 37.61 kB / 389.1 MB, free: 6.129 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1279, allocations: 326.8 kB / 389.5 MB, free: 5.801 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.559e-05/0.1279, allocations: 39.98 kB / 389.5 MB, free: 5.762 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.048e-05/0.128, allocations: 39.98 kB / 389.5 MB, free: 5.723 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.1282, allocations: 107 kB / 389.6 MB, free: 5.617 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1282, allocations: 4 kB / 389.6 MB, free: 5.613 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002043/0.1284, allocations: 152.1 kB / 389.8 MB, free: 5.461 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1284, allocations: 4 kB / 389.8 MB, free: 5.457 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.1284, allocations: 3.938 kB / 389.8 MB, free: 5.453 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.1284, allocations: 0 / 389.8 MB, free: 5.453 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.1286, allocations: 43.91 kB / 389.8 MB, free: 5.41 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1286, allocations: 0 / 389.8 MB, free: 5.41 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.007e-05/0.1287, allocations: 7.844 kB / 389.9 MB, free: 5.402 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.1287, allocations: 8 kB / 389.9 MB, free: 5.395 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.1288, allocations: 125.8 kB / 390 MB, free: 5.262 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.264e-05/0.1288, allocations: 7.906 kB / 390 MB, free: 5.254 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.532e-05/0.1289, allocations: 20.5 kB / 390 MB, free: 5.234 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1289, allocations: 0 / 390 MB, free: 5.234 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1289, allocations: 0 / 390 MB, free: 5.234 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.1289, allocations: 7.922 kB / 390 MB, free: 5.227 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003104/0.1292, allocations: 273.4 kB / 390.3 MB, free: 4.91 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1292, allocations: 0 / 390.3 MB, free: 4.91 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.1294, allocations: 31.92 kB / 390.3 MB, free: 4.879 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.1294, allocations: 4 kB / 390.3 MB, free: 4.875 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.1294, allocations: 3.938 kB / 390.3 MB, free: 4.871 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1295, allocations: 4 kB / 390.3 MB, free: 4.867 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1295, allocations: 0 / 390.3 MB, free: 4.867 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003399/0.1298, allocations: 298.8 kB / 390.6 MB, free: 4.562 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.983e-05/0.1299, allocations: 85.02 kB / 390.7 MB, free: 4.461 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.1299, allocations: 4 kB / 390.7 MB, free: 4.457 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.016e-05/0.13, allocations: 0 / 390.7 MB, free: 4.457 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.26e-05/0.13, allocations: 19.97 kB / 390.7 MB, free: 4.438 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.13, allocations: 7.938 kB / 390.7 MB, free: 4.43 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.874e-05/0.1301, allocations: 95.27 kB / 390.8 MB, free: 4.336 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1301, allocations: 0 / 390.8 MB, free: 4.336 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002391/0.1303, allocations: 39.78 kB / 390.9 MB, free: 4.297 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 (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.0001072/0.1304, allocations: 99.25 kB / 391 MB, free: 4.188 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000228/0.1307, allocations: 119.8 kB / 391.1 MB, free: 4.07 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.1307, allocations: 4 kB / 391.1 MB, free: 4.066 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.601e-05/0.1308, allocations: 63.91 kB / 391.1 MB, free: 4.004 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.1311, allocations: 20 kB / 391.2 MB, free: 3.984 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005896/0.1317, allocations: 396.1 kB / 391.6 MB, free: 3.574 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.132, allocations: 0.7237 MB / 392.3 MB, free: 2.824 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.915e-05/0.1321, allocations: 24.8 kB / 392.3 MB, free: 2.801 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.814e-05/0.1321, allocations: 11.44 kB / 392.3 MB, free: 2.789 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1321, allocations: 0 / 392.3 MB, free: 2.789 MB / 286.1 MB Notification: Performance of Templates: time 0.003337/0.1355, allocations: 1.082 MB / 393.4 MB, free: 1.711 MB / 286.1 MB make -j1 -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.makefile (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 & ./ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe 2>&1)