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.001714/0.001714, allocations: 79.28 kB / 19.18 MB, free: 2.516 MB / 14.72 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.00174/0.00174, allocations: 163.1 kB / 22.46 MB, free: 5.375 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.336/1.336, allocations: 158.6 MB / 184.2 MB, free: 6.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.04705/0.04705, allocations: 6.396 MB / 242.9 MB, free: 12.77 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.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 1.443e-06/1.443e-06, allocations: 0 / 360.3 MB, free: 11.09 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.15e-05/2.294e-05, allocations: 2.281 kB / 360.3 MB, free: 11.08 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.00122/0.001243, allocations: 0.5323 MB / 360.8 MB, free: 10.55 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002625/0.001505, allocations: 123.5 kB / 361 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.47e-05/0.00155, allocations: 0 / 361 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.894e-05/0.001589, allocations: 11.88 kB / 361 MB, free: 10.41 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.067e-05/0.00166, allocations: 7.938 kB / 361 MB, free: 10.41 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001196/0.001779, allocations: 23.97 kB / 361 MB, free: 10.38 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.001897, allocations: 79.75 kB / 361.1 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.002007, allocations: 19.98 kB / 361.1 MB, free: 10.29 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.898e-05/0.002066, allocations: 55.89 kB / 361.2 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.143e-05/0.002117, allocations: 19.91 kB / 361.2 MB, free: 10.21 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.002138, allocations: 8 kB / 361.2 MB, free: 10.2 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.386e-05/0.002152, allocations: 12 kB / 361.2 MB, free: 10.19 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.08e-05/0.002172, allocations: 19.91 kB / 361.2 MB, free: 10.17 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.734e-05/0.0022, allocations: 23.92 kB / 361.2 MB, free: 10.15 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.002302, allocations: 91.72 kB / 361.3 MB, free: 10.06 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.002304, allocations: 4 kB / 361.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.91e-07/0.002304, allocations: 0 / 361.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.406e-06/0.002308, allocations: 0 / 361.3 MB, free: 10.05 MB / 286.1 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.0003304/0.002638, allocations: 318.2 kB / 361.6 MB, free: 9.711 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.631e-05/0.002664, allocations: 11.98 kB / 361.7 MB, free: 9.699 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.619e-05/0.002701, allocations: 12.89 kB / 361.7 MB, free: 9.688 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.002818, allocations: 137.5 kB / 361.8 MB, free: 9.527 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.00283, allocations: 8.562 kB / 361.8 MB, free: 9.52 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.002852, allocations: 8.375 kB / 361.8 MB, free: 9.512 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.00302, allocations: 146.1 kB / 362 MB, free: 9.352 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.003032, allocations: 4 kB / 362 MB, free: 9.348 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.003045, allocations: 4 kB / 362 MB, free: 9.344 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.003049, allocations: 4 kB / 362 MB, free: 9.34 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.969e-05/0.003139, allocations: 59.91 kB / 362 MB, free: 9.281 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000383/0.003522, allocations: 320.3 kB / 362.3 MB, free: 8.938 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.003665, allocations: 86.47 kB / 362.4 MB, free: 8.844 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.536e-05/0.00371, allocations: 36.84 kB / 362.5 MB, free: 8.805 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.003722, allocations: 0 / 362.5 MB, free: 8.805 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.594e-05/0.003738, allocations: 38.56 kB / 362.5 MB, free: 8.758 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 9.32e-07/0.003739, allocations: 0 / 362.5 MB, free: 8.758 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001835/0.003922, allocations: 97.77 kB / 362.6 MB, free: 8.656 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.203e-05/0.003944, allocations: 55.41 kB / 362.6 MB, free: 8.59 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.286e-05/0.003987, allocations: 118.1 kB / 362.8 MB, free: 8.465 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.003997, allocations: 25.7 kB / 362.8 MB, free: 8.434 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.592e-05/0.004023, allocations: 104 kB / 362.9 MB, free: 8.328 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.004045, allocations: 31.73 kB / 362.9 MB, free: 8.297 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.004076, allocations: 25.72 kB / 362.9 MB, free: 8.266 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.131e-05/0.004117, allocations: 322.8 kB / 363.3 MB, free: 7.941 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.212e-05/0.004149, allocations: 16 kB / 363.3 MB, free: 7.926 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.829e-05/0.004178, allocations: 23.98 kB / 363.3 MB, free: 7.902 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.79e-05/0.004245, allocations: 56.8 kB / 363.4 MB, free: 7.844 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.004247, allocations: 0 / 363.4 MB, free: 7.844 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000101/0.004348, allocations: 97.7 kB / 363.5 MB, free: 7.742 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.004358, allocations: 8 kB / 363.5 MB, free: 7.734 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.004361, allocations: 0 / 363.5 MB, free: 7.734 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.004371, allocations: 0 / 363.5 MB, free: 7.734 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.004476, allocations: 19.98 kB / 363.5 MB, free: 7.715 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.00448, allocations: 0 / 363.5 MB, free: 7.715 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.237e-05/0.004502, allocations: 0 / 363.5 MB, free: 7.715 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.004507, allocations: 4 kB / 363.5 MB, free: 7.711 MB / 286.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 (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 5.019e-05/0.004557, allocations: 121.8 kB / 363.6 MB, free: 7.582 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.004584, allocations: 7.953 kB / 363.6 MB, free: 7.574 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.554e-05/0.004609, allocations: 8.438 kB / 363.6 MB, free: 7.57 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.004611, allocations: 4 kB / 363.6 MB, free: 7.566 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.004614, allocations: 0 / 363.6 MB, free: 7.566 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.004618, allocations: 7.922 kB / 363.6 MB, free: 7.559 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.00474, allocations: 141.2 kB / 363.8 MB, free: 7.391 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.004741, allocations: 0 / 363.8 MB, free: 7.391 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.569e-05/0.004827, allocations: 15.98 kB / 363.8 MB, free: 7.375 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.004828, allocations: 4 kB / 363.8 MB, free: 7.371 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-06/0.004836, allocations: 0 / 363.8 MB, free: 7.371 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.004837, allocations: 3.938 kB / 363.8 MB, free: 7.367 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.004838, allocations: 0 / 363.8 MB, free: 7.367 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.005008, allocations: 215.4 kB / 364 MB, free: 7.141 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.949e-06/0.005018, allocations: 15.92 kB / 364 MB, free: 7.125 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.005032, allocations: 0 / 364 MB, free: 7.125 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.329e-05/0.005095, allocations: 7.938 kB / 364 MB, free: 7.117 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.518e-05/0.00511, allocations: 7.984 kB / 364 MB, free: 7.109 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.005115, allocations: 0 / 364 MB, free: 7.109 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.556e-05/0.00514, allocations: 91.27 kB / 364.1 MB, free: 7.02 MB / 286.1 MB Notification: Performance of sort global known variables: time 7e-08/0.00514, allocations: 0 / 364.1 MB, free: 7.02 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002152/0.005356, allocations: 15.95 kB / 364.1 MB, free: 7.004 MB / 286.1 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 6.44e-05/0.00542, allocations: 99.25 kB / 364.2 MB, free: 6.895 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001111/0.005531, allocations: 51.98 kB / 364.3 MB, free: 6.844 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.005533, allocations: 0 / 364.3 MB, free: 6.844 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.353e-05/0.005567, allocations: 31.97 kB / 364.3 MB, free: 6.812 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.005854, allocations: 23.25 kB / 364.3 MB, free: 6.793 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003011/0.006155, allocations: 199.5 kB / 364.5 MB, free: 6.574 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.347e-05/0.006199, allocations: 81.45 kB / 364.6 MB, free: 6.465 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.037e-05/0.006229, allocations: 14.86 kB / 364.6 MB, free: 6.453 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.377e-05/0.006253, allocations: 12.5 kB / 364.6 MB, free: 6.441 MB / 286.1 MB Notification: Performance of SimCode: time 2.8e-07/0.006253, allocations: 0 / 364.6 MB, free: 6.441 MB / 286.1 MB Notification: Performance of Templates: time 0.002858/0.009112, allocations: 0.6989 MB / 365.3 MB, free: 5.766 MB / 286.1 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=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.9836363829672337] Failed to read output from testmodel.py, exit status != 0: 0.014620080590248108 0.028390020000000002 0.023108042000000002 Calling exit ...