Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.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.ThirdSpecies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies") translateModel(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008796/0.008796, allocations: 100.8 kB / 15.73 MB, free: 6.047 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.001572/0.001572, allocations: 186.5 kB / 16.67 MB, free: 5.977 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.593/1.593, allocations: 205.1 MB / 222.6 MB, free: 4.398 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04164/0.04164, allocations: 8.113 MB / 278 MB, free: 12.95 MB / 238.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.001444/0.001444, allocations: 63.91 kB / 386.7 MB, free: 9.043 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2817, allocations: 48.3 MB / 435 MB, free: 7.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.001844/0.2836, allocations: 0.7158 MB / 435.7 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003908/0.284, allocations: 176.1 kB / 435.9 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.666e-05/0.2841, allocations: 2.75 kB / 435.9 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.529e-05/0.2841, allocations: 19.62 kB / 435.9 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.2842, allocations: 22.41 kB / 435.9 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.2844, allocations: 50.52 kB / 436 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.2846, allocations: 138.3 kB / 436.1 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002114/0.2848, allocations: 78.89 kB / 436.2 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.205e-05/0.2849, allocations: 65.7 kB / 436.2 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.285, allocations: 76.83 kB / 436.3 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.017e-05/0.2851, allocations: 18.41 kB / 436.3 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.167e-05/0.2851, allocations: 18.59 kB / 436.3 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.417e-05/0.2852, allocations: 43.8 kB / 436.4 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.669e-05/0.2853, allocations: 73.55 kB / 436.5 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002896/0.2856, allocations: 188.2 kB / 436.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.2856, allocations: 0.5156 kB / 436.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.2856, allocations: 1.062 kB / 436.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.448e-05/0.2856, allocations: 0 / 436.6 MB, free: 6.809 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.000641/0.2862, allocations: 462.8 kB / 437.1 MB, free: 6.387 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.2863, allocations: 16.81 kB / 437.1 MB, free: 6.379 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.947e-05/0.2864, allocations: 19.41 kB / 437.1 MB, free: 6.371 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.2866, allocations: 230.7 kB / 437.4 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.2866, allocations: 20.38 kB / 437.4 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.096e-05/0.2867, allocations: 17.62 kB / 437.4 MB, free: 6.117 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003239/0.287, allocations: 166.4 kB / 437.6 MB, free: 6.035 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.287, allocations: 2.172 kB / 437.6 MB, free: 6.035 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.07e-05/0.287, allocations: 13.31 kB / 437.6 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.2871, allocations: 4.125 kB / 437.6 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002087/0.2873, allocations: 112 kB / 437.7 MB, free: 5.984 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008325/0.2881, allocations: 0.5711 MB / 438.3 MB, free: 5.574 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.2884, allocations: 129.6 kB / 438.4 MB, free: 5.504 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.2885, allocations: 74.67 kB / 438.5 MB, free: 5.469 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.2885, allocations: 6.25 kB / 438.5 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.2885, allocations: 40.28 kB / 438.5 MB, free: 5.418 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.273e-06/0.2885, allocations: 0 / 438.5 MB, free: 5.418 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003313/0.2889, allocations: 174.9 kB / 438.7 MB, free: 5.328 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.2889, allocations: 54.86 kB / 438.7 MB, free: 5.266 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.543e-05/0.289, allocations: 126.6 kB / 438.8 MB, free: 5.156 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.289, allocations: 27.08 kB / 438.9 MB, free: 5.125 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.073e-05/0.2891, allocations: 132.1 kB / 439 MB, free: 5.008 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.144e-05/0.2891, allocations: 56.73 kB / 439.1 MB, free: 4.961 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.008e-05/0.2892, allocations: 34.59 kB / 439.1 MB, free: 4.934 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.769e-05/0.2892, allocations: 324.8 kB / 439.4 MB, free: 4.613 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.088e-05/0.2893, allocations: 40.41 kB / 439.5 MB, free: 4.598 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.604e-05/0.2894, allocations: 42.33 kB / 439.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.2895, allocations: 106.1 kB / 439.6 MB, free: 4.527 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2895, allocations: 0 / 439.6 MB, free: 4.527 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001987/0.2897, allocations: 153.4 kB / 439.7 MB, free: 4.441 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.2898, allocations: 5.312 kB / 439.8 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2898, allocations: 4.656 kB / 439.8 MB, free: 4.438 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.2898, allocations: 1.438 kB / 439.8 MB, free: 4.438 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.29, allocations: 30.77 kB / 439.8 MB, free: 4.438 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.29, allocations: 5.344 kB / 439.8 MB, free: 4.434 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.134e-05/0.2901, allocations: 9.281 kB / 439.8 MB, free: 4.426 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.2901, allocations: 8.938 kB / 439.8 MB, free: 4.422 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 (18): * Single equations (assignments): 18 * 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 7.311e-05/0.2902, allocations: 128.9 kB / 439.9 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.684e-05/0.2902, allocations: 13.83 kB / 439.9 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.701e-05/0.2902, allocations: 24.02 kB / 440 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2903, allocations: 1.094 kB / 440 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2903, allocations: 1.609 kB / 440 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.2903, allocations: 4.5 kB / 440 MB, free: 4.262 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002732/0.2906, allocations: 270.4 kB / 440.2 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2906, allocations: 0 / 440.2 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.2907, allocations: 29.08 kB / 440.3 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2908, allocations: 0 / 440.3 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.2908, allocations: 9.094 kB / 440.3 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.2908, allocations: 5.828 kB / 440.3 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2908, allocations: 4 kB / 440.3 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003074/0.2911, allocations: 297.5 kB / 440.6 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.267e-05/0.2911, allocations: 88.02 kB / 440.7 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.2912, allocations: 6.891 kB / 440.7 MB, free: 3.699 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.135e-05/0.2912, allocations: 1.156 kB / 440.7 MB, free: 3.699 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.658e-05/0.2913, allocations: 11.38 kB / 440.7 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.2913, allocations: 7.75 kB / 440.7 MB, free: 3.691 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.147e-05/0.2913, allocations: 99.12 kB / 440.8 MB, free: 3.609 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2913, allocations: 4 kB / 440.8 MB, free: 3.605 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002518/0.2916, allocations: 33.25 kB / 440.8 MB, free: 3.594 MB / 318.1 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 () * Number of clocked 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 (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.161e-05/0.2917, allocations: 106.2 kB / 440.9 MB, free: 3.5 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002143/0.2919, allocations: 110.5 kB / 441 MB, free: 3.461 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2919, allocations: 0 / 441 MB, free: 3.461 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.09e-05/0.292, allocations: 62.06 kB / 441.1 MB, free: 3.438 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.2924, allocations: 23.44 kB / 441.1 MB, free: 3.43 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005049/0.2929, allocations: 332 kB / 441.4 MB, free: 3.195 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.2931, allocations: 0.7183 MB / 442.2 MB, free: 2.5 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.395e-05/0.2931, allocations: 9.516 kB / 442.2 MB, free: 2.496 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.981e-05/0.2932, allocations: 18.22 kB / 442.2 MB, free: 2.484 MB / 318.1 MB Notification: Performance of SimCode: time 9.32e-07/0.2932, allocations: 0 / 442.2 MB, free: 2.484 MB / 318.1 MB Notification: Performance of Templates: time 0.003574/0.2968, allocations: 1.09 MB / 443.3 MB, free: 2.359 MB / 318.1 MB make -j1 -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.makefile (rm -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.sim & ./ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe 2>&1)