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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) 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.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.003808/0.003808, allocations: 175.8 kB / 15.12 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.019/1.019, allocations: 194.5 MB / 210.3 MB, free: 7.543 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03672/0.03672, allocations: 8.096 MB / 263.6 MB, free: 2.156 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001482/0.001482, allocations: 112.5 kB / 310.6 MB, free: 27.02 MB / 234.7 MB Warning: Ignoring unknown experiment annotation option: Intervals = 0.008 Notification: Performance of FrontEnd - loaded program: time 0.0002948/0.0002948, allocations: 12 kB / 367.3 MB, free: 2.293 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1684, allocations: 46.19 MB / 413.5 MB, free: 47.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06721/0.2357, allocations: 71.26 MB / 484.7 MB, free: 14.54 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000119/0.2358, allocations: 54.05 kB / 484.8 MB, free: 14.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01181/0.2477, allocations: 5.751 MB / 490.5 MB, free: 8.742 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.2477, allocations: 0 / 490.5 MB, free: 8.742 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.864e-05/0.2477, allocations: 8 kB / 490.5 MB, free: 8.734 MB / 330.7 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.0007265/0.2484, allocations: 0.6351 MB / 491.2 MB, free: 8.051 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.2485, allocations: 8.031 kB / 491.2 MB, free: 8.043 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.148e-05/0.2486, allocations: 51.44 kB / 491.2 MB, free: 7.992 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003521/0.2489, allocations: 346 kB / 491.6 MB, free: 7.613 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.249, allocations: 37 kB / 491.6 MB, free: 7.578 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.653e-05/0.249, allocations: 44 kB / 491.6 MB, free: 7.535 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005365/0.2496, allocations: 417.8 kB / 492 MB, free: 7.113 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.2496, allocations: 11.91 kB / 492 MB, free: 7.102 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.458e-05/0.2496, allocations: 19.94 kB / 492.1 MB, free: 7.082 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.2496, allocations: 8 kB / 492.1 MB, free: 7.074 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003705/0.25, allocations: 255.8 kB / 492.3 MB, free: 6.824 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001604/0.2516, allocations: 1.448 MB / 493.8 MB, free: 5.312 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004503/0.2521, allocations: 358.5 kB / 494.1 MB, free: 4.926 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.2521, allocations: 7.984 kB / 494.1 MB, free: 4.918 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.2522, allocations: 46.5 kB / 494.2 MB, free: 4.863 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 1.462e-06/0.2522, allocations: 0 / 494.2 MB, free: 4.863 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.000539/0.2527, allocations: 345.8 kB / 494.5 MB, free: 4.52 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.2528, allocations: 136.5 kB / 494.6 MB, free: 4.355 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.253, allocations: 238.1 kB / 494.9 MB, free: 4.113 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.253, allocations: 37.7 kB / 494.9 MB, free: 4.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.2531, allocations: 232 kB / 495.1 MB, free: 3.84 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.085e-05/0.2532, allocations: 122.2 kB / 495.3 MB, free: 3.719 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.264e-05/0.2532, allocations: 8 kB / 495.3 MB, free: 3.711 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.256e-05/0.2533, allocations: 342.8 kB / 495.6 MB, free: 3.367 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.2534, allocations: 96.83 kB / 495.7 MB, free: 3.273 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/0.2536, allocations: 182.6 kB / 495.9 MB, free: 3.062 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.2538, allocations: 120 kB / 496 MB, free: 2.945 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2538, allocations: 0 / 496 MB, free: 2.945 MB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004391/0.2542, allocations: 372.9 kB / 496.4 MB, free: 2.574 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.2543, allocations: 4 kB / 496.4 MB, free: 2.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2543, allocations: 4 kB / 496.4 MB, free: 2.566 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.2543, allocations: 4 kB / 496.4 MB, free: 2.562 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003136/0.2546, allocations: 87.83 kB / 496.5 MB, free: 2.477 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.2546, allocations: 4 kB / 496.5 MB, free: 2.473 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.2547, allocations: 35.94 kB / 496.5 MB, free: 2.438 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.2548, allocations: 19.98 kB / 496.5 MB, free: 2.418 MB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001394/0.2549, allocations: 169.7 kB / 496.7 MB, free: 2.242 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.535e-05/0.255, allocations: 35.58 kB / 496.7 MB, free: 2.207 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.642e-05/0.2551, allocations: 41.73 kB / 496.8 MB, free: 2.168 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.2551, allocations: 4 kB / 496.8 MB, free: 2.164 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2551, allocations: 3.938 kB / 496.8 MB, free: 2.16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.2551, allocations: 0 / 496.8 MB, free: 2.16 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005267/0.2556, allocations: 457.2 kB / 497.2 MB, free: 1.664 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2557, allocations: 8 kB / 497.2 MB, free: 1.656 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002952/0.256, allocations: 63.89 kB / 497.3 MB, free: 1.594 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.256, allocations: 3.953 kB / 497.3 MB, free: 1.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.256, allocations: 12 kB / 497.3 MB, free: 1.578 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.256, allocations: 4 kB / 497.3 MB, free: 1.574 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.256, allocations: 0 / 497.3 MB, free: 1.574 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005805/0.2566, allocations: 0.7266 MB / 498 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.097e-05/0.2567, allocations: 116.7 kB / 498.1 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/0.2567, allocations: 11.94 kB / 498.2 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.2569, allocations: 4 kB / 498.2 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.2569, allocations: 27.97 kB / 498.2 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.257, allocations: 8 kB / 498.2 MB, free: 0.625 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001408/0.2571, allocations: 190 kB / 498.4 MB, free: 452 kB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2571, allocations: 0 / 498.4 MB, free: 452 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003861/0.2575, allocations: 87.58 kB / 498.5 MB, free: 364 kB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001034/0.2576, allocations: 124.7 kB / 498.6 MB, free: 228 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003365/0.258, allocations: 260.6 kB / 498.8 MB, free: 15.97 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.258, allocations: 4 kB / 498.8 MB, free: 15.96 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.2581, allocations: 125.2 kB / 499 MB, free: 15.84 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.2585, allocations: 74.86 kB / 499 MB, free: 15.77 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009378/0.2595, allocations: 0.8901 MB / 499.9 MB, free: 14.85 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.2598, allocations: 0.8192 MB / 0.489 GB, free: 14 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001194/0.2599, allocations: 37.3 kB / 0.489 GB, free: 13.96 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.136e-05/0.26, allocations: 23.44 kB / 0.4891 GB, free: 13.94 MB / 346.7 MB Notification: Performance of SimCode: time 2.1e-07/0.26, allocations: 0 / 0.4891 GB, free: 13.94 MB / 346.7 MB Notification: Performance of Templates: time 0.004784/0.2648, allocations: 2.66 MB / 0.4917 GB, free: 11.31 MB / 346.7 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)