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.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.00169/0.00169, allocations: 85.48 kB / 19.44 MB, free: 344 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.00189/0.00189, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.35/1.35, allocations: 158.6 MB / 184.6 MB, free: 2.516 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.06161/0.06161, allocations: 6.42 MB / 243.3 MB, free: 8.758 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.ThirdSpecies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies") translateModel(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 310 MB, free: 52.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.609e-05, allocations: 5.062 kB / 310 MB, free: 52.22 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.001931/0.001957, allocations: 0.6997 MB / 310.7 MB, free: 51.83 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000466/0.002423, allocations: 170.5 kB / 310.9 MB, free: 51.71 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.792e-05/0.002511, allocations: 3.375 kB / 310.9 MB, free: 51.71 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.482e-05/0.002566, allocations: 18.55 kB / 310.9 MB, free: 51.7 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.002694, allocations: 19.03 kB / 310.9 MB, free: 51.68 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.002881, allocations: 56.52 kB / 311 MB, free: 51.65 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.003082, allocations: 135.5 kB / 311.1 MB, free: 51.59 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.003248, allocations: 59.42 kB / 311.2 MB, free: 51.56 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.003373, allocations: 97.89 kB / 311.3 MB, free: 51.51 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.969e-05/0.003473, allocations: 43.69 kB / 311.3 MB, free: 51.5 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.675e-05/0.003509, allocations: 21.72 kB / 311.3 MB, free: 51.49 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.84e-05/0.003538, allocations: 19.62 kB / 311.3 MB, free: 51.49 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.575e-05/0.003574, allocations: 41.05 kB / 311.4 MB, free: 51.46 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.977e-05/0.003633, allocations: 53.25 kB / 311.4 MB, free: 51.43 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002723/0.003906, allocations: 197.1 kB / 311.6 MB, free: 51.35 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.003909, allocations: 1.656 kB / 311.6 MB, free: 51.35 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.00391, allocations: 0 / 311.6 MB, free: 51.35 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.003916, allocations: 5.156 kB / 311.6 MB, free: 51.35 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.000557/0.004473, allocations: 0.4953 MB / 312.1 MB, free: 50.9 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.004509, allocations: 13.52 kB / 312.1 MB, free: 50.9 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.825e-05/0.004597, allocations: 35.73 kB / 312.2 MB, free: 50.88 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.004769, allocations: 155.2 kB / 312.3 MB, free: 50.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.004787, allocations: 17.16 kB / 312.3 MB, free: 50.72 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.691e-05/0.004824, allocations: 17.62 kB / 312.4 MB, free: 50.71 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003014/0.005126, allocations: 242.3 kB / 312.6 MB, free: 50.54 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.005144, allocations: 4.781 kB / 312.6 MB, free: 50.54 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.005163, allocations: 6.094 kB / 312.6 MB, free: 50.54 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.005171, allocations: 5.531 kB / 312.6 MB, free: 50.54 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002/0.005371, allocations: 113.2 kB / 312.7 MB, free: 50.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008272/0.006198, allocations: 0.5481 MB / 313.3 MB, free: 50.1 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.006429, allocations: 127.3 kB / 313.4 MB, free: 50.03 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.006539, allocations: 75.17 kB / 313.5 MB, free: 49.99 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.006561, allocations: 3.547 kB / 313.5 MB, free: 49.99 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/0.006578, allocations: 37.53 kB / 313.5 MB, free: 49.95 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 1.272e-06/0.006579, allocations: 0 / 313.5 MB, free: 49.95 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003339/0.006913, allocations: 171.4 kB / 313.7 MB, free: 49.87 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.848e-05/0.006932, allocations: 52.78 kB / 313.7 MB, free: 49.81 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.87e-05/0.00702, allocations: 204.1 kB / 313.9 MB, free: 49.62 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.007034, allocations: 27.08 kB / 313.9 MB, free: 49.59 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.47e-05/0.007088, allocations: 183.8 kB / 314.1 MB, free: 49.42 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.58e-05/0.007134, allocations: 63.97 kB / 314.2 MB, free: 49.37 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.405e-05/0.007188, allocations: 45.91 kB / 314.2 MB, free: 49.33 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.591e-05/0.007254, allocations: 0.499 MB / 314.7 MB, free: 48.83 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.992e-05/0.007324, allocations: 34.08 kB / 314.8 MB, free: 48.82 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.033e-05/0.007384, allocations: 40.12 kB / 314.8 MB, free: 48.81 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.007533, allocations: 114.1 kB / 314.9 MB, free: 48.76 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.007535, allocations: 1.375 kB / 314.9 MB, free: 48.76 MB / 282.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001969/0.007732, allocations: 155.8 kB / 315.1 MB, free: 48.68 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.007747, allocations: 5.562 kB / 315.1 MB, free: 48.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.007751, allocations: 3.938 kB / 315.1 MB, free: 48.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.007766, allocations: 5.562 kB / 315.1 MB, free: 48.67 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.007955, allocations: 34.64 kB / 315.1 MB, free: 48.67 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.007962, allocations: 5.219 kB / 315.1 MB, free: 48.67 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.513e-05/0.008008, allocations: 9.906 kB / 315.1 MB, free: 48.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.008017, allocations: 2.656 kB / 315.1 MB, free: 48.66 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 (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 8.053e-05/0.008097, allocations: 181.3 kB / 315.3 MB, free: 48.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.223e-05/0.008139, allocations: 16.16 kB / 315.3 MB, free: 48.47 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.682e-05/0.008196, allocations: 20.55 kB / 315.3 MB, free: 48.46 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.008199, allocations: 1.094 kB / 315.4 MB, free: 48.46 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.008207, allocations: 1.312 kB / 315.4 MB, free: 48.46 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.008212, allocations: 0.6562 kB / 315.4 MB, free: 48.46 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.008483, allocations: 220.5 kB / 315.6 MB, free: 48.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.008485, allocations: 0 / 315.6 MB, free: 48.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.008674, allocations: 28.09 kB / 315.6 MB, free: 48.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.008678, allocations: 1.031 kB / 315.6 MB, free: 48.27 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.008693, allocations: 1.375 kB / 315.6 MB, free: 48.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.008696, allocations: 1.438 kB / 315.6 MB, free: 48.27 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.008698, allocations: 0 / 315.6 MB, free: 48.27 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000347/0.009045, allocations: 349.8 kB / 315.9 MB, free: 48.02 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.749e-05/0.009062, allocations: 12.33 kB / 316 MB, free: 48.01 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.009085, allocations: 9.891 kB / 316 MB, free: 48.01 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.126e-05/0.009167, allocations: 5.25 kB / 316 MB, free: 48 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.009202, allocations: 11.41 kB / 316 MB, free: 48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.009212, allocations: 7.5 kB / 316 MB, free: 48 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.529e-05/0.009278, allocations: 145.9 kB / 316.1 MB, free: 47.87 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009278, allocations: 0 / 316.1 MB, free: 47.87 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002515/0.009529, allocations: 33.64 kB / 316.2 MB, free: 47.86 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (rabbits.population,foxes.population,wolves.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 (15): * Single equations (assignments): 15 * 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.187e-05/0.009621, allocations: 96.92 kB / 316.3 MB, free: 47.77 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001982/0.009819, allocations: 125.6 kB / 316.4 MB, free: 47.68 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.009822, allocations: 0 / 316.4 MB, free: 47.68 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.047e-05/0.009892, allocations: 76.39 kB / 316.5 MB, free: 47.61 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.01021, allocations: 19.55 kB / 316.5 MB, free: 47.59 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004953/0.0107, allocations: 330.5 kB / 316.8 MB, free: 47.26 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.517e-05/0.01078, allocations: 114.3 kB / 316.9 MB, free: 47.15 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.065e-05/0.01084, allocations: 9.047 kB / 316.9 MB, free: 47.14 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.554e-05/0.01087, allocations: 16.5 kB / 316.9 MB, free: 47.12 MB / 282.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01087, allocations: 0 / 316.9 MB, free: 47.12 MB / 282.7 MB Notification: Performance of Templates: time 0.004152/0.01503, allocations: 1.089 MB / 318 MB, free: 46.19 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.makefile [Timeout 660] (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=240 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.436314254067838]