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/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.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/Complex 3.2.2+maint.om/package.mo): time 0.001642/0.001642, allocations: 187.3 kB / 7.654 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.183/2.183, allocations: 194.3 MB / 202.4 MB, free: 8.539 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03642/0.03642, allocations: 7.927 MB / 255.2 MB, free: 1.594 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001672/0.001672, allocations: 112.3 kB / 301.9 MB, free: 3.195 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.787e-05/4.79e-05, allocations: 0 / 354.3 MB, free: 14.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3218, allocations: 46.19 MB / 400.5 MB, free: 69.93 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09368/0.4156, allocations: 70.5 MB / 471 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001624/0.4158, allocations: 51.97 kB / 471 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006587/0.4224, allocations: 2.855 MB / 473.9 MB, free: 13.91 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4225, allocations: 0 / 473.9 MB, free: 13.91 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.344e-05/0.4225, allocations: 4 kB / 473.9 MB, free: 13.9 MB / 330.7 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.0004574/0.423, allocations: 426.5 kB / 474.3 MB, free: 13.44 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.423, allocations: 8.031 kB / 474.3 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.548e-05/0.4231, allocations: 23.72 kB / 474.3 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.4233, allocations: 214.7 kB / 474.5 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.4233, allocations: 4 kB / 474.5 MB, free: 13.15 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.775e-05/0.4234, allocations: 12 kB / 474.6 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002068/0.4236, allocations: 96.73 kB / 474.7 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/0.4238, allocations: 136 kB / 474.8 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.4238, allocations: 4 kB / 474.8 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.4239, allocations: 7.922 kB / 474.8 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.443e-06/0.4239, allocations: 4 kB / 474.8 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008028/0.4247, allocations: 0.543 MB / 475.3 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.4249, allocations: 118.5 kB / 475.5 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.564e-05/0.425, allocations: 69.14 kB / 475.5 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.425, allocations: 0 / 475.5 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.4251, allocations: 46.48 kB / 475.6 MB, free: 12.07 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/0.4251, allocations: 4 kB / 475.6 MB, free: 12.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002535/0.4254, allocations: 117.5 kB / 475.7 MB, free: 11.94 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.4254, allocations: 55.41 kB / 475.7 MB, free: 11.88 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.232e-05/0.4255, allocations: 109 kB / 475.9 MB, free: 11.76 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.4255, allocations: 29.7 kB / 475.9 MB, free: 11.73 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.824e-05/0.4256, allocations: 128.2 kB / 476 MB, free: 11.6 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.016e-05/0.4256, allocations: 51.2 kB / 476.1 MB, free: 11.55 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/0.4257, allocations: 4 kB / 476.1 MB, free: 11.54 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.4258, allocations: 326.8 kB / 476.4 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.688e-05/0.4258, allocations: 36 kB / 476.4 MB, free: 11.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.479e-05/0.4259, allocations: 39.44 kB / 476.5 MB, free: 11.14 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.773e-05/0.426, allocations: 39.98 kB / 476.5 MB, free: 11.11 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.426, allocations: 0 / 476.5 MB, free: 11.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001826/0.4262, allocations: 133.5 kB / 476.6 MB, free: 10.97 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.4262, allocations: 4 kB / 476.6 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.4262, allocations: 0 / 476.6 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.4262, allocations: 11.94 kB / 476.6 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.4264, allocations: 31.98 kB / 476.7 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.4264, allocations: 0 / 476.7 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.169e-05/0.4265, allocations: 11.84 kB / 476.7 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.4265, allocations: 4 kB / 476.7 MB, free: 10.91 MB / 330.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.4e-05/0.4266, allocations: 116.7 kB / 476.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.4266, allocations: 7.906 kB / 476.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.111e-05/0.4267, allocations: 20.73 kB / 476.8 MB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.4267, allocations: 0 / 476.8 MB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.4267, allocations: 4 kB / 476.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.4267, allocations: 3.938 kB / 476.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/0.4269, allocations: 234 kB / 477.1 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.427, allocations: 0 / 477.1 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/0.4271, allocations: 27.97 kB / 477.1 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.4271, allocations: 4 kB / 477.1 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.4271, allocations: 0 / 477.1 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.4272, allocations: 0 / 477.1 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4272, allocations: 3.938 kB / 477.1 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003076/0.4275, allocations: 286.8 kB / 477.4 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.599e-05/0.4275, allocations: 92.95 kB / 477.5 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.4276, allocations: 0 / 477.5 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.114e-05/0.4276, allocations: 4 kB / 477.5 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.905e-05/0.4277, allocations: 8.031 kB / 477.5 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-06/0.4277, allocations: 0 / 477.5 MB, free: 10.04 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.99e-05/0.4277, allocations: 99.27 kB / 477.6 MB, free: 9.938 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4277, allocations: 0 / 477.6 MB, free: 9.938 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000224/0.428, allocations: 31.84 kB / 477.6 MB, free: 9.906 MB / 330.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00014/0.4281, allocations: 99.25 kB / 477.7 MB, free: 9.801 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00018/0.4283, allocations: 103.9 kB / 477.8 MB, free: 9.699 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4283, allocations: 0 / 477.8 MB, free: 9.699 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.069e-05/0.4284, allocations: 55.94 kB / 477.9 MB, free: 9.645 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.4286, allocations: 19.94 kB / 477.9 MB, free: 9.625 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004474/0.4291, allocations: 230.8 kB / 478.1 MB, free: 9.375 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.4294, allocations: 0.7276 MB / 478.8 MB, free: 8.617 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.99e-05/0.4294, allocations: 10.47 kB / 478.8 MB, free: 8.602 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.03e-05/0.4295, allocations: 15.44 kB / 478.9 MB, free: 8.586 MB / 330.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4295, allocations: 3.938 kB / 478.9 MB, free: 8.582 MB / 330.7 MB Notification: Performance of Templates: time 0.003155/0.4326, allocations: 0.9973 MB / 479.9 MB, free: 7.586 MB / 330.7 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)