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.001087/0.001088, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007514/0.007514, allocations: 170 kB / 16.26 MB, free: 6.68 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.731/1.731, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.0405/0.0405, allocations: 8.107 MB / 278.8 MB, free: 13.11 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.0008594/0.0008591, allocations: 20 kB / 338.9 MB, free: 26.66 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1296, allocations: 49.27 MB / 388.2 MB, free: 9.344 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations): time 0.001453/0.1311, allocations: 0.8783 MB / 389 MB, free: 8.465 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.1322, allocations: 366.7 kB / 389.4 MB, free: 8.105 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000311/0.1325, allocations: 8 kB / 389.4 MB, free: 8.098 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000117/0.1327, allocations: 35.61 kB / 389.4 MB, free: 8.062 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002657/0.1329, allocations: 27.8 kB / 389.5 MB, free: 8.035 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004096/0.1334, allocations: 123.8 kB / 389.6 MB, free: 7.914 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005582/0.1339, allocations: 351.2 kB / 389.9 MB, free: 7.57 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004593/0.1344, allocations: 218 kB / 390.1 MB, free: 7.352 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.1346, allocations: 123.3 kB / 390.3 MB, free: 7.23 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002449/0.1348, allocations: 163 kB / 390.4 MB, free: 7.07 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.737e-05/0.1349, allocations: 24 kB / 390.4 MB, free: 7.047 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.511e-05/0.135, allocations: 24 kB / 390.5 MB, free: 7.023 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.315e-05/0.1351, allocations: 83.56 kB / 390.6 MB, free: 6.941 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002004/0.1353, allocations: 204.5 kB / 390.8 MB, free: 6.734 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004876/0.1358, allocations: 0.5409 MB / 391.3 MB, free: 6.191 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1358, allocations: 0 / 391.3 MB, free: 6.191 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.1358, allocations: 4 kB / 391.3 MB, free: 6.188 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.124e-05/0.1358, allocations: 0 / 391.3 MB, free: 6.188 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.0009965/0.1368, allocations: 0.6202 MB / 391.9 MB, free: 5.512 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.1369, allocations: 8.031 kB / 391.9 MB, free: 5.504 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001226/0.137, allocations: 60.22 kB / 392 MB, free: 5.445 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004915/0.1375, allocations: 335.4 kB / 392.3 MB, free: 5.078 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.49e-05/0.1376, allocations: 29.38 kB / 392.3 MB, free: 5.051 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-05/0.1376, allocations: 48.31 kB / 392.4 MB, free: 5.004 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007354/0.1384, allocations: 422.5 kB / 392.8 MB, free: 4.574 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/0.1384, allocations: 12.09 kB / 392.8 MB, free: 4.562 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.22e-05/0.1385, allocations: 19.94 kB / 392.8 MB, free: 4.543 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.1385, allocations: 12 kB / 392.8 MB, free: 4.531 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004585/0.1389, allocations: 264.8 kB / 393.1 MB, free: 4.273 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002118/0.1411, allocations: 1.456 MB / 394.6 MB, free: 2.754 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005598/0.1417, allocations: 362.1 kB / 394.9 MB, free: 2.363 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002208/0.1419, allocations: 164 kB / 395.1 MB, free: 2.191 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.1419, allocations: 11.98 kB / 395.1 MB, free: 2.18 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.889e-05/0.142, allocations: 42.5 kB / 395.1 MB, free: 2.129 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 3.036e-06/0.142, allocations: 0 / 395.1 MB, free: 2.129 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.0008308/0.1428, allocations: 353.2 kB / 395.5 MB, free: 1.777 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.143, allocations: 136.5 kB / 395.6 MB, free: 1.613 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004327/0.1434, allocations: 267 kB / 395.9 MB, free: 1.344 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.269e-05/0.1435, allocations: 37.7 kB / 395.9 MB, free: 1.301 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002854/0.1438, allocations: 235.9 kB / 396.1 MB, free: 1.062 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.1439, allocations: 118.3 kB / 396.2 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.204e-05/0.144, allocations: 37.7 kB / 396.3 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002115/0.1442, allocations: 350.7 kB / 396.6 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.1444, allocations: 92.84 kB / 396.7 MB, free: 468 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002453/0.1447, allocations: 190.6 kB / 396.9 MB, free: 240 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004856/0.1452, allocations: 314 kB / 397.2 MB, free: 15.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.1452, allocations: 0 / 397.2 MB, free: 15.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006115/0.1458, allocations: 369 kB / 397.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.1459, allocations: 4 kB / 397.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.1459, allocations: 4 kB / 397.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/0.1459, allocations: 4 kB / 397.6 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003524/0.1463, allocations: 91.83 kB / 397.7 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.1463, allocations: 4 kB / 397.7 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.1464, allocations: 31.62 kB / 397.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.934e-05/0.1465, allocations: 16.22 kB / 397.7 MB, free: 15.37 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.0002155/0.1467, allocations: 177.7 kB / 397.9 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.1468, allocations: 31.62 kB / 397.9 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.1469, allocations: 37.73 kB / 398 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.1469, allocations: 8 kB / 398 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.1469, allocations: 0 / 398 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.147, allocations: 7.922 kB / 398 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000682/0.1476, allocations: 453.2 kB / 398.4 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/0.1477, allocations: 4 kB / 398.4 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003235/0.148, allocations: 71.91 kB / 398.5 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.148, allocations: 0 / 398.5 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.773e-05/0.148, allocations: 11.98 kB / 398.5 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.1481, allocations: 5.25 kB / 398.5 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1481, allocations: 0 / 398.5 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007132/0.1488, allocations: 0.7122 MB / 399.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.066e-05/0.1489, allocations: 108.7 kB / 399.3 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.707e-05/0.1489, allocations: 8 kB / 399.3 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.1491, allocations: 11.94 kB / 399.3 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.1492, allocations: 27.89 kB / 399.4 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.1492, allocations: 8 kB / 399.4 MB, free: 13.61 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001777/0.1494, allocations: 198 kB / 399.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1494, allocations: 0 / 399.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000465/0.1499, allocations: 75.69 kB / 399.7 MB, free: 13.34 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.00015/0.15, allocations: 119.1 kB / 399.8 MB, free: 13.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004291/0.1505, allocations: 260.5 kB / 400 MB, free: 12.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.1505, allocations: 4 kB / 400 MB, free: 12.96 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001642/0.1507, allocations: 128.2 kB / 400.2 MB, free: 12.83 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007994/0.1515, allocations: 65.28 kB / 400.2 MB, free: 12.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.1529, allocations: 0.9386 MB / 401.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006235/0.1535, allocations: 0.8076 MB / 402 MB, free: 10.95 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001807/0.1537, allocations: 38.94 kB / 402 MB, free: 10.91 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.024e-05/0.1538, allocations: 23.44 kB / 402 MB, free: 10.89 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1538, allocations: 0 / 402 MB, free: 10.89 MB / 302.1 MB Notification: Performance of Templates: time 0.00739/0.1612, allocations: 2.676 MB / 404.7 MB, free: 8.234 MB / 302.1 MB make -j1 -f ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: