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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001536/0.001537, allocations: 110.6 kB / 17.08 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 195.6 kB / 20.03 MB, free: 3.047 MB / 14.72 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.377/1.377, allocations: 205.1 MB / 227.9 MB, free: 4.387 MB / 174.1 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.05033/0.05033, allocations: 8.12 MB / 285.4 MB, free: 10.98 MB / 238.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaByExample requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 79.86 kB / 396.1 MB, free: 6.777 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2411, allocations: 48.3 MB / 444.4 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.001734/0.2429, allocations: 0.706 MB / 445.1 MB, free: 8.312 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003365/0.2433, allocations: 180.4 kB / 445.3 MB, free: 8.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.265e-05/0.2434, allocations: 3.219 kB / 445.3 MB, free: 8.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.989e-05/0.2434, allocations: 23.06 kB / 445.3 MB, free: 8.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.934e-05/0.2435, allocations: 17.98 kB / 445.3 MB, free: 8.145 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001583/0.2437, allocations: 51.42 kB / 445.3 MB, free: 8.117 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.2438, allocations: 136.5 kB / 445.5 MB, free: 8.055 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.244, allocations: 94.8 kB / 445.6 MB, free: 8.004 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.095e-05/0.2441, allocations: 58.14 kB / 445.6 MB, free: 7.973 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.006e-05/0.2442, allocations: 73.56 kB / 445.7 MB, free: 7.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.491e-05/0.2442, allocations: 18.62 kB / 445.7 MB, free: 7.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.474e-05/0.2442, allocations: 19.47 kB / 445.7 MB, free: 7.93 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.241e-05/0.2443, allocations: 51.11 kB / 445.8 MB, free: 7.891 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.047e-05/0.2443, allocations: 72.39 kB / 445.9 MB, free: 7.84 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.2445, allocations: 188.2 kB / 446 MB, free: 7.766 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2445, allocations: 1.281 kB / 446 MB, free: 7.766 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2445, allocations: 3.938 kB / 446 MB, free: 7.762 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.2445, allocations: 1.078 kB / 446 MB, free: 7.762 MB / 318.1 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.0004756/0.245, allocations: 471.6 kB / 446.5 MB, free: 7.324 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.2451, allocations: 9.906 kB / 446.5 MB, free: 7.324 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.531e-05/0.2451, allocations: 22.98 kB / 446.5 MB, free: 7.312 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.2453, allocations: 212.2 kB / 446.7 MB, free: 7.09 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.2453, allocations: 15.97 kB / 446.8 MB, free: 7.082 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/0.2453, allocations: 17.25 kB / 446.8 MB, free: 7.078 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/0.2456, allocations: 167.8 kB / 446.9 MB, free: 6.996 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.2456, allocations: 5.484 kB / 447 MB, free: 6.992 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.2456, allocations: 13.25 kB / 447 MB, free: 6.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.2457, allocations: 5.125 kB / 447 MB, free: 6.98 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001828/0.2458, allocations: 114.5 kB / 447.1 MB, free: 6.938 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007287/0.2466, allocations: 0.5787 MB / 447.7 MB, free: 6.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.2468, allocations: 129.1 kB / 447.8 MB, free: 6.449 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.2469, allocations: 74.95 kB / 447.9 MB, free: 6.414 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.2469, allocations: 5.688 kB / 447.9 MB, free: 6.41 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.247, allocations: 36.91 kB / 447.9 MB, free: 6.367 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/0.247, allocations: 4.5 kB / 447.9 MB, free: 6.363 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003534/0.2473, allocations: 178.3 kB / 448.1 MB, free: 6.273 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/0.2474, allocations: 53.97 kB / 448.1 MB, free: 6.211 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.395e-05/0.2475, allocations: 127 kB / 448.3 MB, free: 6.102 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.2475, allocations: 26.92 kB / 448.3 MB, free: 6.07 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.701e-05/0.2475, allocations: 135.9 kB / 448.4 MB, free: 5.949 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.2476, allocations: 54.83 kB / 448.5 MB, free: 5.906 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.975e-05/0.2476, allocations: 29.17 kB / 448.5 MB, free: 5.883 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.189e-05/0.2477, allocations: 325.8 kB / 448.8 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.2e-05/0.2477, allocations: 40.23 kB / 448.9 MB, free: 5.547 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.705e-05/0.2478, allocations: 42.16 kB / 448.9 MB, free: 5.531 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.248, allocations: 106.2 kB / 449 MB, free: 5.477 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.248, allocations: 0.5 kB / 449 MB, free: 5.477 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002331/0.2482, allocations: 148.9 kB / 449.1 MB, free: 5.395 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.2483, allocations: 9.516 kB / 449.2 MB, free: 5.391 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2483, allocations: 4.438 kB / 449.2 MB, free: 5.387 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.2483, allocations: 1.031 kB / 449.2 MB, free: 5.387 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.2485, allocations: 38.83 kB / 449.2 MB, free: 5.379 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.2485, allocations: 1.375 kB / 449.2 MB, free: 5.379 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.184e-05/0.2485, allocations: 11.14 kB / 449.2 MB, free: 5.371 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.2486, allocations: 6.75 kB / 449.2 MB, free: 5.367 MB / 318.1 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 6.622e-05/0.2486, allocations: 122.1 kB / 449.3 MB, free: 5.246 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.2487, allocations: 17.41 kB / 449.4 MB, free: 5.234 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.146e-05/0.2487, allocations: 19.14 kB / 449.4 MB, free: 5.219 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.2487, allocations: 3.312 kB / 449.4 MB, free: 5.219 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2487, allocations: 4 kB / 449.4 MB, free: 5.215 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.2487, allocations: 4.594 kB / 449.4 MB, free: 5.211 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.249, allocations: 267.3 kB / 449.6 MB, free: 4.977 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.249, allocations: 0 / 449.6 MB, free: 4.977 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.2491, allocations: 31 kB / 449.7 MB, free: 4.973 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.2492, allocations: 2.125 kB / 449.7 MB, free: 4.973 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.2492, allocations: 1.375 kB / 449.7 MB, free: 4.973 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.2492, allocations: 4 kB / 449.7 MB, free: 4.969 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2492, allocations: 2.172 kB / 449.7 MB, free: 4.969 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.2495, allocations: 295.4 kB / 450 MB, free: 4.762 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.969e-05/0.2495, allocations: 89.83 kB / 450.1 MB, free: 4.66 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.2495, allocations: 6.188 kB / 450.1 MB, free: 4.656 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.172e-05/0.2496, allocations: 1.312 kB / 450.1 MB, free: 4.656 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.218e-05/0.2497, allocations: 11.12 kB / 450.1 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.2497, allocations: 15.94 kB / 450.1 MB, free: 4.641 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.978e-05/0.2497, allocations: 103.2 kB / 450.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2497, allocations: 0 / 450.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002439/0.25, allocations: 37.69 kB / 450.2 MB, free: 4.543 MB / 318.1 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 7.319e-05/0.25, allocations: 100.3 kB / 450.3 MB, free: 4.453 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002083/0.2503, allocations: 111.4 kB / 450.4 MB, free: 4.414 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2503, allocations: 0 / 450.4 MB, free: 4.414 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.585e-05/0.2503, allocations: 58.52 kB / 450.5 MB, free: 4.395 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.2507, allocations: 27.55 kB / 450.5 MB, free: 4.379 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000474/0.2512, allocations: 357.2 kB / 450.9 MB, free: 4.113 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.2513, allocations: 0.7202 MB / 451.6 MB, free: 3.418 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.378e-05/0.2514, allocations: 22.75 kB / 451.6 MB, free: 3.402 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2514, allocations: 0 / 451.6 MB, free: 3.402 MB / 318.1 MB Notification: Performance of Templates: time 0.003378/0.2548, allocations: 1.727 MB / 453.3 MB, free: 3.191 MB / 318.1 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: 6.470944150118157] Failed to read output from testmodel.py, exit status != 0: 0.261106024030596 0.27288385699999995 0.025735435 Calling exit ...