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.001017/0.001017, allocations: 93.06 kB / 19.65 MB, free: 280 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.001057/0.001057, allocations: 165.3 kB / 23.01 MB, free: 1.555 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.9685/0.9685, allocations: 158.6 MB / 184.9 MB, free: 2.922 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.03084/0.03084, allocations: 6.408 MB / 243.6 MB, free: 8.727 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 2.344e-06/2.344e-06, allocations: 0 / 310.7 MB, free: 52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.896e-05/3.13e-05, allocations: 5.672 kB / 310.7 MB, free: 52 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.001761/0.001792, allocations: 0.5441 MB / 311.3 MB, free: 51.7 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003826/0.002174, allocations: 119.3 kB / 311.4 MB, free: 51.62 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.951e-05/0.002244, allocations: 2 kB / 311.4 MB, free: 51.62 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.926e-05/0.002313, allocations: 11.78 kB / 311.4 MB, free: 51.61 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.002425, allocations: 4.922 kB / 311.4 MB, free: 51.61 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.00265, allocations: 28.86 kB / 311.4 MB, free: 51.59 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.002826, allocations: 72.84 kB / 311.5 MB, free: 51.55 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.002993, allocations: 28.91 kB / 311.5 MB, free: 51.54 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.707e-05/0.00308, allocations: 47.17 kB / 311.6 MB, free: 51.52 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.57e-05/0.003166, allocations: 26.56 kB / 311.6 MB, free: 51.51 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.054e-05/0.003196, allocations: 10.5 kB / 311.6 MB, free: 51.51 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.787e-05/0.003214, allocations: 8.219 kB / 311.6 MB, free: 51.51 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.989e-05/0.003244, allocations: 26.52 kB / 311.6 MB, free: 51.49 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.255e-05/0.003286, allocations: 23.88 kB / 311.7 MB, free: 51.48 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.003441, allocations: 56.88 kB / 311.7 MB, free: 51.45 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.003444, allocations: 2.25 kB / 311.7 MB, free: 51.45 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.003445, allocations: 0 / 311.7 MB, free: 51.45 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.003451, allocations: 0 / 311.7 MB, free: 51.45 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.0004517/0.003902, allocations: 414.6 kB / 312.1 MB, free: 51.04 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.003954, allocations: 14.64 kB / 312.1 MB, free: 51.04 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.718e-05/0.004021, allocations: 19.58 kB / 312.2 MB, free: 51.03 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.004252, allocations: 140.8 kB / 312.3 MB, free: 50.88 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.004275, allocations: 6.281 kB / 312.3 MB, free: 50.88 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.49e-05/0.00434, allocations: 14.12 kB / 312.3 MB, free: 50.88 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.004592, allocations: 131.9 kB / 312.4 MB, free: 50.77 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.004608, allocations: 3.359 kB / 312.4 MB, free: 50.77 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.004625, allocations: 5.75 kB / 312.4 MB, free: 50.77 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.004636, allocations: 1.938 kB / 312.4 MB, free: 50.77 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.00474, allocations: 30.92 kB / 312.5 MB, free: 50.76 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005507/0.005291, allocations: 379.6 kB / 312.8 MB, free: 50.43 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.005476, allocations: 76.48 kB / 312.9 MB, free: 50.39 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.663e-05/0.005532, allocations: 30.19 kB / 313 MB, free: 50.37 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.005543, allocations: 3.391 kB / 313 MB, free: 50.37 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.005565, allocations: 42.67 kB / 313 MB, free: 50.32 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.844e-06/0.005567, allocations: 0 / 313 MB, free: 50.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000249/0.005816, allocations: 83.67 kB / 313.1 MB, free: 50.27 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/0.00584, allocations: 52.66 kB / 313.1 MB, free: 50.21 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.639e-05/0.005916, allocations: 168.4 kB / 313.3 MB, free: 50.04 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.005928, allocations: 29.7 kB / 313.3 MB, free: 50.01 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.888e-05/0.005977, allocations: 155 kB / 313.5 MB, free: 49.86 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.006012, allocations: 28.83 kB / 313.5 MB, free: 49.84 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.447e-05/0.006056, allocations: 27.59 kB / 313.5 MB, free: 49.81 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.881e-05/0.006135, allocations: 0.4926 MB / 314 MB, free: 49.31 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.678e-05/0.006172, allocations: 10.89 kB / 314 MB, free: 49.31 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.248e-05/0.006204, allocations: 14.31 kB / 314 MB, free: 49.3 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.173e-05/0.006296, allocations: 42.88 kB / 314.1 MB, free: 49.28 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.0063, allocations: 1.375 kB / 314.1 MB, free: 49.28 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001474/0.006447, allocations: 77.23 kB / 314.2 MB, free: 49.23 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.006466, allocations: 5.875 kB / 314.2 MB, free: 49.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.006473, allocations: 5.25 kB / 314.2 MB, free: 49.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.006496, allocations: 0 / 314.2 MB, free: 49.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.006622, allocations: 17.12 kB / 314.2 MB, free: 49.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.006629, allocations: 2.062 kB / 314.2 MB, free: 49.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.472e-05/0.006654, allocations: 5.062 kB / 314.2 MB, free: 49.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.006661, allocations: 1.25 kB / 314.2 MB, free: 49.23 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 6.315e-05/0.006725, allocations: 163.6 kB / 314.4 MB, free: 49.06 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.476e-05/0.006759, allocations: 9.109 kB / 314.4 MB, free: 49.05 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.817e-05/0.006797, allocations: 11.05 kB / 314.4 MB, free: 49.05 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.006801, allocations: 5.781 kB / 314.4 MB, free: 49.05 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.006804, allocations: 0 / 314.4 MB, free: 49.05 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.006808, allocations: 0.5625 kB / 314.4 MB, free: 49.05 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.006971, allocations: 157.5 kB / 314.5 MB, free: 48.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.006973, allocations: 0 / 314.5 MB, free: 48.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.901e-05/0.007072, allocations: 18.97 kB / 314.6 MB, free: 48.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.007074, allocations: 0 / 314.6 MB, free: 48.88 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.007093, allocations: 1.641 kB / 314.6 MB, free: 48.88 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.007095, allocations: 1.219 kB / 314.6 MB, free: 48.88 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.007097, allocations: 0.5625 kB / 314.6 MB, free: 48.88 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.007332, allocations: 241.5 kB / 314.8 MB, free: 48.67 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.112e-05/0.007344, allocations: 11.2 kB / 314.8 MB, free: 48.66 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.007361, allocations: 1.219 kB / 314.8 MB, free: 48.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.599e-05/0.007427, allocations: 4.562 kB / 314.8 MB, free: 48.66 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.354e-05/0.00745, allocations: 12.72 kB / 314.8 MB, free: 48.65 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.007458, allocations: 2.375 kB / 314.8 MB, free: 48.65 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.573e-05/0.007493, allocations: 132.9 kB / 315 MB, free: 48.53 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.007494, allocations: 0 / 315 MB, free: 48.53 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002625/0.007756, allocations: 14.58 kB / 315 MB, free: 48.53 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 8.019e-05/0.007836, allocations: 103.8 kB / 315.1 MB, free: 48.44 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001376/0.007974, allocations: 46.8 kB / 315.1 MB, free: 48.42 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.007976, allocations: 0.8438 kB / 315.1 MB, free: 48.42 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.254e-05/0.008018, allocations: 30.48 kB / 315.2 MB, free: 48.4 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.008338, allocations: 20.59 kB / 315.2 MB, free: 48.39 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003814/0.00872, allocations: 211.5 kB / 315.4 MB, free: 48.21 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.185e-05/0.008762, allocations: 65.84 kB / 315.4 MB, free: 48.14 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.969e-05/0.008801, allocations: 5.469 kB / 315.4 MB, free: 48.14 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.348e-05/0.008835, allocations: 12.72 kB / 315.5 MB, free: 48.14 MB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.008836, allocations: 4 kB / 315.5 MB, free: 48.13 MB / 282.7 MB Notification: Performance of Templates: time 0.003379/0.01221, allocations: 0.7043 MB / 316.2 MB, free: 48.06 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: 3.046258713118732]