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.006694/0.006694, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001443/0.001443, allocations: 191.3 kB / 16.67 MB, free: 5.523 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.702/1.702, allocations: 205.1 MB / 222.5 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.04114/0.04114, allocations: 8.112 MB / 278 MB, free: 3.938 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.001719/0.001719, allocations: 66.53 kB / 386.6 MB, free: 47.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1243, allocations: 48.32 MB / 435 MB, free: 8.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations): time 0.002316/0.1267, allocations: 1.207 MB / 436.2 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008349/0.1276, allocations: 382.6 kB / 436.5 MB, free: 7.012 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003852/0.128, allocations: 8 kB / 436.5 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002276/0.1283, allocations: 51.31 kB / 436.6 MB, free: 6.953 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003821/0.1287, allocations: 55.48 kB / 436.6 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000358/0.129, allocations: 147.8 kB / 436.8 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003631/0.1294, allocations: 391.1 kB / 437.2 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003492/0.1298, allocations: 260.8 kB / 437.4 MB, free: 6.113 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.1299, allocations: 163.4 kB / 437.6 MB, free: 5.953 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002043/0.1301, allocations: 198.9 kB / 437.8 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.261e-05/0.1302, allocations: 60 kB / 437.8 MB, free: 5.699 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.404e-05/0.1302, allocations: 56 kB / 437.9 MB, free: 5.645 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.99e-05/0.1303, allocations: 123.6 kB / 438 MB, free: 5.523 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.1304, allocations: 218.8 kB / 438.2 MB, free: 5.309 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003638/0.1308, allocations: 0.5841 MB / 438.8 MB, free: 4.723 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1308, allocations: 3.938 kB / 438.8 MB, free: 4.719 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1308, allocations: 0 / 438.8 MB, free: 4.719 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.1308, allocations: 0 / 438.8 MB, free: 4.719 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.0008248/0.1317, allocations: 0.7174 MB / 439.5 MB, free: 3.949 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.1317, allocations: 15.89 kB / 439.6 MB, free: 3.934 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.284e-05/0.1318, allocations: 48.38 kB / 439.6 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.1321, allocations: 343.3 kB / 439.9 MB, free: 3.512 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.1321, allocations: 33.31 kB / 440 MB, free: 3.477 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.678e-05/0.1322, allocations: 48.38 kB / 440 MB, free: 3.43 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006454/0.1328, allocations: 422.4 kB / 440.4 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.362e-05/0.1329, allocations: 12.09 kB / 440.4 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.191e-05/0.133, allocations: 19.94 kB / 440.5 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.133, allocations: 12 kB / 440.5 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004011/0.1334, allocations: 259.8 kB / 440.7 MB, free: 2.703 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/0.1349, allocations: 1.432 MB / 442.2 MB, free: 1.207 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000449/0.1354, allocations: 366.3 kB / 442.5 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.1356, allocations: 167.4 kB / 442.7 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.1356, allocations: 8 kB / 442.7 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.1356, allocations: 46.48 kB / 442.7 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 2.214e-06/0.1356, allocations: 0 / 442.7 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.0005366/0.1362, allocations: 354.4 kB / 443.1 MB, free: 228 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.1362, allocations: 136.5 kB / 443.2 MB, free: 60 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002722/0.1365, allocations: 275.1 kB / 443.5 MB, free: 15.78 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.1365, allocations: 33.7 kB / 443.5 MB, free: 15.74 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.1367, allocations: 232 kB / 443.7 MB, free: 15.51 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.17e-05/0.1368, allocations: 118.1 kB / 443.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.64e-05/0.1369, allocations: 74.12 kB / 443.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.137, allocations: 342.8 kB / 444.3 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.1372, allocations: 100.8 kB / 444.4 MB, free: 14.88 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.1374, allocations: 182.6 kB / 444.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000394/0.1378, allocations: 306 kB / 444.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.1378, allocations: 0 / 444.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005031/0.1383, allocations: 368.9 kB / 445.2 MB, free: 13.95 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.1384, allocations: 4 kB / 445.2 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.1384, allocations: 4 kB / 445.2 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.1384, allocations: 4.375 kB / 445.2 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003526/0.1387, allocations: 91.83 kB / 445.3 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.1388, allocations: 4 kB / 445.3 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.1389, allocations: 31.88 kB / 445.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.1389, allocations: 27.92 kB / 445.4 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.0001767/0.1391, allocations: 173.7 kB / 445.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.1392, allocations: 31.62 kB / 445.6 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.552e-05/0.1393, allocations: 37.73 kB / 445.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.1393, allocations: 4 kB / 445.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.435e-06/0.1393, allocations: 4 kB / 445.6 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.1394, allocations: 3.938 kB / 445.6 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000643/0.14, allocations: 465.1 kB / 446.1 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.14, allocations: 0 / 446.1 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003209/0.1403, allocations: 67.89 kB / 446.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.1404, allocations: 0 / 446.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.1404, allocations: 12 kB / 446.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.1404, allocations: 4 kB / 446.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1404, allocations: 0 / 446.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006946/0.1411, allocations: 0.7045 MB / 446.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.679e-05/0.1412, allocations: 108.7 kB / 447 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/0.1412, allocations: 8 kB / 447 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.1414, allocations: 8 kB / 447 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.1415, allocations: 23.91 kB / 447 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.1415, allocations: 12 kB / 447 MB, free: 12.04 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001832/0.1417, allocations: 194 kB / 447.2 MB, free: 11.85 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1417, allocations: 0 / 447.2 MB, free: 11.85 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004625/0.1422, allocations: 87.62 kB / 447.3 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.0001228/0.1423, allocations: 111.2 kB / 447.4 MB, free: 11.64 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004351/0.1428, allocations: 267.8 kB / 447.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.1428, allocations: 0 / 447.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001719/0.1429, allocations: 123.8 kB / 447.8 MB, free: 11.26 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000772/0.1437, allocations: 81.84 kB / 447.9 MB, free: 11.19 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.1449, allocations: 0.7268 MB / 448.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004331/0.1453, allocations: 0.812 MB / 449.4 MB, free: 9.582 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000133/0.1455, allocations: 30.95 kB / 449.4 MB, free: 9.551 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.888e-05/0.1455, allocations: 31.42 kB / 449.5 MB, free: 9.52 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1455, allocations: 0 / 449.5 MB, free: 9.52 MB / 334.1 MB Notification: Performance of Templates: time 0.006407/0.1519, allocations: 2.887 MB / 452.3 MB, free: 6.656 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)