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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009656/0.0009656, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009561/0.0009561, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.921/0.921, allocations: 158.6 MB / 185.2 MB, free: 2.809 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.05284/0.05284, allocations: 6.421 MB / 244 MB, free: 8.648 MB / 234.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra") translateModel(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.664e-06/1.664e-06, allocations: 0 / 311.1 MB, free: 51.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.315e-05/1.481e-05, allocations: 3.078 kB / 311.1 MB, free: 51.88 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.001144/0.001159, allocations: 0.5484 MB / 311.7 MB, free: 51.58 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002781/0.001437, allocations: 113 kB / 311.8 MB, free: 51.5 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.249e-05/0.00148, allocations: 1.312 kB / 311.8 MB, free: 51.5 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.421e-05/0.001514, allocations: 9.984 kB / 311.8 MB, free: 51.5 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.42e-05/0.001598, allocations: 14.11 kB / 311.8 MB, free: 51.48 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001433/0.001741, allocations: 29.5 kB / 311.9 MB, free: 51.47 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001416/0.001883, allocations: 71.64 kB / 311.9 MB, free: 51.43 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.001994, allocations: 29.58 kB / 312 MB, free: 51.42 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.18e-05/0.002056, allocations: 47.94 kB / 312 MB, free: 51.4 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.65e-05/0.002122, allocations: 26.73 kB / 312 MB, free: 51.39 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.002142, allocations: 10.44 kB / 312 MB, free: 51.39 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.435e-05/0.002156, allocations: 7.906 kB / 312.1 MB, free: 51.39 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.343e-05/0.002179, allocations: 19.05 kB / 312.1 MB, free: 51.38 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.855e-05/0.002208, allocations: 26.8 kB / 312.1 MB, free: 51.36 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.002311, allocations: 58.8 kB / 312.2 MB, free: 51.33 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.002313, allocations: 0 / 312.2 MB, free: 51.33 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.002314, allocations: 0 / 312.2 MB, free: 51.33 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.002318, allocations: 0 / 312.2 MB, free: 51.33 MB / 282.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.0003011/0.002619, allocations: 415.6 kB / 312.6 MB, free: 50.93 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.002659, allocations: 17.77 kB / 312.6 MB, free: 50.92 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/0.002696, allocations: 16.23 kB / 312.6 MB, free: 50.91 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.002803, allocations: 141.1 kB / 312.7 MB, free: 50.76 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.002813, allocations: 10.12 kB / 312.7 MB, free: 50.76 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.002832, allocations: 12.25 kB / 312.8 MB, free: 50.75 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.002938, allocations: 126.2 kB / 312.9 MB, free: 50.65 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.002946, allocations: 2.688 kB / 312.9 MB, free: 50.65 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.002954, allocations: 1.469 kB / 312.9 MB, free: 50.65 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.002959, allocations: 1.781 kB / 312.9 MB, free: 50.65 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.273e-05/0.003002, allocations: 31.55 kB / 312.9 MB, free: 50.64 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003164/0.003319, allocations: 348.2 kB / 313.3 MB, free: 50.35 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.003423, allocations: 76.19 kB / 313.3 MB, free: 50.3 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.402e-05/0.003447, allocations: 25.94 kB / 313.4 MB, free: 50.29 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.586e-06/0.003456, allocations: 1.375 kB / 313.4 MB, free: 50.29 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.383e-05/0.00347, allocations: 36.7 kB / 313.4 MB, free: 50.25 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.003471, allocations: 0 / 313.4 MB, free: 50.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001236/0.003594, allocations: 80.36 kB / 313.5 MB, free: 50.2 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.447e-05/0.003609, allocations: 53.3 kB / 313.5 MB, free: 50.14 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.109e-05/0.00365, allocations: 166.7 kB / 313.7 MB, free: 49.97 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.695e-06/0.003658, allocations: 31.08 kB / 313.7 MB, free: 49.93 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.419e-05/0.003692, allocations: 150 kB / 313.9 MB, free: 49.79 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.003713, allocations: 32.97 kB / 313.9 MB, free: 49.76 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.72e-05/0.00374, allocations: 27.52 kB / 313.9 MB, free: 49.73 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.342e-05/0.003784, allocations: 0.4896 MB / 314.4 MB, free: 49.24 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.257e-05/0.003796, allocations: 7.281 kB / 314.4 MB, free: 49.24 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.419e-05/0.003811, allocations: 10.59 kB / 314.4 MB, free: 49.24 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.521e-05/0.003846, allocations: 39.16 kB / 314.5 MB, free: 49.21 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.003849, allocations: 5.312 kB / 314.5 MB, free: 49.21 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.816e-05/0.003917, allocations: 75.78 kB / 314.5 MB, free: 49.16 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.003929, allocations: 4.781 kB / 314.5 MB, free: 49.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.237e-06/0.003933, allocations: 5.375 kB / 314.6 MB, free: 49.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.003942, allocations: 0 / 314.6 MB, free: 49.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.769e-05/0.00401, allocations: 17.84 kB / 314.6 MB, free: 49.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.004013, allocations: 0 / 314.6 MB, free: 49.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.382e-05/0.004026, allocations: 5.984 kB / 314.6 MB, free: 49.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-06/0.004031, allocations: 5.312 kB / 314.6 MB, free: 49.15 MB / 282.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.387e-05/0.004074, allocations: 159.9 kB / 314.7 MB, free: 48.99 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.745e-05/0.004092, allocations: 12.08 kB / 314.7 MB, free: 48.98 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.742e-05/0.004119, allocations: 15.75 kB / 314.8 MB, free: 48.97 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.004123, allocations: 5.375 kB / 314.8 MB, free: 48.97 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.004125, allocations: 0.75 kB / 314.8 MB, free: 48.97 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.00413, allocations: 1.375 kB / 314.8 MB, free: 48.97 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.00423, allocations: 125.2 kB / 314.9 MB, free: 48.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.004231, allocations: 0 / 314.9 MB, free: 48.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.166e-05/0.004283, allocations: 19.42 kB / 314.9 MB, free: 48.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.004285, allocations: 3.938 kB / 314.9 MB, free: 48.83 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.004294, allocations: 1.375 kB / 314.9 MB, free: 48.83 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.004295, allocations: 0.75 kB / 314.9 MB, free: 48.83 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.004296, allocations: 1.375 kB / 314.9 MB, free: 48.83 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.004423, allocations: 239.1 kB / 315.2 MB, free: 48.62 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.903e-06/0.00443, allocations: 9.266 kB / 315.2 MB, free: 48.62 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.227e-06/0.004439, allocations: 6.125 kB / 315.2 MB, free: 48.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.145e-05/0.004471, allocations: 1.375 kB / 315.2 MB, free: 48.61 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.389e-05/0.004484, allocations: 3.859 kB / 315.2 MB, free: 48.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.004489, allocations: 3.312 kB / 315.2 MB, free: 48.61 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.059e-05/0.004509, allocations: 129.4 kB / 315.3 MB, free: 48.49 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004509, allocations: 1.375 kB / 315.3 MB, free: 48.49 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001549/0.004664, allocations: 18.95 kB / 315.3 MB, free: 48.48 MB / 282.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.333e-05/0.004718, allocations: 98.41 kB / 315.4 MB, free: 48.4 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.121e-05/0.004789, allocations: 50.83 kB / 315.5 MB, free: 48.38 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.00479, allocations: 1.375 kB / 315.5 MB, free: 48.38 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.995e-05/0.00481, allocations: 24.06 kB / 315.5 MB, free: 48.36 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/0.004982, allocations: 16.44 kB / 315.5 MB, free: 48.36 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002313/0.005213, allocations: 208.8 kB / 315.7 MB, free: 48.18 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.736e-05/0.00524, allocations: 65.31 kB / 315.8 MB, free: 48.11 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.123e-05/0.005271, allocations: 7.656 kB / 315.8 MB, free: 48.11 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.261e-05/0.005324, allocations: 81.5 kB / 315.9 MB, free: 48.04 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.005325, allocations: 4 kB / 315.9 MB, free: 48.04 MB / 282.7 MB Notification: Performance of Templates: time 0.00218/0.007505, allocations: 0.7781 MB / 316.6 MB, free: 47.86 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.makefile [Timeout 660] (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=240 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7030919729731977]