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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001837/0.001837, allocations: 183.7 kB / 7.461 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 0.923/0.923, allocations: 194.2 MB / 202.1 MB, free: 8.723 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03227/0.03227, allocations: 7.92 MB / 254.9 MB, free: 1.719 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001599/0.001599, allocations: 125 kB / 301.5 MB, free: 3.305 MB / 250.7 MB Warning: Ignoring unknown experiment annotation option: Intervals = 0.008 Notification: Performance of FrontEnd - loaded program: time 5.019e-06/5.049e-06, allocations: 0 / 353.8 MB, free: 14.95 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1551, allocations: 46.18 MB / 400 MB, free: 70.32 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06067/0.2158, allocations: 70.43 MB / 470.4 MB, free: 1.035 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 8.496e-05/0.2159, allocations: 51.92 kB / 470.4 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01145/0.2274, allocations: 5.38 MB / 475.8 MB, free: 11.6 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.2274, allocations: 8 kB / 475.8 MB, free: 11.59 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.0006857/0.2281, allocations: 0.6035 MB / 476.4 MB, free: 10.95 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.2281, allocations: 8.031 kB / 476.4 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.255e-05/0.2282, allocations: 51.44 kB / 476.5 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003801/0.2286, allocations: 345.6 kB / 476.8 MB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.2286, allocations: 12 kB / 476.8 MB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.801e-05/0.2287, allocations: 31.98 kB / 476.9 MB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003831/0.2291, allocations: 221.9 kB / 477.1 MB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005135/0.2296, allocations: 359.9 kB / 477.4 MB, free: 9.879 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.2296, allocations: 0 / 477.4 MB, free: 9.879 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.049e-05/0.2297, allocations: 4 kB / 477.4 MB, free: 9.875 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.2297, allocations: 8 kB / 477.4 MB, free: 9.867 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00156/0.2312, allocations: 1.355 MB / 478.8 MB, free: 8.461 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.2315, allocations: 190.8 kB / 479 MB, free: 8.25 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001889/0.2317, allocations: 151.4 kB / 479.1 MB, free: 8.09 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.2318, allocations: 15.92 kB / 479.1 MB, free: 8.074 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.2318, allocations: 39.12 kB / 479.2 MB, free: 8.027 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 1.453e-06/0.2318, allocations: 4 kB / 479.2 MB, free: 8.023 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.0004373/0.2322, allocations: 241.2 kB / 479.4 MB, free: 7.781 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.2323, allocations: 136.5 kB / 479.6 MB, free: 7.617 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.2325, allocations: 231.3 kB / 479.8 MB, free: 7.383 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.2325, allocations: 33.64 kB / 479.8 MB, free: 7.344 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.2326, allocations: 200 kB / 480 MB, free: 7.145 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.127e-05/0.2327, allocations: 110.3 kB / 480.1 MB, free: 7.035 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.079e-05/0.2327, allocations: 0 / 480.1 MB, free: 7.035 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.2328, allocations: 346.8 kB / 480.5 MB, free: 6.688 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.233, allocations: 80.88 kB / 480.5 MB, free: 6.609 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.2331, allocations: 175 kB / 480.7 MB, free: 6.406 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.2333, allocations: 115.9 kB / 480.8 MB, free: 6.293 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.2333, allocations: 0 / 480.8 MB, free: 6.293 MB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004214/0.2337, allocations: 312.9 kB / 481.1 MB, free: 5.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.2338, allocations: 4 kB / 481.1 MB, free: 5.977 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2338, allocations: 4 kB / 481.1 MB, free: 5.973 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.2338, allocations: 4 kB / 481.1 MB, free: 5.969 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003449/0.2341, allocations: 96.08 kB / 481.2 MB, free: 5.875 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.2342, allocations: 4 kB / 481.2 MB, free: 5.871 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.2343, allocations: 23.69 kB / 481.3 MB, free: 5.848 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.147e-05/0.2343, allocations: 19.98 kB / 481.3 MB, free: 5.828 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 () * 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 7.498e-05/0.2344, allocations: 116.5 kB / 481.4 MB, free: 5.707 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.2345, allocations: 39.62 kB / 481.4 MB, free: 5.668 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.883e-05/0.2346, allocations: 33.73 kB / 481.5 MB, free: 5.633 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.2346, allocations: 8 kB / 481.5 MB, free: 5.625 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2346, allocations: 4 kB / 481.5 MB, free: 5.621 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.2346, allocations: 0 / 481.5 MB, free: 5.621 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004846/0.2351, allocations: 397.6 kB / 481.9 MB, free: 5.195 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2351, allocations: 0 / 481.9 MB, free: 5.195 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003227/0.2354, allocations: 67.89 kB / 481.9 MB, free: 5.129 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.2354, allocations: 0 / 481.9 MB, free: 5.129 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.2355, allocations: 8 kB / 481.9 MB, free: 5.121 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.2355, allocations: 0 / 481.9 MB, free: 5.121 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.2355, allocations: 4 kB / 481.9 MB, free: 5.117 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005355/0.236, allocations: 0.7024 MB / 482.6 MB, free: 4.375 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.547e-05/0.2361, allocations: 116.6 kB / 482.8 MB, free: 4.242 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.2361, allocations: 8 kB / 482.8 MB, free: 4.234 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.2363, allocations: 3.906 kB / 482.8 MB, free: 4.23 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.967e-05/0.2364, allocations: 19.92 kB / 482.8 MB, free: 4.211 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.2364, allocations: 11.98 kB / 482.8 MB, free: 4.199 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001235/0.2365, allocations: 175.1 kB / 483 MB, free: 4.031 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003917/0.2369, allocations: 67.69 kB / 483 MB, free: 3.965 MB / 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 () * 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.0001063/0.237, allocations: 111.7 kB / 483.1 MB, free: 3.848 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003189/0.2374, allocations: 248 kB / 483.4 MB, free: 3.605 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2374, allocations: 0 / 483.4 MB, free: 3.605 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.2375, allocations: 107.9 kB / 483.5 MB, free: 3.5 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004463/0.2379, allocations: 65.89 kB / 483.6 MB, free: 3.434 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000841/0.2388, allocations: 0.5312 MB / 484.1 MB, free: 2.863 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003953/0.2392, allocations: 0.8493 MB / 484.9 MB, free: 1.984 MB / 330.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2392, allocations: 0 / 484.9 MB, free: 1.984 MB / 330.7 MB Notification: Performance of Templates: time 0.005632/0.2448, allocations: 3.013 MB / 488 MB, free: 14.99 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)