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.001087/0.001087, allocations: 103.6 kB / 16.35 MB, free: 6.289 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.001113/0.001113, allocations: 193.4 kB / 17.3 MB, free: 5.859 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.615/1.615, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04383/0.04383, allocations: 8.119 MB / 278.6 MB, free: 3.957 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.001646/0.001646, allocations: 67.89 kB / 338.6 MB, free: 7.832 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.3971, allocations: 48.28 MB / 386.9 MB, free: 51.49 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.002524/0.3997, allocations: 0.5665 MB / 387.5 MB, free: 51.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003324/0.4001, allocations: 117.9 kB / 387.6 MB, free: 51.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.092e-05/0.4002, allocations: 1.312 kB / 387.6 MB, free: 51.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.726e-05/0.4002, allocations: 9.219 kB / 387.6 MB, free: 51.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.965e-05/0.4003, allocations: 8.984 kB / 387.6 MB, free: 51.06 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001743/0.4005, allocations: 26.25 kB / 387.6 MB, free: 51.05 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.4007, allocations: 71.95 kB / 387.7 MB, free: 51.01 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.4008, allocations: 46.11 kB / 387.8 MB, free: 50.99 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.958e-05/0.4009, allocations: 28.89 kB / 387.8 MB, free: 50.98 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.707e-05/0.401, allocations: 34.64 kB / 387.8 MB, free: 50.96 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.401, allocations: 7.75 kB / 387.8 MB, free: 50.96 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.531e-05/0.4011, allocations: 13.75 kB / 387.8 MB, free: 50.96 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.279e-05/0.4011, allocations: 22.23 kB / 387.9 MB, free: 50.94 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.958e-05/0.4011, allocations: 39.98 kB / 387.9 MB, free: 50.91 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.4013, allocations: 98.08 kB / 388 MB, free: 50.88 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.4013, allocations: 0 / 388 MB, free: 50.88 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4013, allocations: 0.8125 kB / 388 MB, free: 50.88 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.4013, allocations: 0.6562 kB / 388 MB, free: 50.88 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.0004712/0.4018, allocations: 382.7 kB / 388.4 MB, free: 50.5 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.4019, allocations: 13.64 kB / 388.4 MB, free: 50.49 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.784e-05/0.4019, allocations: 11.53 kB / 388.4 MB, free: 50.49 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.4021, allocations: 193.4 kB / 388.6 MB, free: 50.27 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.4021, allocations: 3.875 kB / 388.6 MB, free: 50.27 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.428e-05/0.4022, allocations: 12.97 kB / 388.6 MB, free: 50.27 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.4024, allocations: 96.36 kB / 388.7 MB, free: 50.21 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.4024, allocations: 1 kB / 388.7 MB, free: 50.21 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.4024, allocations: 1.125 kB / 388.7 MB, free: 50.21 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.4025, allocations: 5.594 kB / 388.7 MB, free: 50.21 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.4026, allocations: 54.53 kB / 388.8 MB, free: 50.19 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006099/0.4032, allocations: 402.8 kB / 389.2 MB, free: 49.86 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.4034, allocations: 89.34 kB / 389.2 MB, free: 49.8 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.255e-05/0.4035, allocations: 42.69 kB / 389.3 MB, free: 49.78 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.4035, allocations: 2.312 kB / 389.3 MB, free: 49.78 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.4035, allocations: 33.44 kB / 389.3 MB, free: 49.74 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.4035, allocations: 2.156 kB / 389.3 MB, free: 49.74 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002512/0.4038, allocations: 102.4 kB / 389.4 MB, free: 49.68 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.4038, allocations: 57.81 kB / 389.5 MB, free: 49.61 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.894e-05/0.4039, allocations: 116.4 kB / 389.6 MB, free: 49.5 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.404, allocations: 34.89 kB / 389.6 MB, free: 49.46 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.601e-05/0.404, allocations: 103.8 kB / 389.7 MB, free: 49.37 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.404, allocations: 26.44 kB / 389.7 MB, free: 49.35 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/0.4041, allocations: 21.91 kB / 389.8 MB, free: 49.33 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.674e-05/0.4042, allocations: 320.3 kB / 390.1 MB, free: 49.01 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.562e-05/0.4042, allocations: 20.2 kB / 390.1 MB, free: 49 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.486e-05/0.4043, allocations: 25.47 kB / 390.1 MB, free: 48.99 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.4044, allocations: 51.5 kB / 390.2 MB, free: 48.96 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4044, allocations: 3.938 kB / 390.2 MB, free: 48.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001564/0.4046, allocations: 90.23 kB / 390.3 MB, free: 48.91 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.4046, allocations: 5.5 kB / 390.3 MB, free: 48.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4046, allocations: 1.094 kB / 390.3 MB, free: 48.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.4046, allocations: 0.6562 kB / 390.3 MB, free: 48.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.4048, allocations: 21.39 kB / 390.3 MB, free: 48.9 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.4048, allocations: 1.734 kB / 390.3 MB, free: 48.9 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.896e-05/0.4048, allocations: 10.12 kB / 390.3 MB, free: 48.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.4048, allocations: 6.125 kB / 390.3 MB, free: 48.89 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 8.494e-05/0.4049, allocations: 117.5 kB / 390.4 MB, free: 48.77 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.405, allocations: 3.312 kB / 390.4 MB, free: 48.77 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.856e-05/0.405, allocations: 10.23 kB / 390.4 MB, free: 48.77 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.405, allocations: 2.484 kB / 390.4 MB, free: 48.77 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.405, allocations: 0 / 390.4 MB, free: 48.77 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.405, allocations: 4.75 kB / 390.5 MB, free: 48.77 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.4053, allocations: 211.2 kB / 390.7 MB, free: 48.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.4053, allocations: 0 / 390.7 MB, free: 48.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.909e-05/0.4054, allocations: 15.16 kB / 390.7 MB, free: 48.55 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.4054, allocations: 1.469 kB / 390.7 MB, free: 48.55 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.4054, allocations: 2.094 kB / 390.7 MB, free: 48.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4054, allocations: 4.969 kB / 390.7 MB, free: 48.55 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4054, allocations: 1.844 kB / 390.7 MB, free: 48.55 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.4056, allocations: 209 kB / 390.9 MB, free: 48.38 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.496e-05/0.4057, allocations: 88.38 kB / 391 MB, free: 48.28 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.4057, allocations: 6.094 kB / 391 MB, free: 48.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.282e-05/0.4058, allocations: 4.844 kB / 391 MB, free: 48.27 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.329e-05/0.4058, allocations: 13.94 kB / 391 MB, free: 48.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.4058, allocations: 4.078 kB / 391 MB, free: 48.27 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.788e-05/0.4059, allocations: 91.02 kB / 391.1 MB, free: 48.18 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4059, allocations: 0 / 391.1 MB, free: 48.18 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002285/0.4061, allocations: 15.41 kB / 391.1 MB, free: 48.18 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 0.000109/0.4062, allocations: 110.4 kB / 391.2 MB, free: 48.08 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001681/0.4064, allocations: 55.67 kB / 391.3 MB, free: 48.06 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.4064, allocations: 1.219 kB / 391.3 MB, free: 48.06 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.753e-05/0.4064, allocations: 30.67 kB / 391.3 MB, free: 48.05 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.4068, allocations: 13.95 kB / 391.3 MB, free: 48.05 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004484/0.4073, allocations: 209.7 kB / 391.5 MB, free: 47.88 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.4075, allocations: 0.6986 MB / 392.2 MB, free: 47.18 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.361e-05/0.4076, allocations: 4.375 kB / 392.2 MB, free: 47.18 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.231e-05/0.4076, allocations: 11.53 kB / 392.2 MB, free: 47.18 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4076, allocations: 4 kB / 392.2 MB, free: 47.18 MB / 318.1 MB Notification: Performance of Templates: time 0.003619/0.4112, allocations: 0.6772 MB / 392.9 MB, free: 47.13 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 cvode -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe 2>&1)