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.001365/0.001365, allocations: 106.6 kB / 16.41 MB, free: 6.457 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.001266/0.001266, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.461/1.461, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04145/0.04145, allocations: 8.108 MB / 278.7 MB, free: 3.93 MB / 222.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.0015/0.0015, allocations: 71.7 kB / 387.3 MB, free: 47.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1091, allocations: 48.31 MB / 435.6 MB, free: 8.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations): time 0.002272/0.1115, allocations: 1.217 MB / 436.8 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006367/0.1121, allocations: 382.6 kB / 437.2 MB, free: 6.996 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.1123, allocations: 8 kB / 437.2 MB, free: 6.988 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.81e-05/0.1124, allocations: 55.3 kB / 437.3 MB, free: 6.934 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.1125, allocations: 51.42 kB / 437.3 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/0.1128, allocations: 135.9 kB / 437.5 MB, free: 6.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003246/0.1132, allocations: 395.1 kB / 437.8 MB, free: 6.363 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003441/0.1135, allocations: 256.9 kB / 438.1 MB, free: 6.109 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.1136, allocations: 167.3 kB / 438.3 MB, free: 5.945 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.1138, allocations: 191 kB / 438.4 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.153e-05/0.1138, allocations: 60 kB / 438.5 MB, free: 5.699 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.004e-05/0.1139, allocations: 64 kB / 438.6 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.251e-05/0.114, allocations: 111.6 kB / 438.7 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.1141, allocations: 230.7 kB / 438.9 MB, free: 5.301 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003917/0.1145, allocations: 0.5763 MB / 439.5 MB, free: 4.723 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1145, allocations: 3.938 kB / 439.5 MB, free: 4.719 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1145, allocations: 0 / 439.5 MB, free: 4.719 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.1146, allocations: 4 kB / 439.5 MB, free: 4.715 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.0008624/0.1154, allocations: 0.7174 MB / 440.2 MB, free: 3.945 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.1155, allocations: 11.89 kB / 440.2 MB, free: 3.934 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.346e-05/0.1156, allocations: 52.38 kB / 440.3 MB, free: 3.883 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/0.1159, allocations: 335.2 kB / 440.6 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/0.1159, allocations: 41.38 kB / 440.6 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.196e-05/0.116, allocations: 44.38 kB / 440.7 MB, free: 3.43 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005105/0.1165, allocations: 426.4 kB / 441.1 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.1165, allocations: 8.078 kB / 441.1 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.657e-05/0.1166, allocations: 23.94 kB / 441.1 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.1166, allocations: 12 kB / 441.1 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003379/0.1169, allocations: 263.8 kB / 441.4 MB, free: 2.695 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001435/0.1184, allocations: 1.436 MB / 442.8 MB, free: 1.195 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000441/0.1188, allocations: 358.1 kB / 443.2 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.119, allocations: 167.4 kB / 443.3 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.119, allocations: 4 kB / 443.4 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.1191, allocations: 42.5 kB / 443.4 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.553e-06/0.1191, allocations: 3.938 kB / 443.4 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.0005302/0.1196, allocations: 365.9 kB / 443.8 MB, free: 216 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.1197, allocations: 136.5 kB / 443.9 MB, free: 48 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/0.1199, allocations: 263 kB / 444.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.12, allocations: 33.7 kB / 444.2 MB, free: 15.74 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.1201, allocations: 232 kB / 444.4 MB, free: 15.51 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.337e-05/0.1202, allocations: 126.2 kB / 444.5 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.52e-05/0.1203, allocations: 66.14 kB / 444.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1205, allocations: 346.7 kB / 444.9 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.1206, allocations: 92.84 kB / 445 MB, free: 14.88 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002241/0.1209, allocations: 198.6 kB / 445.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003828/0.1213, allocations: 302 kB / 445.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.1213, allocations: 4 kB / 445.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004891/0.1218, allocations: 364.8 kB / 445.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.1218, allocations: 8 kB / 445.9 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1218, allocations: 0 / 445.9 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.1218, allocations: 4 kB / 445.9 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003368/0.1222, allocations: 87.89 kB / 446 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.1222, allocations: 12.25 kB / 446 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.1223, allocations: 31.62 kB / 446 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.1224, allocations: 12.38 kB / 446 MB, free: 13.79 MB / 334.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.0001744/0.1225, allocations: 169.7 kB / 446.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.1226, allocations: 39.61 kB / 446.2 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.265e-05/0.1227, allocations: 33.75 kB / 446.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.1228, allocations: 11.92 kB / 446.3 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.1228, allocations: 0 / 446.3 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.1228, allocations: 7.938 kB / 446.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006112/0.1234, allocations: 469.1 kB / 446.7 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1234, allocations: 0 / 446.7 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003072/0.1237, allocations: 63.89 kB / 446.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.1237, allocations: 4 kB / 446.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.1238, allocations: 8 kB / 446.8 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.1238, allocations: 0 / 446.8 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1238, allocations: 0 / 446.8 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006683/0.1244, allocations: 0.7084 MB / 447.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.546e-05/0.1245, allocations: 112.7 kB / 447.6 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.623e-05/0.1246, allocations: 11.98 kB / 447.6 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.1248, allocations: 4 kB / 447.6 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.806e-05/0.1249, allocations: 23.92 kB / 447.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.1249, allocations: 12 kB / 447.7 MB, free: 12.03 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001768/0.1251, allocations: 194 kB / 447.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1251, allocations: 0 / 447.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004402/0.1255, allocations: 79.62 kB / 447.9 MB, free: 11.76 MB / 334.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.0001397/0.1257, allocations: 115.2 kB / 448.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004485/0.1261, allocations: 263.7 kB / 448.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.1261, allocations: 0.5 kB / 448.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001947/0.1263, allocations: 133.2 kB / 448.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007794/0.1271, allocations: 81.64 kB / 448.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.1283, allocations: 0.7484 MB / 449.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004398/0.1287, allocations: 0.8113 MB / 450.1 MB, free: 9.543 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.9e-05/0.1288, allocations: 31.44 kB / 450.1 MB, free: 9.512 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1288, allocations: 0 / 450.1 MB, free: 9.512 MB / 334.1 MB Notification: Performance of Templates: time 0.00663/0.1355, allocations: 4.245 MB / 454.4 MB, free: 5.27 MB / 334.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)