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.001003/0.001003, allocations: 92.22 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.001652/0.001652, allocations: 173 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 0.9981/0.9981, allocations: 158.6 MB / 184.9 MB, free: 2.918 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.02842/0.02842, allocations: 6.408 MB / 243.6 MB, free: 8.73 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.413e-06/1.413e-06, allocations: 0 / 310.7 MB, free: 51.99 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.489e-05/2.63e-05, allocations: 7.031 kB / 310.7 MB, free: 51.99 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.001468/0.001494, allocations: 0.6864 MB / 311.4 MB, free: 51.61 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003225/0.001817, allocations: 183.9 kB / 311.6 MB, free: 51.48 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.896e-05/0.001866, allocations: 2.625 kB / 311.6 MB, free: 51.48 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.206e-05/0.001908, allocations: 18.77 kB / 311.6 MB, free: 51.46 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.618e-05/0.001984, allocations: 9.25 kB / 311.6 MB, free: 51.45 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001464/0.00213, allocations: 52.7 kB / 311.7 MB, free: 51.43 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.002297, allocations: 148.8 kB / 311.8 MB, free: 51.36 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.002436, allocations: 55.56 kB / 311.9 MB, free: 51.33 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.383e-05/0.00252, allocations: 92.45 kB / 312 MB, free: 51.29 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.838e-05/0.002598, allocations: 54.33 kB / 312 MB, free: 51.26 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.383e-05/0.002632, allocations: 19.5 kB / 312 MB, free: 51.26 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.138e-05/0.002653, allocations: 19.22 kB / 312.1 MB, free: 51.26 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.361e-05/0.002687, allocations: 41.58 kB / 312.1 MB, free: 51.23 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.347e-05/0.00273, allocations: 50.14 kB / 312.1 MB, free: 51.21 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.002878, allocations: 115.7 kB / 312.3 MB, free: 51.14 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.00288, allocations: 0 / 312.3 MB, free: 51.14 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.002881, allocations: 1.062 kB / 312.3 MB, free: 51.14 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.002886, allocations: 0 / 312.3 MB, free: 51.14 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.0004349/0.003321, allocations: 499 kB / 312.7 MB, free: 50.7 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.003356, allocations: 13.23 kB / 312.8 MB, free: 50.69 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.522e-05/0.003421, allocations: 41.31 kB / 312.8 MB, free: 50.67 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.003568, allocations: 155.2 kB / 313 MB, free: 50.52 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.003585, allocations: 16.69 kB / 313 MB, free: 50.51 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.204e-05/0.003617, allocations: 23.91 kB / 313 MB, free: 50.5 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.003809, allocations: 204 kB / 313.2 MB, free: 50.35 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.003821, allocations: 3.188 kB / 313.2 MB, free: 50.35 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.003836, allocations: 8.703 kB / 313.2 MB, free: 50.35 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.003845, allocations: 4.5 kB / 313.2 MB, free: 50.35 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.003952, allocations: 75.52 kB / 313.3 MB, free: 50.33 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005369/0.004489, allocations: 0.5072 MB / 313.8 MB, free: 49.95 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.00465, allocations: 112.5 kB / 313.9 MB, free: 49.88 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.061e-05/0.00471, allocations: 49.14 kB / 313.9 MB, free: 49.86 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.004721, allocations: 2.75 kB / 313.9 MB, free: 49.86 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/0.004737, allocations: 39.42 kB / 314 MB, free: 49.82 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.004739, allocations: 1.375 kB / 314 MB, free: 49.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002208/0.00496, allocations: 138.5 kB / 314.1 MB, free: 49.75 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.097e-05/0.004981, allocations: 54.72 kB / 314.2 MB, free: 49.69 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.054e-05/0.005041, allocations: 182.5 kB / 314.4 MB, free: 49.52 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.005052, allocations: 31.64 kB / 314.4 MB, free: 49.48 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.998e-05/0.005092, allocations: 175 kB / 314.6 MB, free: 49.32 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.005122, allocations: 56.36 kB / 314.6 MB, free: 49.28 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/0.005158, allocations: 46.83 kB / 314.7 MB, free: 49.24 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.723e-05/0.005205, allocations: 0.4902 MB / 315.1 MB, free: 48.74 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.744e-05/0.005242, allocations: 24.91 kB / 315.2 MB, free: 48.74 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.348e-05/0.005276, allocations: 21.53 kB / 315.2 MB, free: 48.74 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.768e-05/0.005363, allocations: 79.77 kB / 315.3 MB, free: 48.7 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.005365, allocations: 1.156 kB / 315.3 MB, free: 48.7 MB / 282.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001294/0.005495, allocations: 125.3 kB / 315.4 MB, free: 48.64 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.005507, allocations: 4.969 kB / 315.4 MB, free: 48.64 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.005511, allocations: 1.5 kB / 315.4 MB, free: 48.64 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.005522, allocations: 0 / 315.4 MB, free: 48.64 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.005638, allocations: 40.45 kB / 315.4 MB, free: 48.63 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.005643, allocations: 8.562 kB / 315.4 MB, free: 48.63 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.215e-05/0.005665, allocations: 2.844 kB / 315.5 MB, free: 48.63 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.005672, allocations: 2.75 kB / 315.5 MB, free: 48.63 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 4.949e-05/0.005721, allocations: 171.3 kB / 315.6 MB, free: 48.45 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.005744, allocations: 16.38 kB / 315.6 MB, free: 48.45 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.549e-05/0.00577, allocations: 18.98 kB / 315.7 MB, free: 48.43 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.005773, allocations: 3.531 kB / 315.7 MB, free: 48.43 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.005777, allocations: 0 / 315.7 MB, free: 48.43 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.005781, allocations: 4.516 kB / 315.7 MB, free: 48.43 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.005921, allocations: 183.5 kB / 315.8 MB, free: 48.26 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.005922, allocations: 0.6562 kB / 315.8 MB, free: 48.26 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.92e-05/0.006021, allocations: 35.94 kB / 315.9 MB, free: 48.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.006024, allocations: 5.578 kB / 315.9 MB, free: 48.25 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.006038, allocations: 1.562 kB / 315.9 MB, free: 48.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.00604, allocations: 0.7969 kB / 315.9 MB, free: 48.25 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.006041, allocations: 1.25 kB / 315.9 MB, free: 48.25 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/0.006247, allocations: 299.8 kB / 316.2 MB, free: 48.03 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.516e-06/0.006256, allocations: 9.109 kB / 316.2 MB, free: 48.02 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.006269, allocations: 12.06 kB / 316.2 MB, free: 48.01 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.128e-05/0.00631, allocations: 0 / 316.2 MB, free: 48.01 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.906e-05/0.006329, allocations: 9.953 kB / 316.2 MB, free: 48.01 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.006335, allocations: 8 kB / 316.2 MB, free: 48 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.95e-05/0.006364, allocations: 143.6 kB / 316.4 MB, free: 47.87 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006365, allocations: 3.938 kB / 316.4 MB, free: 47.86 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001504/0.006515, allocations: 35.89 kB / 316.4 MB, free: 47.83 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 5.865e-05/0.006574, allocations: 96.05 kB / 316.5 MB, free: 47.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001266/0.0067, allocations: 81.75 kB / 316.6 MB, free: 47.65 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.006702, allocations: 4 kB / 316.6 MB, free: 47.65 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.161e-05/0.006743, allocations: 53.53 kB / 316.6 MB, free: 47.6 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.006942, allocations: 32.39 kB / 316.7 MB, free: 47.57 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003397/0.007282, allocations: 317.5 kB / 317 MB, free: 47.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.129e-05/0.007313, allocations: 72.48 kB / 317 MB, free: 47.17 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.229e-05/0.007355, allocations: 13.2 kB / 317.1 MB, free: 47.16 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.995e-05/0.007385, allocations: 16.5 kB / 317.1 MB, free: 47.14 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.007386, allocations: 0 / 317.1 MB, free: 47.14 MB / 282.7 MB Notification: Performance of Templates: time 0.002519/0.009905, allocations: 1.107 MB / 318.2 MB, free: 46.2 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: 2.9855919531546533]