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.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.001385/0.001385, allocations: 110 kB / 18.93 MB, free: 2.945 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.001962/0.001962, allocations: 192.9 kB / 22.23 MB, free: 5.156 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.788/1.788, allocations: 207.6 MB / 233 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.05144/0.05144, allocations: 8.203 MB / 293.5 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.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.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.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.00226/0.00226, allocations: 72.88 kB / 410.9 MB, free: 46.68 MB / 318.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.09778/0.1, allocations: 50.92 MB / 461.8 MB, free: 13.03 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.002191/0.1022, allocations: 0.7112 MB / 462.5 MB, free: 12.32 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0004569/0.1027, allocations: 187.3 kB / 462.7 MB, free: 12.13 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 7.174e-05/0.1028, allocations: 4 kB / 462.7 MB, free: 12.13 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 7.32e-05/0.1028, allocations: 19.75 kB / 462.7 MB, free: 12.11 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 9.728e-05/0.1029, allocations: 15.81 kB / 462.8 MB, free: 12.09 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001877/0.1031, allocations: 55.88 kB / 462.8 MB, free: 12.04 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002235/0.1033, allocations: 135.7 kB / 462.9 MB, free: 11.91 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002323/0.1036, allocations: 61.75 kB / 463 MB, free: 11.85 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 7.936e-05/0.1036, allocations: 67.72 kB / 463.1 MB, free: 11.78 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.1038, allocations: 75.62 kB / 463.1 MB, free: 11.71 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.343e-05/0.1038, allocations: 20 kB / 463.2 MB, free: 11.69 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 2.664e-05/0.1038, allocations: 16 kB / 463.2 MB, free: 11.67 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.798e-05/0.1039, allocations: 43.84 kB / 463.2 MB, free: 11.63 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 8.513e-05/0.104, allocations: 79.58 kB / 463.3 MB, free: 11.55 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003069/0.1043, allocations: 187.1 kB / 463.5 MB, free: 11.37 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1043, allocations: 3.938 kB / 463.5 MB, free: 11.36 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.633e-06/0.1043, allocations: 0 / 463.5 MB, free: 11.36 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 1.189e-05/0.1043, allocations: 0 / 463.5 MB, free: 11.36 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.000882/0.1052, allocations: 402 kB / 463.9 MB, free: 10.93 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.1052, allocations: 15.98 kB / 463.9 MB, free: 10.92 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.031e-05/0.1053, allocations: 20.8 kB / 463.9 MB, free: 10.9 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003165/0.1056, allocations: 157.7 kB / 464.1 MB, free: 10.72 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.1056, allocations: 16.75 kB / 464.1 MB, free: 10.71 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.565e-05/0.1057, allocations: 20.36 kB / 464.1 MB, free: 10.69 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003294/0.106, allocations: 165.2 kB / 464.3 MB, free: 10.52 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.106, allocations: 8.141 kB / 464.3 MB, free: 10.52 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/0.1062, allocations: 15.94 kB / 464.3 MB, free: 10.5 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.1062, allocations: 4 kB / 464.3 MB, free: 10.5 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002182/0.1064, allocations: 107.7 kB / 464.4 MB, free: 10.39 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.1074, allocations: 0.5382 MB / 464.9 MB, free: 9.809 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.1077, allocations: 122.5 kB / 465.1 MB, free: 9.68 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.1078, allocations: 64.84 kB / 465.1 MB, free: 9.613 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.1078, allocations: 4 kB / 465.1 MB, free: 9.609 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.342e-05/0.1079, allocations: 30.56 kB / 465.1 MB, free: 9.57 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=15): time 1.343e-06/0.1079, allocations: 0 / 465.1 MB, free: 9.57 MB / 334.1 MB
Notification: Performance of matching and sorting (n=15): time 0.0003923/0.1083, allocations: 185.7 kB / 465.3 MB, free: 9.383 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.1083, allocations: 51.41 kB / 465.4 MB, free: 9.32 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.1085, allocations: 132.6 kB / 465.5 MB, free: 9.184 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.1085, allocations: 29.7 kB / 465.5 MB, free: 9.148 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.1086, allocations: 128.5 kB / 465.7 MB, free: 9.02 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 7.202e-05/0.1087, allocations: 59.52 kB / 465.7 MB, free: 8.961 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.309e-05/0.1087, allocations: 25.72 kB / 465.7 MB, free: 8.93 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002648/0.109, allocations: 326.8 kB / 466.1 MB, free: 8.602 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.1091, allocations: 39.98 kB / 466.1 MB, free: 8.562 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.1092, allocations: 46.33 kB / 466.1 MB, free: 8.52 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/0.1095, allocations: 104.8 kB / 466.3 MB, free: 8.414 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1095, allocations: 0 / 466.3 MB, free: 8.414 MB / 334.1 MB
Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003741/0.1099, allocations: 155.1 kB / 466.4 MB, free: 8.258 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.1099, allocations: 4 kB / 466.4 MB, free: 8.254 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.1099, allocations: 0 / 466.4 MB, free: 8.254 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 3.04e-05/0.11, allocations: 4 kB / 466.4 MB, free: 8.25 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002891/0.1102, allocations: 43.89 kB / 466.5 MB, free: 8.207 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.1103, allocations: 0 / 466.5 MB, free: 8.207 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.316e-05/0.1103, allocations: 7.938 kB / 466.5 MB, free: 8.199 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.905e-05/0.1103, allocations: 15.94 kB / 466.5 MB, free: 8.184 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.000166/0.1105, allocations: 121.8 kB / 466.6 MB, free: 8.055 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.966e-05/0.1106, allocations: 15.91 kB / 466.6 MB, free: 8.039 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.687e-05/0.1107, allocations: 16.44 kB / 466.6 MB, free: 8.02 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.932e-06/0.1107, allocations: 4 kB / 466.6 MB, free: 8.016 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.1107, allocations: 0 / 466.6 MB, free: 8.016 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/0.1107, allocations: 7.922 kB / 466.6 MB, free: 8.008 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004931/0.1112, allocations: 240.6 kB / 466.9 MB, free: 7.73 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1112, allocations: 0 / 466.9 MB, free: 7.73 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000292/0.1115, allocations: 35.92 kB / 466.9 MB, free: 7.695 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.1115, allocations: 0 / 466.9 MB, free: 7.695 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.1115, allocations: 0 / 466.9 MB, free: 7.695 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.1115, allocations: 0 / 466.9 MB, free: 7.695 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.1115, allocations: 3.984 kB / 466.9 MB, free: 7.691 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006007/0.1121, allocations: 299.3 kB / 467.2 MB, free: 7.383 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.366e-05/0.1121, allocations: 7.953 kB / 467.2 MB, free: 7.375 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/0.1121, allocations: 4 kB / 467.2 MB, free: 7.371 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.1123, allocations: 4 kB / 467.2 MB, free: 7.367 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.852e-05/0.1123, allocations: 8.031 kB / 467.2 MB, free: 7.359 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.1123, allocations: 11.94 kB / 467.2 MB, free: 7.348 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 0.0001237/0.1125, allocations: 95.27 kB / 467.3 MB, free: 7.254 MB / 334.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.1125, allocations: 0 / 467.3 MB, free: 7.254 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0004269/0.1129, allocations: 39.78 kB / 467.4 MB, free: 7.215 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.000203/0.1131, allocations: 107.2 kB / 467.5 MB, free: 7.102 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003905/0.1135, allocations: 107.7 kB / 467.6 MB, free: 7 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.157e-05/0.1135, allocations: 4 kB / 467.6 MB, free: 6.996 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.1136, allocations: 55.92 kB / 467.6 MB, free: 6.941 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005521/0.1142, allocations: 24.86 kB / 467.7 MB, free: 6.918 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.1153, allocations: 320.1 kB / 468 MB, free: 6.578 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007308/0.116, allocations: 0.7313 MB / 468.7 MB, free: 5.82 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 0.0001079/0.1161, allocations: 8.969 kB / 468.7 MB, free: 5.805 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.11e-05/0.1162, allocations: 15.44 kB / 468.7 MB, free: 5.789 MB / 334.1 MB
Notification: Performance of SimCode: time 3.31e-07/0.1162, allocations: 0 / 468.7 MB, free: 5.789 MB / 334.1 MB
Notification: Performance of Templates: time 0.006399/0.1226, allocations: 1.177 MB / 469.9 MB, free: 4.621 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: 5.190199497155845]
Failed to read output from testmodel.py, exit status != 0:
0.1320216916501522 0.15850521499999995 0.048986312000000004
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f9fe62ed7b0>