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.008727/0.008727, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001902/0.001902, allocations: 196.8 kB / 16.68 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.419/1.419, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04448/0.04448, allocations: 8.11 MB / 278 MB, free: 13.09 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.001447/0.001447, allocations: 67.89 kB / 386.7 MB, free: 9.055 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3049, allocations: 48.29 MB / 435 MB, free: 7.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.002213/0.3072, allocations: 0.7159 MB / 435.7 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005754/0.3078, allocations: 176.8 kB / 435.9 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.3079, allocations: 2.938 kB / 435.9 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.653e-05/0.308, allocations: 18.56 kB / 435.9 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.3081, allocations: 21.8 kB / 435.9 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.3084, allocations: 55.14 kB / 436 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002589/0.3087, allocations: 132.6 kB / 436.1 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002727/0.3089, allocations: 84.22 kB / 436.2 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.828e-05/0.309, allocations: 61.8 kB / 436.2 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.3092, allocations: 72 kB / 436.3 MB, free: 6.992 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.816e-05/0.3092, allocations: 22.5 kB / 436.3 MB, free: 6.988 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.237e-05/0.3093, allocations: 19.31 kB / 436.3 MB, free: 6.988 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.461e-05/0.3093, allocations: 44.52 kB / 436.4 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.633e-05/0.3094, allocations: 76.61 kB / 436.5 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000255/0.3096, allocations: 190.1 kB / 436.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3097, allocations: 1 kB / 436.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3097, allocations: 0 / 436.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.3097, allocations: 0 / 436.6 MB, free: 6.824 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.000589/0.3103, allocations: 465.3 kB / 437.1 MB, free: 6.395 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3103, allocations: 12.75 kB / 437.1 MB, free: 6.391 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.337e-05/0.3104, allocations: 31.48 kB / 437.1 MB, free: 6.371 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.3106, allocations: 211.4 kB / 437.4 MB, free: 6.148 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.3106, allocations: 17 kB / 437.4 MB, free: 6.141 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.952e-05/0.3107, allocations: 20.78 kB / 437.4 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003207/0.311, allocations: 166.8 kB / 437.6 MB, free: 6.051 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.311, allocations: 5.516 kB / 437.6 MB, free: 6.047 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.311, allocations: 13.31 kB / 437.6 MB, free: 6.035 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.3111, allocations: 8.859 kB / 437.6 MB, free: 6.031 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002041/0.3113, allocations: 112.3 kB / 437.7 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008722/0.3121, allocations: 0.5739 MB / 438.3 MB, free: 5.578 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002656/0.3124, allocations: 129.8 kB / 438.4 MB, free: 5.508 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.3126, allocations: 75.31 kB / 438.5 MB, free: 5.473 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.3126, allocations: 1.812 kB / 438.5 MB, free: 5.473 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.3126, allocations: 44.62 kB / 438.5 MB, free: 5.422 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.172e-06/0.3126, allocations: 0 / 438.5 MB, free: 5.422 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003582/0.313, allocations: 178.6 kB / 438.7 MB, free: 5.328 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.313, allocations: 54.27 kB / 438.7 MB, free: 5.266 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.62e-05/0.3131, allocations: 127.1 kB / 438.9 MB, free: 5.156 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.3131, allocations: 27.14 kB / 438.9 MB, free: 5.125 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.899e-05/0.3132, allocations: 132 kB / 439 MB, free: 5.008 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.812e-05/0.3133, allocations: 53.34 kB / 439.1 MB, free: 4.965 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.458e-05/0.3133, allocations: 35.02 kB / 439.1 MB, free: 4.938 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.289e-05/0.3134, allocations: 324.6 kB / 439.4 MB, free: 4.617 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.757e-05/0.3135, allocations: 40.95 kB / 439.5 MB, free: 4.602 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.051e-05/0.3136, allocations: 41.23 kB / 439.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.3137, allocations: 105.2 kB / 439.6 MB, free: 4.535 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3137, allocations: 0 / 439.6 MB, free: 4.535 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002124/0.3139, allocations: 156.2 kB / 439.8 MB, free: 4.445 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.314, allocations: 5.844 kB / 439.8 MB, free: 4.445 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.314, allocations: 0 / 439.8 MB, free: 4.445 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.314, allocations: 5.062 kB / 439.8 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.3142, allocations: 31.11 kB / 439.8 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.3142, allocations: 6.047 kB / 439.8 MB, free: 4.438 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.139e-05/0.3143, allocations: 9.031 kB / 439.8 MB, free: 4.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.3143, allocations: 6.75 kB / 439.8 MB, free: 4.426 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 9.368e-05/0.3144, allocations: 130.3 kB / 439.9 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.442e-05/0.3144, allocations: 13.55 kB / 440 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.92e-05/0.3145, allocations: 20.52 kB / 440 MB, free: 4.273 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3145, allocations: 5.25 kB / 440 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.3145, allocations: 1.844 kB / 440 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.3145, allocations: 8.531 kB / 440 MB, free: 4.262 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002807/0.3148, allocations: 266.2 kB / 440.3 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3148, allocations: 0.6562 kB / 440.3 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.315, allocations: 27.38 kB / 440.3 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.315, allocations: 5.188 kB / 440.3 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.315, allocations: 5.953 kB / 440.3 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.315, allocations: 0 / 440.3 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.3151, allocations: 1.828 kB / 440.3 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003376/0.3154, allocations: 303.9 kB / 440.6 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.789e-05/0.3154, allocations: 89.19 kB / 440.7 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.3155, allocations: 5.312 kB / 440.7 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.093e-05/0.3155, allocations: 1.25 kB / 440.7 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.731e-05/0.3156, allocations: 12.77 kB / 440.7 MB, free: 3.699 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.3156, allocations: 6.688 kB / 440.7 MB, free: 3.695 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.595e-05/0.3156, allocations: 95.06 kB / 440.8 MB, free: 3.617 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3157, allocations: 7.938 kB / 440.8 MB, free: 3.609 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.3159, allocations: 37.91 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 0.0001078/0.316, allocations: 105.2 kB / 440.9 MB, free: 3.5 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002781/0.3163, allocations: 107.1 kB / 441 MB, free: 3.465 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.3163, allocations: 0 / 441 MB, free: 3.465 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.3165, allocations: 58 kB / 441.1 MB, free: 3.445 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.3169, allocations: 25.66 kB / 441.1 MB, free: 3.434 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006484/0.3175, allocations: 327.5 kB / 441.4 MB, free: 3.199 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/0.3178, allocations: 0.7197 MB / 442.2 MB, free: 2.504 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.964e-05/0.3178, allocations: 8.828 kB / 442.2 MB, free: 2.5 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.278e-05/0.3179, allocations: 21.59 kB / 442.2 MB, free: 2.484 MB / 318.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3179, allocations: 0.5 kB / 442.2 MB, free: 2.484 MB / 318.1 MB Notification: Performance of Templates: time 0.004326/0.3222, allocations: 1.114 MB / 443.3 MB, free: 2.344 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)