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.001045/0.001045, allocations: 111.8 kB / 16.42 MB, free: 6.457 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.001023/0.001023, allocations: 190.7 kB / 17.35 MB, free: 5.719 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.229/1.229, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04338/0.04338, allocations: 8.121 MB / 278.7 MB, free: 3.93 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.001466/0.001466, allocations: 68.7 kB / 387.3 MB, free: 47.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06108/0.06255, allocations: 48.32 MB / 435.7 MB, free: 8.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.001557/0.06413, allocations: 0.7033 MB / 436.4 MB, free: 7.859 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003424/0.06449, allocations: 179.3 kB / 436.5 MB, free: 7.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.44e-05/0.06457, allocations: 7.938 kB / 436.5 MB, free: 7.676 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.925e-05/0.06464, allocations: 19.75 kB / 436.6 MB, free: 7.656 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.403e-05/0.06472, allocations: 11.81 kB / 436.6 MB, free: 7.645 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001544/0.06488, allocations: 51.94 kB / 436.6 MB, free: 7.594 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.06503, allocations: 139.7 kB / 436.8 MB, free: 7.457 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.0652, allocations: 89.59 kB / 436.9 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.807e-05/0.06525, allocations: 59.73 kB / 436.9 MB, free: 7.312 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.414e-05/0.06533, allocations: 75.61 kB / 437 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.763e-05/0.06536, allocations: 20 kB / 437 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.959e-05/0.06539, allocations: 24 kB / 437 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.987e-05/0.06542, allocations: 43.83 kB / 437.1 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.005e-05/0.06548, allocations: 83.53 kB / 437.2 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.06563, allocations: 175.4 kB / 437.3 MB, free: 6.898 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.06564, allocations: 0 / 437.3 MB, free: 6.898 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.06565, allocations: 4 kB / 437.3 MB, free: 6.895 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.06566, allocations: 0 / 437.3 MB, free: 6.895 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.0004527/0.06611, allocations: 479.2 kB / 437.8 MB, free: 6.371 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.06615, allocations: 8.031 kB / 437.8 MB, free: 6.363 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.35e-05/0.0662, allocations: 16.75 kB / 437.8 MB, free: 6.348 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.06636, allocations: 216 kB / 438 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.06638, allocations: 16.75 kB / 438 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.389e-05/0.06642, allocations: 20.31 kB / 438.1 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.06667, allocations: 168.9 kB / 438.2 MB, free: 5.895 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.06669, allocations: 192 / 438.2 MB, free: 5.895 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.06671, allocations: 11.94 kB / 438.2 MB, free: 5.883 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.06672, allocations: 12 kB / 438.3 MB, free: 5.871 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.06689, allocations: 107.7 kB / 438.4 MB, free: 5.766 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006516/0.06755, allocations: 0.5779 MB / 438.9 MB, free: 5.137 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.06775, allocations: 125.8 kB / 439.1 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.59e-05/0.06784, allocations: 84.83 kB / 439.1 MB, free: 4.922 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.06786, allocations: 0 / 439.1 MB, free: 4.922 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.263e-05/0.06788, allocations: 34.56 kB / 439.2 MB, free: 4.879 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.102e-06/0.06788, allocations: 3.938 kB / 439.2 MB, free: 4.875 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002785/0.06816, allocations: 173.8 kB / 439.4 MB, free: 4.699 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.316e-05/0.06819, allocations: 55.39 kB / 439.4 MB, free: 4.633 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.994e-05/0.06825, allocations: 121.8 kB / 439.5 MB, free: 4.504 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.06827, allocations: 29.7 kB / 439.6 MB, free: 4.469 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.45e-05/0.06831, allocations: 136.2 kB / 439.7 MB, free: 4.332 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.06835, allocations: 55.2 kB / 439.7 MB, free: 4.277 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.276e-05/0.06839, allocations: 29.7 kB / 439.8 MB, free: 4.242 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.128e-05/0.06844, allocations: 326.8 kB / 440.1 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.027e-05/0.06851, allocations: 39.98 kB / 440.1 MB, free: 3.875 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.324e-05/0.06857, allocations: 39.98 kB / 440.2 MB, free: 3.836 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.0687, allocations: 110.9 kB / 440.3 MB, free: 3.727 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.0687, allocations: 0 / 440.3 MB, free: 3.727 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001673/0.06888, allocations: 150.3 kB / 440.4 MB, free: 3.574 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.06889, allocations: 4 kB / 440.4 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.0689, allocations: 0 / 440.4 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.06892, allocations: 4 kB / 440.4 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.0691, allocations: 39.86 kB / 440.5 MB, free: 3.527 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-06/0.06911, allocations: 0 / 440.5 MB, free: 3.527 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.767e-05/0.06916, allocations: 4 kB / 440.5 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.06917, allocations: 11.92 kB / 440.5 MB, free: 3.512 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 6.923e-05/0.06925, allocations: 137.7 kB / 440.6 MB, free: 3.367 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.464e-05/0.06929, allocations: 19.75 kB / 440.6 MB, free: 3.348 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.51e-05/0.06933, allocations: 16.5 kB / 440.7 MB, free: 3.332 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.06933, allocations: 4 kB / 440.7 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.06934, allocations: 0 / 440.7 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.006e-05/0.06937, allocations: 89 kB / 440.7 MB, free: 3.223 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.887e-05/0.06939, allocations: 7.938 kB / 440.8 MB, free: 3.215 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.245e-05/0.06948, allocations: 4 kB / 440.8 MB, free: 3.211 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.258e-05/0.06951, allocations: 4 kB / 440.8 MB, free: 3.207 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003149/0.06983, allocations: 229.8 kB / 441 MB, free: 2.977 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002688/0.0701, allocations: 363.3 kB / 441.3 MB, free: 2.605 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.718e-05/0.07018, allocations: 50.42 kB / 441.4 MB, free: 2.559 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.52e-05/0.07022, allocations: 99.27 kB / 441.5 MB, free: 2.461 MB / 318.1 MB Notification: Performance of Backend: time 5.71e-07/0.07023, allocations: 0 / 441.5 MB, free: 2.461 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000365/0.0706, allocations: 149.1 kB / 441.6 MB, free: 2.312 MB / 318.1 MB Notification: Performance of SimCode: time 0.0005322/0.07114, allocations: 0.7441 MB / 442.4 MB, free: 1.52 MB / 318.1 MB Notification: Performance of Templates: time 0.003372/0.07453, allocations: 1.457 MB / 443.8 MB, free: 68 kB / 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)