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.001069/0.001069, allocations: 93.06 kB / 19.65 MB, free: 276 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.001271/0.001271, allocations: 169 kB / 23.02 MB, free: 1.547 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.002/1.002, allocations: 158.6 MB / 184.9 MB, free: 2.914 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.02807/0.02807, allocations: 6.416 MB / 243.7 MB, free: 8.715 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.475e-06/2.475e-06, allocations: 0 / 310.7 MB, free: 51.98 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.57e-05/3.817e-05, allocations: 7.938 kB / 310.7 MB, free: 51.97 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.001626/0.001664, allocations: 0.5505 MB / 311.3 MB, free: 51.68 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003162/0.001981, allocations: 113 kB / 311.4 MB, free: 51.6 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.333e-05/0.002034, allocations: 0.9375 kB / 311.4 MB, free: 51.6 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.722e-05/0.002081, allocations: 9.562 kB / 311.4 MB, free: 51.59 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.199e-05/0.002163, allocations: 8.406 kB / 311.4 MB, free: 51.58 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001776/0.002341, allocations: 27.86 kB / 311.4 MB, free: 51.57 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000189/0.00253, allocations: 76.09 kB / 311.5 MB, free: 51.53 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.002691, allocations: 25.12 kB / 311.5 MB, free: 51.52 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.21e-05/0.002773, allocations: 47.45 kB / 311.6 MB, free: 51.5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.171e-05/0.002855, allocations: 22.39 kB / 311.6 MB, free: 51.49 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.315e-05/0.002888, allocations: 8.438 kB / 311.6 MB, free: 51.49 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.765e-05/0.002906, allocations: 11.34 kB / 311.6 MB, free: 51.49 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.126e-05/0.002937, allocations: 26.16 kB / 311.6 MB, free: 51.47 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.531e-05/0.002983, allocations: 21.77 kB / 311.7 MB, free: 51.46 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.003143, allocations: 62.48 kB / 311.7 MB, free: 51.43 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.003146, allocations: 0.6094 kB / 311.7 MB, free: 51.43 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.003148, allocations: 0.625 kB / 311.7 MB, free: 51.43 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.003153, allocations: 0 / 311.7 MB, free: 51.43 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.0004669/0.00362, allocations: 418.9 kB / 312.1 MB, free: 51.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.003668, allocations: 15.42 kB / 312.1 MB, free: 51.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.045e-05/0.003729, allocations: 17.89 kB / 312.2 MB, free: 51.01 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.003892, allocations: 139.3 kB / 312.3 MB, free: 50.86 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.003909, allocations: 6.5 kB / 312.3 MB, free: 50.86 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.692e-05/0.003946, allocations: 13.16 kB / 312.3 MB, free: 50.86 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.00412, allocations: 136.4 kB / 312.4 MB, free: 50.75 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.004132, allocations: 2.656 kB / 312.5 MB, free: 50.75 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.004146, allocations: 5.375 kB / 312.5 MB, free: 50.74 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.004155, allocations: 2.75 kB / 312.5 MB, free: 50.74 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.52e-05/0.004231, allocations: 30.72 kB / 312.5 MB, free: 50.74 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004956/0.004726, allocations: 376.5 kB / 312.9 MB, free: 50.41 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.004885, allocations: 77.77 kB / 312.9 MB, free: 50.36 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.121e-05/0.004937, allocations: 35.03 kB / 313 MB, free: 50.34 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.629e-06/0.004946, allocations: 1.188 kB / 313 MB, free: 50.34 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.004967, allocations: 39.88 kB / 313 MB, free: 50.3 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 2.074e-06/0.004969, allocations: 0 / 313 MB, free: 50.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002057/0.005175, allocations: 74.69 kB / 313.1 MB, free: 50.26 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.0052, allocations: 53.27 kB / 313.1 MB, free: 50.2 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.429e-05/0.005264, allocations: 172.3 kB / 313.3 MB, free: 50.02 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/0.005272, allocations: 29.7 kB / 313.3 MB, free: 49.99 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.188e-05/0.005314, allocations: 155 kB / 313.5 MB, free: 49.84 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.005344, allocations: 29.06 kB / 313.5 MB, free: 49.82 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.005384, allocations: 27.36 kB / 313.5 MB, free: 49.79 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.443e-05/0.005439, allocations: 0.4926 MB / 314 MB, free: 49.29 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.109e-05/0.00547, allocations: 10.84 kB / 314 MB, free: 49.29 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.063e-05/0.005501, allocations: 14.61 kB / 314.1 MB, free: 49.29 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.272e-05/0.005573, allocations: 39.12 kB / 314.1 MB, free: 49.27 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.005576, allocations: 0 / 314.1 MB, free: 49.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001283/0.005704, allocations: 80.3 kB / 314.2 MB, free: 49.22 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.005721, allocations: 5.969 kB / 314.2 MB, free: 49.22 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.005728, allocations: 4.609 kB / 314.2 MB, free: 49.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.005745, allocations: 1.281 kB / 314.2 MB, free: 49.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.005866, allocations: 21.17 kB / 314.2 MB, free: 49.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.005871, allocations: 0 / 314.2 MB, free: 49.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.187e-05/0.005893, allocations: 5.188 kB / 314.2 MB, free: 49.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.005899, allocations: 2.75 kB / 314.2 MB, free: 49.21 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 6.27e-05/0.005962, allocations: 162.7 kB / 314.4 MB, free: 49.04 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.00599, allocations: 10.25 kB / 314.4 MB, free: 49.04 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.799e-05/0.006028, allocations: 10.47 kB / 314.4 MB, free: 49.03 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.006033, allocations: 1.953 kB / 314.4 MB, free: 49.03 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.006038, allocations: 4 kB / 314.4 MB, free: 49.03 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.006043, allocations: 0.75 kB / 314.4 MB, free: 49.03 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.006192, allocations: 157.5 kB / 314.5 MB, free: 48.86 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.006193, allocations: 0 / 314.5 MB, free: 48.86 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.441e-05/0.006278, allocations: 14.91 kB / 314.6 MB, free: 48.86 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.006281, allocations: 3.938 kB / 314.6 MB, free: 48.86 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.006296, allocations: 1.719 kB / 314.6 MB, free: 48.86 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.165e-06/0.006298, allocations: 0.5625 kB / 314.6 MB, free: 48.86 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.006301, allocations: 2.031 kB / 314.6 MB, free: 48.86 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.006474, allocations: 239.5 kB / 314.8 MB, free: 48.65 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.143e-05/0.006486, allocations: 10.73 kB / 314.8 MB, free: 48.64 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.0065, allocations: 2.188 kB / 314.8 MB, free: 48.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.19e-05/0.006542, allocations: 5.188 kB / 314.8 MB, free: 48.64 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.937e-05/0.006562, allocations: 4.469 kB / 314.8 MB, free: 48.64 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.00657, allocations: 6.156 kB / 314.8 MB, free: 48.64 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.862e-05/0.006598, allocations: 132.4 kB / 315 MB, free: 48.52 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006598, allocations: 0 / 315 MB, free: 48.52 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000153/0.006751, allocations: 15.42 kB / 315 MB, free: 48.51 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 7.981e-05/0.006831, allocations: 104.8 kB / 315.1 MB, free: 48.42 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001287/0.00696, allocations: 52.92 kB / 315.1 MB, free: 48.39 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.006963, allocations: 1.312 kB / 315.1 MB, free: 48.39 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.202e-05/0.006995, allocations: 30.34 kB / 315.2 MB, free: 48.38 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.00723, allocations: 22.42 kB / 315.2 MB, free: 48.37 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003709/0.007601, allocations: 204.6 kB / 315.4 MB, free: 48.2 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.678e-05/0.007638, allocations: 66.02 kB / 315.4 MB, free: 48.12 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.196e-05/0.00768, allocations: 7.297 kB / 315.5 MB, free: 48.12 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.113e-05/0.007711, allocations: 12.62 kB / 315.5 MB, free: 48.12 MB / 282.7 MB Notification: Performance of SimCode: time 9.92e-07/0.007712, allocations: 0 / 315.5 MB, free: 48.12 MB / 282.7 MB Notification: Performance of Templates: time 0.002936/0.01065, allocations: 0.7298 MB / 316.2 MB, free: 48.04 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: 3.004536533728242]