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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 101.7 kB / 16.35 MB, free: 5.875 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.001241/0.001241, allocations: 196 kB / 17.3 MB, free: 5.516 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.306/1.306, allocations: 205.1 MB / 223.2 MB, free: 12.11 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04279/0.04279, allocations: 8.107 MB / 278.6 MB, free: 3.938 MB / 222.1 MB 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.001561/0.001562, allocations: 71.91 kB / 338.6 MB, free: 7.809 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2527, allocations: 48.28 MB / 386.9 MB, free: 51.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.001801/0.2545, allocations: 0.5609 MB / 387.5 MB, free: 51.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002676/0.2548, allocations: 123.3 kB / 387.6 MB, free: 51.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.749e-05/0.2549, allocations: 1.844 kB / 387.6 MB, free: 51.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.927e-05/0.2549, allocations: 12.55 kB / 387.6 MB, free: 51.09 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.164e-05/0.255, allocations: 8.5 kB / 387.6 MB, free: 51.08 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001492/0.2551, allocations: 29.36 kB / 387.6 MB, free: 51.06 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.2553, allocations: 68.33 kB / 387.7 MB, free: 51.03 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.2554, allocations: 48.12 kB / 387.8 MB, free: 51.01 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.598e-05/0.2555, allocations: 32.84 kB / 387.8 MB, free: 50.99 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.042e-05/0.2555, allocations: 33.3 kB / 387.8 MB, free: 50.97 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.2556, allocations: 7.969 kB / 387.8 MB, free: 50.97 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.633e-05/0.2556, allocations: 11.03 kB / 387.8 MB, free: 50.97 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.46e-05/0.2556, allocations: 16.84 kB / 387.9 MB, free: 50.96 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.026e-05/0.2557, allocations: 40.38 kB / 387.9 MB, free: 50.93 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.2558, allocations: 90.75 kB / 388 MB, free: 50.9 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2558, allocations: 7 kB / 388 MB, free: 50.89 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2558, allocations: 3.375 kB / 388 MB, free: 50.89 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.2558, allocations: 0 / 388 MB, free: 50.89 MB / 318.1 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.0003836/0.2562, allocations: 380.5 kB / 388.4 MB, free: 50.52 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.2563, allocations: 13.75 kB / 388.4 MB, free: 50.52 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.166e-05/0.2563, allocations: 15 kB / 388.4 MB, free: 50.51 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.2565, allocations: 190.7 kB / 388.6 MB, free: 50.3 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.2565, allocations: 10.92 kB / 388.6 MB, free: 50.29 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.2565, allocations: 12 kB / 388.6 MB, free: 50.29 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.2567, allocations: 92.61 kB / 388.7 MB, free: 50.23 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.2567, allocations: 1.312 kB / 388.7 MB, free: 50.23 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.2567, allocations: 5.281 kB / 388.7 MB, free: 50.23 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.2567, allocations: 3.906 kB / 388.7 MB, free: 50.23 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.2568, allocations: 54.62 kB / 388.8 MB, free: 50.21 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005398/0.2574, allocations: 404 kB / 389.2 MB, free: 49.87 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.2576, allocations: 85.06 kB / 389.2 MB, free: 49.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.649e-05/0.2577, allocations: 37.97 kB / 389.3 MB, free: 49.8 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.2577, allocations: 2.516 kB / 389.3 MB, free: 49.8 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.2577, allocations: 40.81 kB / 389.3 MB, free: 49.76 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.2577, allocations: 0.5 kB / 389.3 MB, free: 49.76 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002344/0.258, allocations: 96.09 kB / 389.4 MB, free: 49.7 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.241e-05/0.258, allocations: 52.92 kB / 389.5 MB, free: 49.64 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.413e-05/0.2581, allocations: 116 kB / 389.6 MB, free: 49.53 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.2581, allocations: 31.08 kB / 389.6 MB, free: 49.5 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.612e-05/0.2581, allocations: 109.1 kB / 389.7 MB, free: 49.39 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.2582, allocations: 26.59 kB / 389.7 MB, free: 49.38 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-05/0.2582, allocations: 25.02 kB / 389.8 MB, free: 49.35 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.544e-05/0.2583, allocations: 317.1 kB / 390.1 MB, free: 49.04 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.018e-05/0.2583, allocations: 20.41 kB / 390.1 MB, free: 49.03 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.744e-05/0.2584, allocations: 26.44 kB / 390.1 MB, free: 49.02 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.74e-05/0.2584, allocations: 54.22 kB / 390.2 MB, free: 48.99 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2584, allocations: 0.8125 kB / 390.2 MB, free: 48.99 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001176/0.2586, allocations: 94.83 kB / 390.3 MB, free: 48.93 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.2586, allocations: 5.406 kB / 390.3 MB, free: 48.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2586, allocations: 1 kB / 390.3 MB, free: 48.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.2586, allocations: 0.75 kB / 390.3 MB, free: 48.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.2587, allocations: 21.86 kB / 390.3 MB, free: 48.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.2587, allocations: 2.281 kB / 390.3 MB, free: 48.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.551e-05/0.2588, allocations: 9.625 kB / 390.3 MB, free: 48.92 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.2588, allocations: 2.188 kB / 390.3 MB, free: 48.92 MB / 318.1 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 5.42e-05/0.2588, allocations: 124.3 kB / 390.4 MB, free: 48.79 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.2589, allocations: 3.25 kB / 390.4 MB, free: 48.79 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.397e-05/0.2589, allocations: 11.19 kB / 390.4 MB, free: 48.79 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.2589, allocations: 3.047 kB / 390.4 MB, free: 48.79 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2589, allocations: 0 / 390.4 MB, free: 48.79 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.2589, allocations: 5.625 kB / 390.5 MB, free: 48.79 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.2591, allocations: 205.2 kB / 390.7 MB, free: 48.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2591, allocations: 0.5312 kB / 390.7 MB, free: 48.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.237e-05/0.2592, allocations: 16.52 kB / 390.7 MB, free: 48.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2592, allocations: 0.75 kB / 390.7 MB, free: 48.57 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.2592, allocations: 5 kB / 390.7 MB, free: 48.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2592, allocations: 2.625 kB / 390.7 MB, free: 48.57 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2593, allocations: 0 / 390.7 MB, free: 48.57 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/0.2594, allocations: 213.1 kB / 390.9 MB, free: 48.4 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.231e-05/0.2595, allocations: 89.97 kB / 391 MB, free: 48.3 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.2595, allocations: 5 kB / 391 MB, free: 48.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.421e-05/0.2596, allocations: 1.703 kB / 391 MB, free: 48.3 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-05/0.2596, allocations: 9.266 kB / 391 MB, free: 48.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.355e-06/0.2596, allocations: 5.094 kB / 391 MB, free: 48.29 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.458e-05/0.2596, allocations: 95.78 kB / 391.1 MB, free: 48.21 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2597, allocations: 0 / 391.1 MB, free: 48.21 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000229/0.2599, allocations: 20.03 kB / 391.1 MB, free: 48.2 MB / 318.1 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 9.959e-05/0.26, allocations: 103.5 kB / 391.2 MB, free: 48.11 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001555/0.2602, allocations: 57.75 kB / 391.3 MB, free: 48.09 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2602, allocations: 1.25 kB / 391.3 MB, free: 48.09 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.491e-05/0.2602, allocations: 26.14 kB / 391.3 MB, free: 48.08 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.2606, allocations: 14.56 kB / 391.3 MB, free: 48.07 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004225/0.261, allocations: 210.2 kB / 391.5 MB, free: 47.91 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001842/0.2612, allocations: 0.7 MB / 392.2 MB, free: 47.21 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.077e-05/0.2613, allocations: 7.172 kB / 392.2 MB, free: 47.21 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.503e-05/0.2613, allocations: 11.12 kB / 392.2 MB, free: 47.2 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2613, allocations: 1.188 kB / 392.2 MB, free: 47.2 MB / 318.1 MB Notification: Performance of Templates: time 0.002861/0.2642, allocations: 0.6893 MB / 392.9 MB, free: 47.15 MB / 318.1 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 -s gbode -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe 2>&1)