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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 103.7 kB / 15.98 MB, free: 6.348 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.001142/0.001142, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.398/1.398, allocations: 205.1 MB / 222.8 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.0399/0.0399, allocations: 8.107 MB / 278.2 MB, free: 13.34 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.001439/0.001439, allocations: 63.91 kB / 337.3 MB, free: 26.85 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07841/0.07987, allocations: 48.29 MB / 385.6 MB, free: 10.5 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.001906/0.08182, allocations: 0.6293 MB / 386.3 MB, free: 9.875 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003224/0.08217, allocations: 111.6 kB / 386.4 MB, free: 9.766 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.913e-05/0.08223, allocations: 4 kB / 386.4 MB, free: 9.762 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.945e-05/0.08232, allocations: 7.922 kB / 386.4 MB, free: 9.754 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.363e-05/0.0824, allocations: 3.938 kB / 386.4 MB, free: 9.75 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001683/0.08257, allocations: 27.98 kB / 386.4 MB, free: 9.723 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.08272, allocations: 71.84 kB / 386.5 MB, free: 9.652 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.08287, allocations: 43.95 kB / 386.5 MB, free: 9.609 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.096e-05/0.08292, allocations: 31.86 kB / 386.6 MB, free: 9.578 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.149e-05/0.083, allocations: 35.78 kB / 386.6 MB, free: 9.543 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.08303, allocations: 8 kB / 386.6 MB, free: 9.535 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.546e-05/0.08305, allocations: 8 kB / 386.6 MB, free: 9.527 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.467e-05/0.08308, allocations: 23.92 kB / 386.6 MB, free: 9.504 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.714e-05/0.08313, allocations: 39.8 kB / 386.7 MB, free: 9.465 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.08324, allocations: 71.8 kB / 386.7 MB, free: 9.395 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.08325, allocations: 3.938 kB / 386.8 MB, free: 9.391 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.08325, allocations: 8 kB / 386.8 MB, free: 9.383 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.08327, allocations: 0 / 386.8 MB, free: 9.383 MB / 286.1 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.0004912/0.08377, allocations: 379.8 kB / 387.1 MB, free: 8.961 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.08382, allocations: 11.89 kB / 387.1 MB, free: 8.949 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.915e-05/0.08387, allocations: 16.75 kB / 387.2 MB, free: 8.934 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.08406, allocations: 176.3 kB / 387.3 MB, free: 8.723 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.08408, allocations: 12.5 kB / 387.3 MB, free: 8.711 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.536e-05/0.08412, allocations: 16.36 kB / 387.4 MB, free: 8.695 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.08433, allocations: 93.98 kB / 387.5 MB, free: 8.598 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.08435, allocations: 0 / 387.5 MB, free: 8.598 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.08437, allocations: 4 kB / 387.5 MB, free: 8.594 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.08439, allocations: 4 kB / 387.5 MB, free: 8.59 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.0845, allocations: 51.97 kB / 387.5 MB, free: 8.539 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005851/0.08509, allocations: 408.5 kB / 387.9 MB, free: 8.09 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.08529, allocations: 90.48 kB / 388 MB, free: 7.992 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.237e-05/0.08536, allocations: 36.84 kB / 388 MB, free: 7.953 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.08538, allocations: 4 kB / 388 MB, free: 7.949 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.08541, allocations: 38.56 kB / 388.1 MB, free: 7.902 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.663e-06/0.08542, allocations: 0 / 388.1 MB, free: 7.902 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002431/0.08567, allocations: 105.6 kB / 388.2 MB, free: 7.793 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/0.08571, allocations: 55.34 kB / 388.2 MB, free: 7.727 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.457e-05/0.0858, allocations: 113.9 kB / 388.3 MB, free: 7.605 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.08583, allocations: 25.7 kB / 388.4 MB, free: 7.574 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.502e-05/0.08589, allocations: 107.9 kB / 388.5 MB, free: 7.465 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.08592, allocations: 27.56 kB / 388.5 MB, free: 7.438 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/0.08597, allocations: 33.7 kB / 388.5 MB, free: 7.398 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.08608, allocations: 314.8 kB / 388.8 MB, free: 7.082 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.091e-05/0.08613, allocations: 23.98 kB / 388.9 MB, free: 7.059 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.118e-05/0.08617, allocations: 16 kB / 388.9 MB, free: 7.043 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.306e-05/0.08626, allocations: 60.97 kB / 388.9 MB, free: 6.98 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.08627, allocations: 4 kB / 388.9 MB, free: 6.977 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001295/0.0864, allocations: 85.62 kB / 389 MB, free: 6.887 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.08643, allocations: 8 kB / 389 MB, free: 6.879 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.08644, allocations: 0 / 389 MB, free: 6.879 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.08646, allocations: 0 / 389 MB, free: 6.879 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.08658, allocations: 19.88 kB / 389.1 MB, free: 6.859 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.08659, allocations: 4 kB / 389.1 MB, free: 6.855 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.949e-05/0.08663, allocations: 19.77 kB / 389.1 MB, free: 6.836 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.08664, allocations: 0 / 389.1 MB, free: 6.836 MB / 286.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 (10): * Single equations (assignments): 10 * 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.07e-05/0.08674, allocations: 117.8 kB / 389.2 MB, free: 6.711 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/0.08677, allocations: 4 kB / 389.2 MB, free: 6.707 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.697e-05/0.08681, allocations: 12.38 kB / 389.2 MB, free: 6.691 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.08682, allocations: 0 / 389.2 MB, free: 6.691 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.08683, allocations: 0 / 389.2 MB, free: 6.691 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.08684, allocations: 3.938 kB / 389.2 MB, free: 6.688 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/0.08705, allocations: 205.5 kB / 389.4 MB, free: 6.438 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.08706, allocations: 4 kB / 389.4 MB, free: 6.434 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.08717, allocations: 15.98 kB / 389.4 MB, free: 6.418 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.08718, allocations: 0 / 389.4 MB, free: 6.418 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.0872, allocations: 4 kB / 389.4 MB, free: 6.414 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.08721, allocations: 7.938 kB / 389.4 MB, free: 6.406 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.08721, allocations: 0 / 389.4 MB, free: 6.406 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.08745, allocations: 203.5 kB / 389.6 MB, free: 6.191 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.271e-05/0.0875, allocations: 93.11 kB / 389.7 MB, free: 6.082 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.08752, allocations: 0 / 389.7 MB, free: 6.082 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.435e-05/0.08759, allocations: 0 / 389.7 MB, free: 6.082 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.256e-05/0.08762, allocations: 12.02 kB / 389.7 MB, free: 6.07 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.08763, allocations: 3.938 kB / 389.7 MB, free: 6.066 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.076e-05/0.08768, allocations: 87.98 kB / 389.8 MB, free: 5.98 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.08768, allocations: 0 / 389.8 MB, free: 5.98 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002332/0.08792, allocations: 23.84 kB / 389.9 MB, free: 5.957 MB / 286.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.416e-05/0.08802, allocations: 103.2 kB / 390 MB, free: 5.844 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001413/0.08817, allocations: 59.98 kB / 390 MB, free: 5.785 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.08818, allocations: 4 kB / 390 MB, free: 5.781 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.25e-05/0.08823, allocations: 32.17 kB / 390.1 MB, free: 5.75 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.08859, allocations: 18.17 kB / 390.1 MB, free: 5.734 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004313/0.08903, allocations: 268.7 kB / 390.3 MB, free: 5.438 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.08929, allocations: 0.6963 MB / 391 MB, free: 4.715 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.308e-05/0.08933, allocations: 11.44 kB / 391 MB, free: 4.707 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.08933, allocations: 3.938 kB / 391 MB, free: 4.703 MB / 286.1 MB Notification: Performance of Templates: time 0.002419/0.09176, allocations: 1.062 MB / 392.1 MB, free: 3.641 MB / 286.1 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)