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.001441/0.001441, 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.003035/0.003035, allocations: 157.6 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.446/1.446, allocations: 158.6 MB / 184.6 MB, free: 2.887 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.05118/0.05118, allocations: 6.415 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.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 2.675e-06/2.675e-06, allocations: 0 / 310 MB, free: 52.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.28e-05/5.547e-05, allocations: 2.312 kB / 310 MB, free: 52.22 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.002688/0.002743, allocations: 0.6668 MB / 310.7 MB, free: 51.83 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006239/0.003367, allocations: 162.2 kB / 310.8 MB, free: 51.72 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.138e-05/0.003458, allocations: 3.375 kB / 310.8 MB, free: 51.72 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.315e-05/0.003541, allocations: 20.47 kB / 310.9 MB, free: 51.7 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001396/0.003681, allocations: 20.91 kB / 310.9 MB, free: 51.68 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002899/0.003971, allocations: 52.48 kB / 310.9 MB, free: 51.66 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003961/0.004367, allocations: 146.2 kB / 311.1 MB, free: 51.59 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003022/0.004669, allocations: 54.03 kB / 311.1 MB, free: 51.56 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002123/0.004881, allocations: 93.25 kB / 311.2 MB, free: 51.52 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001673/0.005049, allocations: 45.77 kB / 311.3 MB, free: 51.5 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.506e-05/0.005124, allocations: 18.97 kB / 311.3 MB, free: 51.5 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.802e-05/0.005182, allocations: 23.06 kB / 311.3 MB, free: 51.5 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.995e-05/0.005262, allocations: 44.53 kB / 311.3 MB, free: 51.46 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.005375, allocations: 53.47 kB / 311.4 MB, free: 51.43 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004926/0.005868, allocations: 189.2 kB / 311.6 MB, free: 51.36 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.005874, allocations: 0 / 311.6 MB, free: 51.36 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.005876, allocations: 2.031 kB / 311.6 MB, free: 51.36 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.005886, allocations: 0 / 311.6 MB, free: 51.36 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.0009515/0.006837, allocations: 396.9 kB / 312 MB, free: 51.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.989e-05/0.006907, allocations: 13.19 kB / 312 MB, free: 51.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.007058, allocations: 36.8 kB / 312 MB, free: 51 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.007368, allocations: 153.7 kB / 312.2 MB, free: 50.85 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.985e-05/0.007408, allocations: 16.69 kB / 312.2 MB, free: 50.84 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-05/0.007491, allocations: 22.08 kB / 312.2 MB, free: 50.84 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005884/0.00808, allocations: 244.7 kB / 312.4 MB, free: 50.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.008101, allocations: 1.656 kB / 312.4 MB, free: 50.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.982e-05/0.008141, allocations: 12.03 kB / 312.5 MB, free: 50.65 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.008154, allocations: 3.938 kB / 312.5 MB, free: 50.65 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00032/0.008474, allocations: 115.8 kB / 312.6 MB, free: 50.61 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.009676, allocations: 479.1 kB / 313 MB, free: 50.28 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003731/0.01005, allocations: 122.5 kB / 313.2 MB, free: 50.21 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/0.01022, allocations: 70.55 kB / 313.2 MB, free: 50.18 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.01025, allocations: 3.125 kB / 313.2 MB, free: 50.18 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.677e-05/0.01029, allocations: 33.53 kB / 313.3 MB, free: 50.14 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 1.193e-06/0.0103, allocations: 0 / 313.3 MB, free: 50.14 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006597/0.01096, allocations: 184.4 kB / 313.4 MB, free: 50.05 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.011, allocations: 55.69 kB / 313.5 MB, free: 49.98 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.01117, allocations: 129.2 kB / 313.6 MB, free: 49.88 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.01119, allocations: 30.61 kB / 313.7 MB, free: 49.84 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.0113, allocations: 132.5 kB / 313.8 MB, free: 49.72 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.468e-05/0.01137, allocations: 57.22 kB / 313.8 MB, free: 49.68 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.317e-05/0.01145, allocations: 30.81 kB / 313.9 MB, free: 49.65 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.01158, allocations: 321.1 kB / 314.2 MB, free: 49.34 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.01169, allocations: 40.41 kB / 314.2 MB, free: 49.32 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.01181, allocations: 46.14 kB / 314.3 MB, free: 49.3 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002339/0.01205, allocations: 107.3 kB / 314.4 MB, free: 49.25 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.01205, allocations: 0 / 314.4 MB, free: 49.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003386/0.01239, allocations: 160.1 kB / 314.5 MB, free: 49.16 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.406e-05/0.01242, allocations: 4.344 kB / 314.5 MB, free: 49.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.01243, allocations: 1.25 kB / 314.5 MB, free: 49.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.11e-05/0.01246, allocations: 0.75 kB / 314.5 MB, free: 49.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002775/0.01274, allocations: 32.02 kB / 314.6 MB, free: 49.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.01275, allocations: 4.812 kB / 314.6 MB, free: 49.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.087e-05/0.01281, allocations: 13.33 kB / 314.6 MB, free: 49.15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.01283, allocations: 7.062 kB / 314.6 MB, free: 49.14 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 0.0001605/0.01299, allocations: 134.5 kB / 314.7 MB, free: 49.01 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.66e-05/0.01305, allocations: 13.55 kB / 314.7 MB, free: 49.01 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.101e-05/0.01312, allocations: 21.17 kB / 314.8 MB, free: 49 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.01313, allocations: 1.844 kB / 314.8 MB, free: 49 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.01314, allocations: 0 / 314.8 MB, free: 49 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.01315, allocations: 0.6562 kB / 314.8 MB, free: 49 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003492/0.0135, allocations: 193.8 kB / 315 MB, free: 48.83 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.0135, allocations: 1.406 kB / 315 MB, free: 48.83 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002353/0.01374, allocations: 26.81 kB / 315 MB, free: 48.83 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.01374, allocations: 5.375 kB / 315 MB, free: 48.82 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.636e-05/0.01377, allocations: 6.172 kB / 315 MB, free: 48.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.01377, allocations: 0 / 315 MB, free: 48.82 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.01377, allocations: 0 / 315 MB, free: 48.82 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005337/0.01431, allocations: 302.9 kB / 315.3 MB, free: 48.61 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.776e-05/0.01433, allocations: 13.19 kB / 315.3 MB, free: 48.61 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.01436, allocations: 1.375 kB / 315.3 MB, free: 48.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.01446, allocations: 5.375 kB / 315.3 MB, free: 48.6 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/0.01451, allocations: 7.438 kB / 315.3 MB, free: 48.6 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.01452, allocations: 5 kB / 315.3 MB, free: 48.6 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001025/0.01463, allocations: 107.7 kB / 315.4 MB, free: 48.51 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01463, allocations: 0 / 315.4 MB, free: 48.51 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003312/0.01496, allocations: 33.89 kB / 315.5 MB, free: 48.5 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 0.0001806/0.01514, allocations: 108.5 kB / 315.6 MB, free: 48.4 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003262/0.01546, allocations: 103 kB / 315.7 MB, free: 48.37 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.01547, allocations: 1.375 kB / 315.7 MB, free: 48.37 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.01561, allocations: 56.3 kB / 315.7 MB, free: 48.35 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005769/0.01619, allocations: 28.11 kB / 315.7 MB, free: 48.34 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008139/0.017, allocations: 332.6 kB / 316.1 MB, free: 48.04 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.01713, allocations: 111.8 kB / 316.2 MB, free: 47.93 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.906e-05/0.01722, allocations: 7.516 kB / 316.2 MB, free: 47.92 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.582e-05/0.01729, allocations: 21.05 kB / 316.2 MB, free: 47.9 MB / 282.7 MB Notification: Performance of SimCode: time 1.162e-06/0.01729, allocations: 4 kB / 316.2 MB, free: 47.9 MB / 282.7 MB Notification: Performance of Templates: time 0.00563/0.02292, allocations: 1.09 MB / 317.3 MB, free: 46.96 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=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.44203686399851]