Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent.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.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent") translateModel(ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent") [: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.002266/0.002266, allocations: 189.5 kB / 7.462 MB, free: 2.512 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.9925/0.9925, allocations: 194.2 MB / 202.1 MB, free: 8.66 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03256/0.03256, allocations: 7.924 MB / 254.9 MB, free: 1.734 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.001541/0.001541, allocations: 133 kB / 301.5 MB, free: 3.309 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 6.322e-06/6.342e-06, allocations: 0 / 353.8 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1743, allocations: 46.2 MB / 400 MB, free: 70.29 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06549/0.2399, allocations: 70.49 MB / 470.4 MB, free: 0.918 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001316/0.24, allocations: 55.91 kB / 470.5 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.007973/0.248, allocations: 3.245 MB / 473.7 MB, free: 13.61 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.705e-05/0.2481, allocations: 8.125 kB / 473.8 MB, free: 13.6 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0004811/0.2486, allocations: 422.4 kB / 474.2 MB, free: 13.14 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.2486, allocations: 13.03 kB / 474.2 MB, free: 13.13 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.153e-05/0.2487, allocations: 19.72 kB / 474.2 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.2489, allocations: 214.8 kB / 474.4 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.249, allocations: 11.98 kB / 474.4 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.38e-05/0.249, allocations: 8 kB / 474.4 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002239/0.2492, allocations: 96.75 kB / 474.5 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.2495, allocations: 132.2 kB / 474.7 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.2495, allocations: 3.906 kB / 474.7 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.2495, allocations: 0 / 474.7 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.2495, allocations: 7.984 kB / 474.7 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008073/0.2504, allocations: 0.5314 MB / 475.2 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.2505, allocations: 73.72 kB / 475.3 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.2506, allocations: 72.8 kB / 475.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.2507, allocations: 0 / 475.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.2507, allocations: 46.47 kB / 475.4 MB, free: 11.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 9.92e-07/0.2507, allocations: 0 / 475.4 MB, free: 11.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002469/0.251, allocations: 117.9 kB / 475.5 MB, free: 11.7 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.251, allocations: 55.41 kB / 475.6 MB, free: 11.64 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.448e-05/0.2511, allocations: 120.4 kB / 475.7 MB, free: 11.52 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.2511, allocations: 25.7 kB / 475.7 MB, free: 11.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.186e-05/0.2512, allocations: 128.3 kB / 475.8 MB, free: 11.36 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.831e-05/0.2512, allocations: 43.27 kB / 475.9 MB, free: 11.31 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.013e-06/0.2512, allocations: 0 / 475.9 MB, free: 11.31 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.2514, allocations: 330.8 kB / 476.2 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.195e-05/0.2514, allocations: 36 kB / 476.2 MB, free: 10.95 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.392e-05/0.2515, allocations: 35.91 kB / 476.3 MB, free: 10.91 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.065e-05/0.2516, allocations: 47.98 kB / 476.3 MB, free: 10.86 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2516, allocations: 0 / 476.3 MB, free: 10.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005766/0.2522, allocations: 237.5 kB / 476.5 MB, free: 10.62 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.2522, allocations: 8 kB / 476.5 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.2522, allocations: 0 / 476.5 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005675/0.2528, allocations: 140.8 kB / 476.7 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.367e-05/0.2529, allocations: 8 kB / 476.7 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002048/0.2549, allocations: 1.76 MB / 478.5 MB, free: 8.598 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.128e-05/0.255, allocations: 3.938 kB / 478.5 MB, free: 8.594 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.255, allocations: 8 kB / 478.5 MB, free: 8.586 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 7.564e-05/0.2551, allocations: 112.7 kB / 478.6 MB, free: 8.469 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.726e-05/0.2551, allocations: 11.91 kB / 478.6 MB, free: 8.457 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.594e-05/0.2552, allocations: 16.42 kB / 478.6 MB, free: 8.438 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.2552, allocations: 4 kB / 478.6 MB, free: 8.434 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.2552, allocations: 0 / 478.6 MB, free: 8.434 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.2552, allocations: 0 / 478.6 MB, free: 8.434 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002313/0.2554, allocations: 230 kB / 478.8 MB, free: 8.172 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2554, allocations: 0 / 478.8 MB, free: 8.172 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001774/0.2556, allocations: 31.97 kB / 478.9 MB, free: 8.141 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.516e-05/0.2556, allocations: 7.906 kB / 478.9 MB, free: 8.133 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.2557, allocations: 7.938 kB / 478.9 MB, free: 8.125 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2557, allocations: 0 / 478.9 MB, free: 8.125 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2557, allocations: 0 / 478.9 MB, free: 8.125 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002956/0.256, allocations: 267.3 kB / 479.1 MB, free: 7.848 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.989e-05/0.256, allocations: 89.09 kB / 479.2 MB, free: 7.742 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.2561, allocations: 4 kB / 479.2 MB, free: 7.738 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.512e-05/0.2561, allocations: 0 / 479.2 MB, free: 7.738 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.571e-05/0.2562, allocations: 15.98 kB / 479.2 MB, free: 7.723 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.2562, allocations: 8.047 kB / 479.3 MB, free: 7.715 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.928e-05/0.2563, allocations: 99.2 kB / 479.3 MB, free: 7.617 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002662/0.2565, allocations: 39.75 kB / 479.4 MB, free: 7.578 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (rabbits.population,foxes.population,wolves.population) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0001225/0.2567, allocations: 103.2 kB / 479.5 MB, free: 7.469 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004074/0.2571, allocations: 241.3 kB / 479.7 MB, free: 7.227 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2571, allocations: 4 kB / 479.7 MB, free: 7.223 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.157e-05/0.2572, allocations: 51.94 kB / 479.8 MB, free: 7.172 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.2574, allocations: 21.11 kB / 479.8 MB, free: 7.152 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004885/0.2579, allocations: 233 kB / 480 MB, free: 6.895 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003142/0.2582, allocations: 0.7361 MB / 480.8 MB, free: 6.133 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2582, allocations: 0 / 480.8 MB, free: 6.133 MB / 330.7 MB Notification: Performance of Templates: time 0.004122/0.2624, allocations: 1.983 MB / 482.7 MB, free: 4.164 MB / 330.7 MB make -j1 -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent.makefile (rm -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent.sim & ./ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent.pipe 2>&1)