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/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.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/Complex 3.2.2+maint.om/package.mo): time 0.001214/0.001214, allocations: 179.1 kB / 16.12 MB, free: 5.66 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.506/1.506, allocations: 194.5 MB / 211.3 MB, free: 2.945 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03859/0.03859, allocations: 8.114 MB / 264.6 MB, free: 12.58 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001572/0.001572, allocations: 120 kB / 311.6 MB, free: 13.47 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003963/0.0003963, allocations: 8 kB / 368.5 MB, free: 4.492 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2088, allocations: 46.21 MB / 414.7 MB, free: 65.89 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1163/0.3252, allocations: 71.18 MB / 485.9 MB, free: 10.61 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.3255, allocations: 51.97 kB / 485.9 MB, free: 10.56 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005506/0.331, allocations: 1.55 MB / 487.5 MB, free: 9.016 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.366e-06/0.3311, allocations: 0 / 487.5 MB, free: 9.016 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.494e-05/0.3311, allocations: 4 kB / 487.5 MB, free: 9.012 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005338/0.3316, allocations: 370.5 kB / 487.8 MB, free: 8.602 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/0.3317, allocations: 12.03 kB / 487.9 MB, free: 8.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.212e-05/0.3318, allocations: 8.844 kB / 487.9 MB, free: 8.582 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/0.332, allocations: 188.2 kB / 488 MB, free: 8.359 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.332, allocations: 12.56 kB / 488.1 MB, free: 8.348 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.197e-05/0.3321, allocations: 12.38 kB / 488.1 MB, free: 8.336 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/0.3324, allocations: 93.97 kB / 488.2 MB, free: 8.238 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.3324, allocations: 0 / 488.2 MB, free: 8.238 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.429e-05/0.3324, allocations: 4 kB / 488.2 MB, free: 8.234 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.3324, allocations: 3.938 kB / 488.2 MB, free: 8.23 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.3326, allocations: 51.97 kB / 488.2 MB, free: 8.18 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008331/0.3334, allocations: 412.5 kB / 488.6 MB, free: 7.727 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.3337, allocations: 78.56 kB / 488.7 MB, free: 7.641 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.3338, allocations: 44.84 kB / 488.7 MB, free: 7.594 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.3338, allocations: 0 / 488.7 MB, free: 7.594 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.3339, allocations: 38.5 kB / 488.8 MB, free: 7.547 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.3339, allocations: 0 / 488.8 MB, free: 7.547 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003275/0.3342, allocations: 101.8 kB / 488.9 MB, free: 7.441 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.3343, allocations: 51.41 kB / 488.9 MB, free: 7.379 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.3344, allocations: 113.8 kB / 489 MB, free: 7.258 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.3345, allocations: 29.7 kB / 489.1 MB, free: 7.223 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.426e-05/0.3346, allocations: 103.9 kB / 489.2 MB, free: 7.117 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.672e-05/0.3346, allocations: 31.5 kB / 489.2 MB, free: 7.086 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-06/0.3346, allocations: 4 kB / 489.2 MB, free: 7.082 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.3348, allocations: 322.8 kB / 489.5 MB, free: 6.758 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.267e-05/0.3349, allocations: 16 kB / 489.5 MB, free: 6.742 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.891e-05/0.3349, allocations: 27.86 kB / 489.6 MB, free: 6.715 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.3351, allocations: 52.86 kB / 489.6 MB, free: 6.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3351, allocations: 0 / 489.6 MB, free: 6.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002227/0.3353, allocations: 89.53 kB / 489.7 MB, free: 6.566 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.3354, allocations: 8 kB / 489.7 MB, free: 6.559 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3354, allocations: 0 / 489.7 MB, free: 6.559 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.3354, allocations: 4 kB / 489.7 MB, free: 6.555 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.3356, allocations: 19.98 kB / 489.7 MB, free: 6.535 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.3356, allocations: 4 kB / 489.7 MB, free: 6.531 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.046e-05/0.3357, allocations: 3.938 kB / 489.7 MB, free: 6.527 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.3357, allocations: 4 kB / 489.7 MB, free: 6.523 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001299/0.3358, allocations: 121.8 kB / 489.9 MB, free: 6.395 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.549e-05/0.3359, allocations: 7.891 kB / 489.9 MB, free: 6.387 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.036e-05/0.3359, allocations: 16.36 kB / 489.9 MB, free: 6.367 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.336, allocations: 0 / 489.9 MB, free: 6.367 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.336, allocations: 4 kB / 489.9 MB, free: 6.363 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.336, allocations: 3.938 kB / 489.9 MB, free: 6.359 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003342/0.3363, allocations: 205.6 kB / 490.1 MB, free: 6.109 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3363, allocations: 0 / 490.1 MB, free: 6.109 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.3365, allocations: 16 kB / 490.1 MB, free: 6.094 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.3365, allocations: 0 / 490.1 MB, free: 6.094 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.3365, allocations: 4 kB / 490.1 MB, free: 6.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.3365, allocations: 0 / 490.1 MB, free: 6.09 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.3365, allocations: 3.984 kB / 490.1 MB, free: 6.086 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003364/0.3369, allocations: 208.2 kB / 490.3 MB, free: 5.867 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.125e-05/0.337, allocations: 96.91 kB / 490.4 MB, free: 5.754 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.337, allocations: 4 kB / 490.4 MB, free: 5.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.3371, allocations: 0 / 490.4 MB, free: 5.75 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.11e-05/0.3372, allocations: 7.938 kB / 490.4 MB, free: 5.742 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.395e-06/0.3372, allocations: 0 / 490.4 MB, free: 5.742 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.7e-05/0.3373, allocations: 95.33 kB / 490.5 MB, free: 5.648 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.864e-06/0.3373, allocations: 0 / 490.5 MB, free: 5.648 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004015/0.3377, allocations: 20 kB / 490.5 MB, free: 5.629 MB / 330.7 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 (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.0001478/0.3379, allocations: 103.2 kB / 490.6 MB, free: 5.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001903/0.3381, allocations: 55.92 kB / 490.7 MB, free: 5.465 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.3381, allocations: 0 / 490.7 MB, free: 5.465 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.261e-05/0.3382, allocations: 31.98 kB / 490.7 MB, free: 5.434 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004981/0.3387, allocations: 17.11 kB / 490.7 MB, free: 5.418 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005846/0.3393, allocations: 239.3 kB / 491 MB, free: 5.156 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.3397, allocations: 0.7004 MB / 491.7 MB, free: 4.43 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.243e-05/0.3398, allocations: 7.688 kB / 491.7 MB, free: 4.426 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/0.3398, allocations: 15.44 kB / 491.7 MB, free: 4.41 MB / 330.7 MB Notification: Performance of SimCode: time 3.7e-07/0.3398, allocations: 0 / 491.7 MB, free: 4.41 MB / 330.7 MB Notification: Performance of Templates: time 0.00412/0.3439, allocations: 0.6517 MB / 492.4 MB, free: 3.766 MB / 330.7 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 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe 2>&1)