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.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.001321/0.001321, allocations: 118.7 kB / 17.13 MB, free: 5.781 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.001311/0.001311, allocations: 194.1 kB / 20.08 MB, free: 2.871 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.498/1.498, allocations: 207.6 MB / 230.5 MB, free: 4.047 MB / 174.1 MB " [Timeout remaining time 178] 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.0528/0.0528, allocations: 8.203 MB / 290.5 MB, free: 8.125 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.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: 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.002236/0.002236, allocations: 75.88 kB / 406.4 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2524, allocations: 50.89 MB / 457.2 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.001607/0.254, allocations: 0.5624 MB / 457.8 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002942/0.2543, allocations: 125.2 kB / 457.9 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.344e-05/0.2543, allocations: 1.156 kB / 457.9 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.141e-05/0.2544, allocations: 9.938 kB / 457.9 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.457e-05/0.2545, allocations: 7.875 kB / 458 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001278/0.2546, allocations: 33.53 kB / 458 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.2547, allocations: 70.06 kB / 458.1 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.2548, allocations: 33.95 kB / 458.1 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.548e-05/0.2548, allocations: 29.14 kB / 458.1 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.952e-05/0.2549, allocations: 33.31 kB / 458.1 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.2549, allocations: 12.75 kB / 458.2 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.585e-05/0.2549, allocations: 9.406 kB / 458.2 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.287e-05/0.255, allocations: 22.33 kB / 458.2 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.559e-05/0.255, allocations: 39.8 kB / 458.2 MB, free: 3.195 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.2552, allocations: 93.89 kB / 458.3 MB, free: 3.125 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2552, allocations: 0 / 458.3 MB, free: 3.125 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2552, allocations: 1.031 kB / 458.3 MB, free: 3.125 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.2552, allocations: 0 / 458.3 MB, free: 3.125 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003667/0.2555, allocations: 391.9 kB / 458.7 MB, free: 2.723 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.2556, allocations: 13.73 kB / 458.7 MB, free: 2.719 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.948e-05/0.2556, allocations: 14.25 kB / 458.7 MB, free: 2.711 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.2557, allocations: 183.2 kB / 458.9 MB, free: 2.5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.2557, allocations: 8.094 kB / 458.9 MB, free: 2.496 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.2557, allocations: 11.06 kB / 458.9 MB, free: 2.492 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.2559, allocations: 98.66 kB / 459 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.2559, allocations: 0 / 459 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.256, allocations: 0 / 459 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.256, allocations: 3.438 kB / 459 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.499e-05/0.2561, allocations: 58.97 kB / 459.1 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004495/0.2565, allocations: 416 kB / 459.5 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.2567, allocations: 80.25 kB / 459.6 MB, free: 1.945 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.188e-05/0.2567, allocations: 34.81 kB / 459.6 MB, free: 1.922 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.2567, allocations: 1.156 kB / 459.6 MB, free: 1.922 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/0.2568, allocations: 39.88 kB / 459.6 MB, free: 1.875 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.2568, allocations: 3.938 kB / 459.6 MB, free: 1.871 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002028/0.257, allocations: 101.6 kB / 459.7 MB, free: 1.805 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/0.257, allocations: 53.12 kB / 459.8 MB, free: 1.742 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.786e-05/0.257, allocations: 111.8 kB / 459.9 MB, free: 1.633 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.769e-06/0.257, allocations: 26.89 kB / 459.9 MB, free: 1.602 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.641e-05/0.2571, allocations: 107.5 kB / 460 MB, free: 1.496 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.2571, allocations: 27.5 kB / 460.1 MB, free: 1.473 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/0.2571, allocations: 29.05 kB / 460.1 MB, free: 1.445 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.675e-05/0.2572, allocations: 320.2 kB / 460.4 MB, free: 1.125 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.68e-05/0.2572, allocations: 22.08 kB / 460.4 MB, free: 1.113 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.264e-05/0.2572, allocations: 23.19 kB / 460.5 MB, free: 1.102 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.551e-05/0.2573, allocations: 56.62 kB / 460.5 MB, free: 1.066 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.2573, allocations: 1.562 kB / 460.5 MB, free: 1.066 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001125/0.2574, allocations: 92.33 kB / 460.6 MB, free: 1.004 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.2574, allocations: 5.406 kB / 460.6 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.2574, allocations: 0 / 460.6 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.2575, allocations: 4 kB / 460.6 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.2576, allocations: 14.19 kB / 460.6 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.2576, allocations: 1.781 kB / 460.6 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.597e-05/0.2576, allocations: 11.88 kB / 460.6 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/0.2576, allocations: 3.562 kB / 460.6 MB, free: 0.9883 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 (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.064e-05/0.2577, allocations: 121.4 kB / 460.8 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.938e-05/0.2577, allocations: 3.562 kB / 460.8 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.753e-05/0.2577, allocations: 8.375 kB / 460.8 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.2577, allocations: 5.844 kB / 460.8 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.2577, allocations: 0 / 460.8 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.2577, allocations: 5.688 kB / 460.8 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.2579, allocations: 212.5 kB / 461 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2579, allocations: 0 / 461 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.789e-05/0.258, allocations: 21.8 kB / 461 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.258, allocations: 0 / 461 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.258, allocations: 0 / 461 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.258, allocations: 0.9062 kB / 461 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.258, allocations: 6.969 kB / 461 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001803/0.2582, allocations: 218.9 kB / 461.2 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.771e-05/0.2582, allocations: 83.81 kB / 461.3 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.2582, allocations: 1.375 kB / 461.3 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.464e-05/0.2583, allocations: 4 kB / 461.3 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.618e-05/0.2583, allocations: 10.67 kB / 461.3 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.2583, allocations: 6.75 kB / 461.3 MB, free: 308 kB / 318.1 MB Notification: Performance of sorting global known variables: time 2.588e-05/0.2584, allocations: 80.78 kB / 461.4 MB, free: 232 kB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2584, allocations: 0 / 461.4 MB, free: 232 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.000233/0.2586, allocations: 28.33 kB / 461.4 MB, free: 216 kB / 318.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 7.005e-05/0.2587, allocations: 99.73 kB / 461.5 MB, free: 124 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001321/0.2588, allocations: 57.88 kB / 461.6 MB, free: 96 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2588, allocations: 0 / 461.6 MB, free: 96 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.788e-05/0.2588, allocations: 24.62 kB / 461.6 MB, free: 88 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.2591, allocations: 13.64 kB / 461.6 MB, free: 80 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00038/0.2595, allocations: 229.6 kB / 461.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.2599, allocations: 0.6982 MB / 462.6 MB, free: 15.17 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.174e-05/0.2599, allocations: 11.53 kB / 462.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2599, allocations: 0 / 462.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of Templates: time 0.002786/0.2627, allocations: 1.062 MB / 463.6 MB, free: 14.61 MB / 334.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: 6.830539197893813] Failed to read output from testmodel.py, exit status != 0: 0.2701674192212522 0.283666105 0.025622744000000003 Calling exit ...