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.001376/0.001376, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001632/0.001632, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.38/1.38, allocations: 158.6 MB / 184.6 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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.0509/0.0509, allocations: 6.417 MB / 243.3 MB, free: 8.789 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 2.896e-06/2.896e-06, allocations: 0 / 310 MB, free: 52.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.535e-05/3.824e-05, allocations: 3.5 kB / 310 MB, free: 52.26 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.002513/0.002551, allocations: 0.5544 MB / 310.5 MB, free: 51.95 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004648/0.003016, allocations: 108.2 kB / 310.6 MB, free: 51.88 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.134e-05/0.003087, allocations: 1.188 kB / 310.6 MB, free: 51.88 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.539e-05/0.003153, allocations: 15.22 kB / 310.7 MB, free: 51.86 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001235/0.003276, allocations: 8.672 kB / 310.7 MB, free: 51.86 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.003506, allocations: 32.36 kB / 310.7 MB, free: 51.84 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002469/0.003753, allocations: 67.89 kB / 310.8 MB, free: 51.8 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002329/0.003985, allocations: 25.97 kB / 310.8 MB, free: 51.79 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.004137, allocations: 51.98 kB / 310.8 MB, free: 51.77 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.004268, allocations: 23.25 kB / 310.9 MB, free: 51.76 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.661e-05/0.004314, allocations: 9.438 kB / 310.9 MB, free: 51.76 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.987e-05/0.004344, allocations: 9.531 kB / 310.9 MB, free: 51.76 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.377e-05/0.004388, allocations: 22.06 kB / 310.9 MB, free: 51.74 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.375e-05/0.004462, allocations: 26.22 kB / 310.9 MB, free: 51.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000252/0.004714, allocations: 91 kB / 311 MB, free: 51.69 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.004717, allocations: 0 / 311 MB, free: 51.69 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.004718, allocations: 2.312 kB / 311 MB, free: 51.69 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.004725, allocations: 0 / 311 MB, free: 51.69 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.0006959/0.00542, allocations: 316.2 kB / 311.3 MB, free: 51.39 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.87e-05/0.005479, allocations: 13.02 kB / 311.3 MB, free: 51.39 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.45e-05/0.005574, allocations: 20.3 kB / 311.4 MB, free: 51.38 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.005804, allocations: 130.4 kB / 311.5 MB, free: 51.24 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.005829, allocations: 7.656 kB / 311.5 MB, free: 51.24 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.731e-05/0.005887, allocations: 12.52 kB / 311.5 MB, free: 51.23 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003395/0.006226, allocations: 150.7 kB / 311.7 MB, free: 51.11 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.00625, allocations: 5.656 kB / 311.7 MB, free: 51.11 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.006273, allocations: 2.312 kB / 311.7 MB, free: 51.11 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.006283, allocations: 2.312 kB / 311.7 MB, free: 51.11 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001918/0.006475, allocations: 51.08 kB / 311.7 MB, free: 51.09 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008778/0.007353, allocations: 331 kB / 312 MB, free: 50.83 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003265/0.007679, allocations: 81.69 kB / 312.1 MB, free: 50.78 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.007794, allocations: 37.16 kB / 312.2 MB, free: 50.76 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.007822, allocations: 2.078 kB / 312.2 MB, free: 50.76 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.007861, allocations: 37.16 kB / 312.2 MB, free: 50.72 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 2.164e-06/0.007863, allocations: 0.5 kB / 312.2 MB, free: 50.72 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000388/0.008251, allocations: 105.1 kB / 312.3 MB, free: 50.66 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.008283, allocations: 57.47 kB / 312.4 MB, free: 50.59 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.911e-05/0.008382, allocations: 107.7 kB / 312.5 MB, free: 50.49 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.008397, allocations: 25.7 kB / 312.5 MB, free: 50.46 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.364e-05/0.008461, allocations: 108.2 kB / 312.6 MB, free: 50.36 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.691e-05/0.008517, allocations: 29 kB / 312.6 MB, free: 50.34 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.175e-05/0.008579, allocations: 22.62 kB / 312.6 MB, free: 50.32 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.858e-05/0.008648, allocations: 327.5 kB / 313 MB, free: 49.99 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.872e-05/0.008706, allocations: 19.41 kB / 313 MB, free: 49.98 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5e-05/0.008756, allocations: 17.97 kB / 313 MB, free: 49.98 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.008886, allocations: 58.81 kB / 313.1 MB, free: 49.95 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.008888, allocations: 1.188 kB / 313.1 MB, free: 49.95 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002152/0.009104, allocations: 94.14 kB / 313.1 MB, free: 49.89 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.009124, allocations: 4.781 kB / 313.1 MB, free: 49.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.009132, allocations: 2.109 kB / 313.2 MB, free: 49.89 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.976e-05/0.009162, allocations: 0 / 313.2 MB, free: 49.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.009339, allocations: 21.34 kB / 313.2 MB, free: 49.89 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.009348, allocations: 7.938 kB / 313.2 MB, free: 49.88 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.059e-05/0.009398, allocations: 10.03 kB / 313.2 MB, free: 49.87 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.009407, allocations: 2.656 kB / 313.2 MB, free: 49.87 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 9.559e-05/0.009503, allocations: 118.2 kB / 313.3 MB, free: 49.75 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.177e-05/0.009555, allocations: 13.95 kB / 313.3 MB, free: 49.74 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.632e-05/0.009611, allocations: 11.52 kB / 313.3 MB, free: 49.74 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.009614, allocations: 0 / 313.3 MB, free: 49.74 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.009621, allocations: 0 / 313.3 MB, free: 49.74 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.009627, allocations: 2.781 kB / 313.3 MB, free: 49.74 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.009877, allocations: 142.1 kB / 313.5 MB, free: 49.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.009881, allocations: 6.484 kB / 313.5 MB, free: 49.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.01004, allocations: 12.84 kB / 313.5 MB, free: 49.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.01005, allocations: 1.781 kB / 313.5 MB, free: 49.59 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.01006, allocations: 0.5156 kB / 313.5 MB, free: 49.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.01006, allocations: 1.812 kB / 313.5 MB, free: 49.59 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.01007, allocations: 0.7031 kB / 313.5 MB, free: 49.59 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003552/0.01042, allocations: 214.8 kB / 313.7 MB, free: 49.42 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.926e-05/0.01044, allocations: 6.703 kB / 313.7 MB, free: 49.41 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.01047, allocations: 2.031 kB / 313.7 MB, free: 49.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.01059, allocations: 5.375 kB / 313.7 MB, free: 49.41 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.01063, allocations: 8.016 kB / 313.7 MB, free: 49.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.01064, allocations: 3.359 kB / 313.7 MB, free: 49.41 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.241e-05/0.0107, allocations: 88 kB / 313.8 MB, free: 49.33 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0107, allocations: 0 / 313.8 MB, free: 49.33 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004285/0.01113, allocations: 20.27 kB / 313.8 MB, free: 49.32 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 0.00014/0.01127, allocations: 101.9 kB / 313.9 MB, free: 49.23 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002011/0.01147, allocations: 54.77 kB / 314 MB, free: 49.21 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.01148, allocations: 1.375 kB / 314 MB, free: 49.21 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.517e-05/0.01154, allocations: 29.12 kB / 314 MB, free: 49.2 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005984/0.01214, allocations: 25.47 kB / 314 MB, free: 49.18 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005297/0.01267, allocations: 210.9 kB / 314.3 MB, free: 49.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.01277, allocations: 81.48 kB / 314.3 MB, free: 48.94 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.74e-05/0.01284, allocations: 4.578 kB / 314.3 MB, free: 48.94 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.96e-05/0.01289, allocations: 12.62 kB / 314.3 MB, free: 48.93 MB / 282.7 MB Notification: Performance of SimCode: time 3.5e-07/0.01289, allocations: 0 / 314.3 MB, free: 48.93 MB / 282.7 MB Notification: Performance of Templates: time 0.005814/0.0187, allocations: 0.7139 MB / 315.1 MB, free: 48.85 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=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.447808354976587]