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.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.001432/0.001432, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001586/0.001586, allocations: 220.8 kB / 23.01 MB, free: 4.605 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.406/1.406, allocations: 207.6 MB / 233.8 MB, free: 10 MB / 190.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.05516/0.05516, allocations: 8.193 MB / 294.2 MB, free: 13.66 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.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.1.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.1.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.002379/0.002379, allocations: 68.78 kB / 411.7 MB, free: 46.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06709/0.06947, allocations: 50.93 MB / 462.6 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.002074/0.07155, allocations: 0.7222 MB / 463.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005107/0.07206, allocations: 183.3 kB / 463.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.322e-05/0.07213, allocations: 4 kB / 463.5 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.305e-05/0.07219, allocations: 27.73 kB / 463.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.06e-05/0.07229, allocations: 11.81 kB / 463.6 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001743/0.07246, allocations: 51.94 kB / 463.6 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002211/0.07268, allocations: 135.7 kB / 463.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002003/0.07288, allocations: 61.75 kB / 463.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.07298, allocations: 71.66 kB / 463.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.07309, allocations: 71.62 kB / 463.9 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.488e-05/0.07313, allocations: 24 kB / 464 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.642e-05/0.07315, allocations: 16 kB / 464 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.885e-05/0.0732, allocations: 51.83 kB / 464 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.85e-05/0.07328, allocations: 71.59 kB / 464.1 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002329/0.07351, allocations: 191.1 kB / 464.3 MB, free: 11.31 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.07352, allocations: 0 / 464.3 MB, free: 11.31 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.07352, allocations: 0 / 464.3 MB, free: 11.31 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.07353, allocations: 4 kB / 464.3 MB, free: 11.31 MB / 334.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.0007308/0.07426, allocations: 394 kB / 464.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.07429, allocations: 11.98 kB / 464.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.986e-05/0.07435, allocations: 28.73 kB / 464.7 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.07458, allocations: 150.3 kB / 464.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.098e-05/0.07462, allocations: 16.75 kB / 464.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.902e-05/0.07467, allocations: 16.38 kB / 464.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003304/0.07501, allocations: 165.2 kB / 465.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.07502, allocations: 8.141 kB / 465.1 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.07505, allocations: 15.94 kB / 465.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.07505, allocations: 7.938 kB / 465.1 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002205/0.07527, allocations: 111.7 kB / 465.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009865/0.07626, allocations: 0.5381 MB / 465.7 MB, free: 9.758 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003196/0.07658, allocations: 122.5 kB / 465.9 MB, free: 9.629 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.07669, allocations: 64.84 kB / 465.9 MB, free: 9.562 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.07671, allocations: 4 kB / 465.9 MB, free: 9.559 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.07674, allocations: 34.56 kB / 466 MB, free: 9.516 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.07674, allocations: 0 / 466 MB, free: 9.516 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003788/0.07712, allocations: 181.7 kB / 466.1 MB, free: 9.332 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.07716, allocations: 51.41 kB / 466.2 MB, free: 9.27 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.07731, allocations: 132.7 kB / 466.3 MB, free: 9.133 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.07733, allocations: 25.7 kB / 466.3 MB, free: 9.102 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.07745, allocations: 132.5 kB / 466.5 MB, free: 8.969 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.315e-05/0.07751, allocations: 55.53 kB / 466.5 MB, free: 8.914 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.936e-05/0.07757, allocations: 29.7 kB / 466.6 MB, free: 8.879 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.07774, allocations: 326.8 kB / 466.9 MB, free: 8.551 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.084e-05/0.07782, allocations: 39.98 kB / 466.9 MB, free: 8.512 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.211e-05/0.0779, allocations: 43.98 kB / 467 MB, free: 8.469 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.07808, allocations: 103.3 kB / 467.1 MB, free: 8.367 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.07808, allocations: 4 kB / 467.1 MB, free: 8.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002947/0.07838, allocations: 157.4 kB / 467.2 MB, free: 8.203 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.07839, allocations: 4 kB / 467.2 MB, free: 8.199 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.07839, allocations: 0 / 467.2 MB, free: 8.199 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.07841, allocations: 4 kB / 467.2 MB, free: 8.195 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.0786, allocations: 31.97 kB / 467.3 MB, free: 8.164 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.0786, allocations: 0 / 467.3 MB, free: 8.164 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.372e-05/0.07865, allocations: 11.88 kB / 467.3 MB, free: 8.152 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.07866, allocations: 8 kB / 467.3 MB, free: 8.145 MB / 334.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 0.0001166/0.07878, allocations: 121.8 kB / 467.4 MB, free: 8.016 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.981e-05/0.07882, allocations: 15.91 kB / 467.4 MB, free: 8 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.03e-05/0.07887, allocations: 16.44 kB / 467.4 MB, free: 7.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.07887, allocations: 4 kB / 467.4 MB, free: 7.977 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.07888, allocations: 0 / 467.4 MB, free: 7.977 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/0.07889, allocations: 7.922 kB / 467.4 MB, free: 7.969 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003678/0.07926, allocations: 244.6 kB / 467.7 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.07926, allocations: 0 / 467.7 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/0.07944, allocations: 31.92 kB / 467.7 MB, free: 7.656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.07944, allocations: 4 kB / 467.7 MB, free: 7.652 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.07946, allocations: 4 kB / 467.7 MB, free: 7.648 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.07946, allocations: 3.938 kB / 467.7 MB, free: 7.645 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.07946, allocations: 0 / 467.7 MB, free: 7.645 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000413/0.07987, allocations: 299.3 kB / 468 MB, free: 7.336 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.43e-05/0.0799, allocations: 7.953 kB / 468 MB, free: 7.328 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.07992, allocations: 4 kB / 468 MB, free: 7.324 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.684e-05/0.08001, allocations: 0 / 468 MB, free: 7.324 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.774e-05/0.08004, allocations: 16.12 kB / 468 MB, free: 7.309 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.08005, allocations: 7.938 kB / 468 MB, free: 7.301 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.051e-05/0.08012, allocations: 95.27 kB / 468.1 MB, free: 7.207 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.08012, allocations: 0 / 468.1 MB, free: 7.207 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.08038, allocations: 35.84 kB / 468.2 MB, free: 7.172 MB / 334.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 0.0001152/0.0805, allocations: 115.1 kB / 468.3 MB, free: 7.051 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002558/0.08075, allocations: 107.6 kB / 468.4 MB, free: 6.949 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.08076, allocations: 4 kB / 468.4 MB, free: 6.945 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.768e-05/0.08086, allocations: 51.98 kB / 468.4 MB, free: 6.895 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003733/0.08123, allocations: 28.8 kB / 468.5 MB, free: 6.867 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006795/0.08191, allocations: 349.8 kB / 468.8 MB, free: 6.492 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004354/0.08234, allocations: 0.7313 MB / 469.5 MB, free: 5.734 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.783e-05/0.08239, allocations: 15.44 kB / 469.6 MB, free: 5.719 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.08239, allocations: 0 / 469.6 MB, free: 5.719 MB / 334.1 MB Notification: Performance of Templates: time 0.004084/0.08648, allocations: 1.722 MB / 471.3 MB, free: 3.996 MB / 334.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: 7.07664010906592] Failed to read output from testmodel.py, exit status != 0: 0.09466335689648986 0.11167162600000001 0.034775577 Calling exit ...