Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.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.ClassicLotkaVolterra,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra") translateModel(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001281/0.001281, allocations: 185.5 kB / 15.98 MB, free: 5.766 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.371/1.371, allocations: 194.2 MB / 210.9 MB, free: 2.367 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03761/0.03761, allocations: 8.117 MB / 263.3 MB, free: 12.64 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.001889/0.00189, allocations: 132 kB / 309.4 MB, free: 14.46 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001475, allocations: 67.89 kB / 365.4 MB, free: 6.316 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2645, allocations: 45.26 MB / 410.7 MB, free: 66.82 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.001779/0.2663, allocations: 0.6237 MB / 411.3 MB, free: 66.2 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002641/0.2666, allocations: 115.6 kB / 411.4 MB, free: 66.09 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.995e-05/0.2667, allocations: 4 kB / 411.4 MB, free: 66.08 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 5.294e-05/0.2667, allocations: 3.938 kB / 411.4 MB, free: 66.08 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 6.729e-05/0.2668, allocations: 3.938 kB / 411.4 MB, free: 66.07 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.267, allocations: 27.98 kB / 411.4 MB, free: 66.05 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.2671, allocations: 63.84 kB / 411.5 MB, free: 65.98 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.2672, allocations: 35.95 kB / 411.5 MB, free: 65.95 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.648e-05/0.2673, allocations: 31.86 kB / 411.6 MB, free: 65.92 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.046e-05/0.2674, allocations: 27.84 kB / 411.6 MB, free: 65.89 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.2674, allocations: 11.94 kB / 411.6 MB, free: 65.88 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.991e-05/0.2674, allocations: 4 kB / 411.6 MB, free: 65.88 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.679e-05/0.2674, allocations: 19.92 kB / 411.6 MB, free: 65.86 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.201e-05/0.2675, allocations: 35.8 kB / 411.7 MB, free: 65.82 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.2676, allocations: 87.66 kB / 411.8 MB, free: 65.73 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2676, allocations: 4 kB / 411.8 MB, free: 65.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.2676, allocations: 0 / 411.8 MB, free: 65.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.2676, allocations: 4 kB / 411.8 MB, free: 65.73 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004573/0.2681, allocations: 385.8 kB / 412.1 MB, free: 65.3 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.2681, allocations: 8.031 kB / 412.1 MB, free: 65.29 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.201e-05/0.2682, allocations: 8.844 kB / 412.2 MB, free: 65.29 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.2684, allocations: 192.2 kB / 412.3 MB, free: 65.06 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.2685, allocations: 8.562 kB / 412.3 MB, free: 65.05 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.772e-05/0.2685, allocations: 20.36 kB / 412.4 MB, free: 65.03 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.2687, allocations: 89.98 kB / 412.5 MB, free: 64.94 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.2687, allocations: 0 / 412.5 MB, free: 64.94 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.2687, allocations: 4 kB / 412.5 MB, free: 64.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.2688, allocations: 4 kB / 412.5 MB, free: 64.93 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.894e-05/0.2689, allocations: 51.97 kB / 412.5 MB, free: 64.88 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005227/0.2694, allocations: 412.5 kB / 412.9 MB, free: 64.43 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.2696, allocations: 86.55 kB / 413 MB, free: 64.33 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.245e-05/0.2696, allocations: 36.84 kB / 413 MB, free: 64.29 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.2697, allocations: 4 kB / 413 MB, free: 64.29 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.612e-05/0.2697, allocations: 34.5 kB / 413.1 MB, free: 64.25 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.2697, allocations: 4 kB / 413.1 MB, free: 64.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002039/0.2699, allocations: 105.5 kB / 413.2 MB, free: 64.13 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.2699, allocations: 51.41 kB / 413.2 MB, free: 64.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.324e-05/0.27, allocations: 117.9 kB / 413.3 MB, free: 63.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.27, allocations: 29.64 kB / 413.4 MB, free: 63.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.327e-05/0.2701, allocations: 104 kB / 413.5 MB, free: 63.8 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.2701, allocations: 27.56 kB / 413.5 MB, free: 63.78 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.2701, allocations: 25.7 kB / 413.5 MB, free: 63.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.255e-05/0.2702, allocations: 318.8 kB / 413.8 MB, free: 63.43 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.674e-05/0.2702, allocations: 19.98 kB / 413.9 MB, free: 63.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.762e-05/0.2703, allocations: 20 kB / 413.9 MB, free: 63.39 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.381e-05/0.2703, allocations: 60.78 kB / 413.9 MB, free: 63.32 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2704, allocations: 0 / 413.9 MB, free: 63.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001/0.2705, allocations: 93.53 kB / 414 MB, free: 63.23 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.2705, allocations: 4 kB / 414 MB, free: 63.22 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.2705, allocations: 4 kB / 414 MB, free: 63.22 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.2705, allocations: 0 / 414 MB, free: 63.22 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.2706, allocations: 20 kB / 414.1 MB, free: 63.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.2706, allocations: 0 / 414.1 MB, free: 63.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.392e-05/0.2707, allocations: 11.92 kB / 414.1 MB, free: 63.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.2707, allocations: 288 / 414.1 MB, free: 63.19 MB / 314.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.239e-05/0.2707, allocations: 117.8 kB / 414.2 MB, free: 63.06 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.2708, allocations: 7.906 kB / 414.2 MB, free: 63.05 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.442e-05/0.2708, allocations: 12.31 kB / 414.2 MB, free: 63.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.2708, allocations: 4 kB / 414.2 MB, free: 63.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2708, allocations: 0 / 414.2 MB, free: 63.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2708, allocations: 7.938 kB / 414.2 MB, free: 63.03 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.271, allocations: 201.6 kB / 414.4 MB, free: 62.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.271, allocations: 0 / 414.4 MB, free: 62.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.877e-05/0.2711, allocations: 19.92 kB / 414.4 MB, free: 62.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2711, allocations: 0 / 414.4 MB, free: 62.77 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.2711, allocations: 4 kB / 414.4 MB, free: 62.76 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2711, allocations: 4 kB / 414.4 MB, free: 62.76 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2711, allocations: 0 / 414.4 MB, free: 62.76 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.2722, allocations: 1.333 MB / 415.8 MB, free: 61.29 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.869e-05/0.2722, allocations: 81.05 kB / 415.9 MB, free: 61.19 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/0.2723, allocations: 16.03 kB / 415.9 MB, free: 61.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.054e-05/0.2724, allocations: 0 / 415.9 MB, free: 61.18 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.127e-05/0.2724, allocations: 3.984 kB / 415.9 MB, free: 61.17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.2724, allocations: 4 kB / 415.9 MB, free: 61.17 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.848e-05/0.2724, allocations: 91.2 kB / 416 MB, free: 61.08 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2724, allocations: 4 kB / 416 MB, free: 61.07 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002811/0.2727, allocations: 19.91 kB / 416 MB, free: 61.05 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (rabbits.population,foxes.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 (8): * Single equations (assignments): 8 * 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 8.564e-05/0.2728, allocations: 100.7 kB / 416.1 MB, free: 60.95 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001173/0.2729, allocations: 59.92 kB / 416.1 MB, free: 60.89 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.2729, allocations: 0 / 416.1 MB, free: 60.89 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.637e-05/0.273, allocations: 35.92 kB / 416.2 MB, free: 60.86 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.2733, allocations: 12.78 kB / 416.2 MB, free: 60.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00042/0.2738, allocations: 379.2 kB / 416.6 MB, free: 60.43 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.2739, allocations: 0.6965 MB / 417.3 MB, free: 59.71 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.096e-05/0.2739, allocations: 4 kB / 417.3 MB, free: 59.71 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.827e-05/0.274, allocations: 11.44 kB / 417.3 MB, free: 59.7 MB / 314.7 MB Notification: Performance of SimCode: time 2e-07/0.274, allocations: 0 / 417.3 MB, free: 59.7 MB / 314.7 MB Notification: Performance of Templates: time 0.002705/0.2767, allocations: 0.8799 MB / 418.2 MB, free: 58.83 MB / 314.7 MB make -j1 -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.makefile (rm -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.sim & ./ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe 2>&1)