Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.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.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations") translateModel(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001646/0.001646, 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.001575/0.001575, 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.704/1.704, allocations: 205.1 MB / 222.1 MB, free: 4.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03852/0.03852, allocations: 8.103 MB / 277.6 MB, free: 13.32 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: Intervals = 0.008 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.00145/0.00145, allocations: 67.91 kB / 336.7 MB, free: 26.85 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1174, allocations: 48.3 MB / 385 MB, free: 10.5 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations): time 0.00309/0.1206, allocations: 1.237 MB / 386.2 MB, free: 9.262 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006322/0.1212, allocations: 378.6 kB / 386.6 MB, free: 8.891 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.605e-05/0.1214, allocations: 4 kB / 386.6 MB, free: 8.887 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.1215, allocations: 35.67 kB / 386.6 MB, free: 8.852 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001555/0.1216, allocations: 31.75 kB / 386.7 MB, free: 8.82 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.1219, allocations: 123.9 kB / 386.8 MB, free: 8.699 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003943/0.1223, allocations: 383.2 kB / 387.2 MB, free: 8.324 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004721/0.1228, allocations: 252.9 kB / 387.4 MB, free: 8.07 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000154/0.123, allocations: 175.2 kB / 387.6 MB, free: 7.898 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002162/0.1232, allocations: 191 kB / 387.8 MB, free: 7.711 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.213e-05/0.1233, allocations: 56 kB / 387.8 MB, free: 7.656 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.652e-05/0.1233, allocations: 60 kB / 387.9 MB, free: 7.598 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.622e-05/0.1235, allocations: 123.5 kB / 388 MB, free: 7.477 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001787/0.1236, allocations: 222.8 kB / 388.2 MB, free: 7.258 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000529/0.1242, allocations: 0.5763 MB / 388.8 MB, free: 6.68 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.1242, allocations: 0 / 388.8 MB, free: 6.68 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.1242, allocations: 0 / 388.8 MB, free: 6.68 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.1242, allocations: 4 kB / 388.8 MB, free: 6.676 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001215/0.1254, allocations: 0.7215 MB / 389.5 MB, free: 5.898 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.1255, allocations: 15.89 kB / 389.5 MB, free: 5.883 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.948e-05/0.1256, allocations: 52.38 kB / 389.6 MB, free: 5.832 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004766/0.1261, allocations: 335.3 kB / 389.9 MB, free: 5.465 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.051e-05/0.1261, allocations: 33.38 kB / 389.9 MB, free: 5.434 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.181e-05/0.1262, allocations: 52.28 kB / 390 MB, free: 5.383 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006738/0.1269, allocations: 422.5 kB / 390.4 MB, free: 4.953 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.1269, allocations: 4.125 kB / 390.4 MB, free: 4.949 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.782e-05/0.127, allocations: 23.94 kB / 390.4 MB, free: 4.926 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.127, allocations: 12 kB / 390.5 MB, free: 4.914 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005666/0.1276, allocations: 260.9 kB / 390.7 MB, free: 4.66 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002034/0.1296, allocations: 1.456 MB / 392.2 MB, free: 3.141 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005349/0.1302, allocations: 358.6 kB / 392.5 MB, free: 2.754 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002104/0.1304, allocations: 163.4 kB / 392.7 MB, free: 2.582 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/0.1304, allocations: 11.94 kB / 392.7 MB, free: 2.57 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001205/0.1305, allocations: 38.56 kB / 392.7 MB, free: 2.523 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 2.054e-06/0.1306, allocations: 0 / 392.7 MB, free: 2.523 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.0006665/0.1312, allocations: 358.4 kB / 393.1 MB, free: 2.168 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/0.1314, allocations: 136.5 kB / 393.2 MB, free: 2.004 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004025/0.1318, allocations: 266.9 kB / 393.5 MB, free: 1.734 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/0.1318, allocations: 33.7 kB / 393.5 MB, free: 1.695 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002176/0.132, allocations: 239.9 kB / 393.7 MB, free: 1.457 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000151/0.1322, allocations: 114.4 kB / 393.8 MB, free: 1.344 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.801e-05/0.1323, allocations: 66.14 kB / 393.9 MB, free: 1.27 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002415/0.1326, allocations: 346.7 kB / 394.2 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.1327, allocations: 92.84 kB / 394.3 MB, free: 0.832 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002151/0.1329, allocations: 198.6 kB / 394.5 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003921/0.1333, allocations: 310 kB / 394.8 MB, free: 268 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.1333, allocations: 4 kB / 394.8 MB, free: 264 kB / 286.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005251/0.1339, allocations: 368.9 kB / 395.2 MB, free: 15.89 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/0.1339, allocations: 14.17 kB / 395.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.1339, allocations: 0 / 395.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.134, allocations: 8 kB / 395.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/0.1343, allocations: 83.89 kB / 395.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.528e-05/0.1343, allocations: 8 kB / 395.3 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.1344, allocations: 35.56 kB / 395.3 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.1345, allocations: 12 kB / 395.4 MB, free: 15.73 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (48): * Single equations (assignments): 48 * 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.0001642/0.1346, allocations: 173.9 kB / 395.5 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.1347, allocations: 39.61 kB / 395.6 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.511e-05/0.1348, allocations: 37.73 kB / 395.6 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.1348, allocations: 4 kB / 395.6 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.158e-06/0.1349, allocations: 0 / 395.6 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/0.1349, allocations: 11.92 kB / 395.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006411/0.1355, allocations: 457.2 kB / 396.1 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1355, allocations: 0 / 396.1 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003037/0.1358, allocations: 63.91 kB / 396.1 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.1358, allocations: 4 kB / 396.1 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.1359, allocations: 8 kB / 396.1 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1359, allocations: 3.984 kB / 396.1 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1359, allocations: 0 / 396.1 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000676/0.1366, allocations: 0.7124 MB / 396.9 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.224e-05/0.1367, allocations: 112.7 kB / 397 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.522e-05/0.1367, allocations: 11.94 kB / 397 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.1369, allocations: 4 kB / 397 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.676e-05/0.137, allocations: 27.91 kB / 397 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.137, allocations: 12 kB / 397 MB, free: 13.97 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001619/0.1372, allocations: 190 kB / 397.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1372, allocations: 384 / 397.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004332/0.1376, allocations: 79.59 kB / 397.3 MB, free: 13.71 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (A.rabbit_population.population,A.fox_population.population,B.rabbit_population.population,B.fox_population.population,C.rabbit_population.population,C.fox_population.population,D.rabbit_population.population,D.fox_population.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 (32): * Single equations (assignments): 32 * 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.0001289/0.1378, allocations: 123.1 kB / 397.4 MB, free: 13.58 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004175/0.1382, allocations: 279.7 kB / 397.7 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1382, allocations: 0 / 397.7 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001612/0.1384, allocations: 127.8 kB / 397.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006895/0.1391, allocations: 60.66 kB / 397.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.1405, allocations: 0.9148 MB / 398.8 MB, free: 12.17 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006696/0.1411, allocations: 0.815 MB / 399.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001397/0.1413, allocations: 34.95 kB / 399.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.729e-05/0.1414, allocations: 23.44 kB / 399.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1414, allocations: 0 / 399.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of Templates: time 0.006379/0.1478, allocations: 2.807 MB / 402.5 MB, free: 8.48 MB / 302.1 MB make -j1 -f ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.makefile (rm -f ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe >> ../files/ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.sim & ./ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe 2>&1)