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.001418/0.001418, allocations: 73.88 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001002/0.001002, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.8511/0.8511, allocations: 158.6 MB / 186 MB, free: 2.785 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.02732/0.02732, allocations: 6.412 MB / 244.7 MB, free: 8.559 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.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.253e-06/1.253e-06, allocations: 0 / 311.9 MB, free: 51.81 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.789e-06/1.104e-05, allocations: 6.75 kB / 311.9 MB, free: 51.81 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.00103/0.001041, allocations: 0.5486 MB / 312.5 MB, free: 51.5 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002315/0.001273, allocations: 112.8 kB / 312.6 MB, free: 51.43 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.839e-05/0.001311, allocations: 1.562 kB / 312.6 MB, free: 51.43 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.555e-05/0.001347, allocations: 10.41 kB / 312.6 MB, free: 51.42 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.924e-05/0.001406, allocations: 9.797 kB / 312.6 MB, free: 51.41 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001114/0.001517, allocations: 31.88 kB / 312.7 MB, free: 51.39 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.001634, allocations: 73.09 kB / 312.7 MB, free: 51.36 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.001739, allocations: 27.77 kB / 312.8 MB, free: 51.35 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.584e-05/0.001795, allocations: 51.41 kB / 312.8 MB, free: 51.32 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.688e-05/0.001852, allocations: 22.31 kB / 312.8 MB, free: 51.31 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.001872, allocations: 9.031 kB / 312.8 MB, free: 51.31 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.398e-05/0.001886, allocations: 12.69 kB / 312.9 MB, free: 51.31 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.43e-05/0.00191, allocations: 18.91 kB / 312.9 MB, free: 51.3 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.449e-05/0.001935, allocations: 22.19 kB / 312.9 MB, free: 51.29 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.002043, allocations: 60.75 kB / 313 MB, free: 51.25 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.002045, allocations: 0 / 313 MB, free: 51.25 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.002046, allocations: 1.312 kB / 313 MB, free: 51.25 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.00205, allocations: 0 / 313 MB, free: 51.25 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0002786/0.002328, allocations: 421.7 kB / 313.4 MB, free: 50.84 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.002361, allocations: 13.83 kB / 313.4 MB, free: 50.84 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.429e-05/0.002395, allocations: 16.39 kB / 313.4 MB, free: 50.84 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.00251, allocations: 133.9 kB / 313.5 MB, free: 50.69 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.00252, allocations: 7.625 kB / 313.5 MB, free: 50.69 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.00254, allocations: 17.34 kB / 313.5 MB, free: 50.68 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.002649, allocations: 128.5 kB / 313.7 MB, free: 50.57 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.002659, allocations: 5.641 kB / 313.7 MB, free: 50.57 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.024e-06/0.002666, allocations: 0.6562 kB / 313.7 MB, free: 50.57 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.002672, allocations: 6.219 kB / 313.7 MB, free: 50.57 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.32e-05/0.002715, allocations: 26.59 kB / 313.7 MB, free: 50.57 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003569/0.003072, allocations: 343.8 kB / 314 MB, free: 50.28 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.003188, allocations: 75.2 kB / 314.1 MB, free: 50.23 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.026e-05/0.003219, allocations: 30.8 kB / 314.2 MB, free: 50.21 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.291e-06/0.003225, allocations: 1.312 kB / 314.2 MB, free: 50.21 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.676e-05/0.003242, allocations: 38.06 kB / 314.2 MB, free: 50.16 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.003243, allocations: 1.312 kB / 314.2 MB, free: 50.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001364/0.003379, allocations: 71.44 kB / 314.3 MB, free: 50.12 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.68e-05/0.003396, allocations: 53.64 kB / 314.3 MB, free: 50.06 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.887e-05/0.003445, allocations: 166.1 kB / 314.5 MB, free: 49.89 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.836e-06/0.003454, allocations: 27.08 kB / 314.5 MB, free: 49.86 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.72e-05/0.003491, allocations: 154.1 kB / 314.7 MB, free: 49.71 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.003517, allocations: 33.8 kB / 314.7 MB, free: 49.69 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.853e-05/0.003545, allocations: 32.06 kB / 314.7 MB, free: 49.66 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.528e-05/0.003601, allocations: 0.492 MB / 315.2 MB, free: 49.16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.68e-05/0.003617, allocations: 8.516 kB / 315.2 MB, free: 49.16 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.637e-05/0.003634, allocations: 9.734 kB / 315.2 MB, free: 49.16 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.965e-05/0.003673, allocations: 32.8 kB / 315.3 MB, free: 49.14 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.003676, allocations: 3.938 kB / 315.3 MB, free: 49.14 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.858e-05/0.003744, allocations: 75.64 kB / 315.3 MB, free: 49.09 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.003755, allocations: 5.5 kB / 315.3 MB, free: 49.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.003758, allocations: 0 / 315.3 MB, free: 49.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.885e-06/0.003766, allocations: 2.031 kB / 315.3 MB, free: 49.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.75e-05/0.003834, allocations: 20.14 kB / 315.4 MB, free: 49.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.003836, allocations: 1.375 kB / 315.4 MB, free: 49.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.401e-05/0.00385, allocations: 6.031 kB / 315.4 MB, free: 49.08 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-06/0.003854, allocations: 1.375 kB / 315.4 MB, free: 49.08 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 (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 4.29e-05/0.003897, allocations: 162.6 kB / 315.5 MB, free: 48.91 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/0.003918, allocations: 13.45 kB / 315.5 MB, free: 48.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.547e-05/0.003943, allocations: 13.75 kB / 315.6 MB, free: 48.9 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.003945, allocations: 5.312 kB / 315.6 MB, free: 48.9 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.003948, allocations: 0.6094 kB / 315.6 MB, free: 48.9 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.003952, allocations: 4.516 kB / 315.6 MB, free: 48.89 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.004062, allocations: 129.2 kB / 315.7 MB, free: 48.76 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.004063, allocations: 0 / 315.7 MB, free: 48.76 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.334e-05/0.004116, allocations: 19.05 kB / 315.7 MB, free: 48.76 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.004119, allocations: 5.312 kB / 315.7 MB, free: 48.75 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.004129, allocations: 0.5156 kB / 315.7 MB, free: 48.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.004131, allocations: 1.375 kB / 315.7 MB, free: 48.75 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.004132, allocations: 0 / 315.7 MB, free: 48.75 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.004265, allocations: 230.7 kB / 315.9 MB, free: 48.55 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.857e-06/0.004274, allocations: 15.23 kB / 316 MB, free: 48.54 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.997e-06/0.004283, allocations: 1.406 kB / 316 MB, free: 48.54 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.245e-05/0.004316, allocations: 8.516 kB / 316 MB, free: 48.54 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.286e-05/0.004328, allocations: 5.516 kB / 316 MB, free: 48.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.004333, allocations: 1.375 kB / 316 MB, free: 48.54 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.177e-05/0.004354, allocations: 128.5 kB / 316.1 MB, free: 48.42 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.004354, allocations: 0 / 316.1 MB, free: 48.42 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001419/0.004496, allocations: 18.95 kB / 316.1 MB, free: 48.41 MB / 282.7 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.221e-05/0.004559, allocations: 96.27 kB / 316.2 MB, free: 48.32 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.937e-05/0.004648, allocations: 46.47 kB / 316.3 MB, free: 48.3 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.004649, allocations: 0 / 316.3 MB, free: 48.3 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.551e-05/0.004675, allocations: 36.12 kB / 316.3 MB, free: 48.28 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.004864, allocations: 17.67 kB / 316.3 MB, free: 48.27 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002651/0.005129, allocations: 205.2 kB / 316.5 MB, free: 48.1 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.227e-05/0.005161, allocations: 65.02 kB / 316.6 MB, free: 48.03 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.947e-05/0.005191, allocations: 3.922 kB / 316.6 MB, free: 48.03 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.671e-05/0.005248, allocations: 82.77 kB / 316.7 MB, free: 47.96 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.005248, allocations: 0 / 316.7 MB, free: 47.96 MB / 282.7 MB Notification: Performance of Templates: time 0.002466/0.007714, allocations: 0.7795 MB / 317.4 MB, free: 47.79 MB / 282.7 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=240 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6817456451244652]