Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.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.001402/0.001402, 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.001766/0.001766, allocations: 188.9 kB / 22.23 MB, free: 5.16 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.588/1.588, allocations: 207.6 MB / 233 MB, free: 10.02 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.0516/0.0516, allocations: 8.194 MB / 293.4 MB, free: 13.77 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.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations")
translateModel(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations") [Timeout 660]
"Warning: Ignoring unknown experiment annotation option: Intervals = 0.008
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.003374/0.003374, allocations: 78.09 kB / 410.9 MB, free: 46.68 MB / 318.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.09643/0.0998, allocations: 50.93 MB / 461.8 MB, free: 13.05 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations): time 0.002525/0.1023, allocations: 1.228 MB / 463 MB, free: 11.82 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.000704/0.103, allocations: 378.6 kB / 463.4 MB, free: 11.45 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.1031, allocations: 4 kB / 463.4 MB, free: 11.45 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.1033, allocations: 55.36 kB / 463.5 MB, free: 11.39 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001898/0.1035, allocations: 59.42 kB / 463.5 MB, free: 11.33 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.1037, allocations: 135.9 kB / 463.6 MB, free: 11.2 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004368/0.1042, allocations: 403.1 kB / 464 MB, free: 10.8 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003122/0.1045, allocations: 181.4 kB / 464.2 MB, free: 10.62 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.1046, allocations: 171.2 kB / 464.4 MB, free: 10.45 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002095/0.1048, allocations: 195 kB / 464.6 MB, free: 10.26 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 7.272e-05/0.1049, allocations: 56 kB / 464.6 MB, free: 10.21 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 6.597e-05/0.105, allocations: 60 kB / 464.7 MB, free: 10.15 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.000109/0.1051, allocations: 123.6 kB / 464.8 MB, free: 10.03 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002009/0.1053, allocations: 222.8 kB / 465 MB, free: 9.809 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0006213/0.1059, allocations: 0.5877 MB / 465.6 MB, free: 9.219 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1059, allocations: 3.938 kB / 465.6 MB, free: 9.215 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.142e-06/0.1059, allocations: 0 / 465.6 MB, free: 9.215 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 8.255e-06/0.1059, allocations: 0 / 465.6 MB, free: 9.215 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: 104
 * Number of variables: 104
Notification: Performance of Generate backend data structure: time 0.001048/0.107, allocations: 0.6572 MB / 466.3 MB, free: 8.523 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.107, allocations: 11.98 kB / 466.3 MB, free: 8.512 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 9.508e-05/0.1071, allocations: 56.61 kB / 466.3 MB, free: 8.457 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003939/0.1075, allocations: 273.2 kB / 466.6 MB, free: 8.164 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.718e-05/0.1075, allocations: 37.38 kB / 466.6 MB, free: 8.129 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.157e-05/0.1076, allocations: 48.38 kB / 466.7 MB, free: 8.082 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007476/0.1084, allocations: 422.4 kB / 467.1 MB, free: 7.652 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.1084, allocations: 4.141 kB / 467.1 MB, free: 7.648 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.859e-05/0.1084, allocations: 27.94 kB / 467.1 MB, free: 7.621 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.1084, allocations: 8 kB / 467.1 MB, free: 7.613 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004582/0.1089, allocations: 259.8 kB / 467.4 MB, free: 7.359 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002094/0.111, allocations: 1.389 MB / 468.8 MB, free: 5.914 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005801/0.1116, allocations: 338.5 kB / 469.1 MB, free: 5.547 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002296/0.1118, allocations: 155.4 kB / 469.3 MB, free: 5.383 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.1118, allocations: 8 kB / 469.3 MB, free: 5.375 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/0.1119, allocations: 42.5 kB / 469.3 MB, free: 5.324 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=32): time 1.904e-06/0.1119, allocations: 0 / 469.3 MB, free: 5.324 MB / 334.1 MB
Notification: Performance of matching and sorting (n=32): time 0.0006825/0.1126, allocations: 358.5 kB / 469.7 MB, free: 4.969 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.378e-05/0.1127, allocations: 132.5 kB / 469.8 MB, free: 4.809 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002935/0.1129, allocations: 280.2 kB / 470.1 MB, free: 4.527 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.113, allocations: 29.7 kB / 470.1 MB, free: 4.492 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.1132, allocations: 232.5 kB / 470.3 MB, free: 4.258 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001197/0.1133, allocations: 134.9 kB / 470.5 MB, free: 4.125 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.1134, allocations: 66.09 kB / 470.5 MB, free: 4.055 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001975/0.1136, allocations: 350.7 kB / 470.9 MB, free: 3.703 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.1138, allocations: 92.84 kB / 471 MB, free: 3.613 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002531/0.114, allocations: 190.6 kB / 471.1 MB, free: 3.387 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004434/0.1145, allocations: 306 kB / 471.4 MB, free: 3.051 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.1145, allocations: 4 kB / 471.4 MB, free: 3.047 MB / 334.1 MB
Notification: Performance of matching and sorting (n=48) (initialization): time 0.000576/0.115, allocations: 369 kB / 471.8 MB, free: 2.68 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.1151, allocations: 4 kB / 471.8 MB, free: 2.676 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.1151, allocations: 4 kB / 471.8 MB, free: 2.672 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/0.1151, allocations: 4 kB / 471.8 MB, free: 2.668 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000364/0.1155, allocations: 83.89 kB / 471.9 MB, free: 2.586 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.958e-06/0.1155, allocations: 4 kB / 471.9 MB, free: 2.582 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.1156, allocations: 35.97 kB / 471.9 MB, free: 2.547 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/0.1156, allocations: 20 kB / 472 MB, free: 2.527 MB / 334.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 12
 * 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 (48):
 * Single equations (assignments): 48
 * 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.0002128/0.1158, allocations: 169.7 kB / 472.1 MB, free: 2.352 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.1159, allocations: 35.77 kB / 472.2 MB, free: 2.316 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.72e-05/0.116, allocations: 41.73 kB / 472.2 MB, free: 2.277 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.1161, allocations: 4 kB / 472.2 MB, free: 2.273 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.1161, allocations: 3.984 kB / 472.2 MB, free: 2.27 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.1161, allocations: 3.938 kB / 472.2 MB, free: 2.266 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006787/0.1167, allocations: 428.3 kB / 472.6 MB, free: 1.805 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1167, allocations: 4 kB / 472.6 MB, free: 1.801 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000323/0.1171, allocations: 67.89 kB / 472.7 MB, free: 1.734 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.1171, allocations: 7.984 kB / 472.7 MB, free: 1.727 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.1171, allocations: 4 kB / 472.7 MB, free: 1.723 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.1171, allocations: 4 kB / 472.7 MB, free: 1.719 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1171, allocations: 160 / 472.7 MB, free: 1.719 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008613/0.118, allocations: 0.7124 MB / 473.4 MB, free: 0.9844 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.547e-05/0.118, allocations: 35.75 kB / 473.5 MB, free: 0.9492 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.248e-05/0.1181, allocations: 8 kB / 473.5 MB, free: 0.9414 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/0.1183, allocations: 4 kB / 473.5 MB, free: 0.9375 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.528e-05/0.1183, allocations: 27.89 kB / 473.5 MB, free: 0.9102 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/0.1184, allocations: 12 kB / 473.5 MB, free: 0.8984 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 0.0002036/0.1186, allocations: 195.1 kB / 473.7 MB, free: 0.707 MB / 334.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.1186, allocations: 4 kB / 473.7 MB, free: 0.7031 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0004633/0.119, allocations: 87.67 kB / 473.8 MB, free: 0.6172 MB / 334.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 4
 * Number of states: 8 (A.rabbit_population.population,A.fox_population.population,B.rabbit_population.population,B.fox_population.population,C.rabbit_population.population,C.fox_population.population,D.rabbit_population.population,D.fox_population.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 (32):
 * Single equations (assignments): 32
 * 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.0001675/0.1192, allocations: 111.8 kB / 473.9 MB, free: 0.4961 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0004594/0.1197, allocations: 259.7 kB / 474.2 MB, free: 248 kB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1197, allocations: 0 / 474.2 MB, free: 248 kB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.000171/0.1198, allocations: 116.3 kB / 474.3 MB, free: 132 kB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007699/0.1206, allocations: 72.11 kB / 474.3 MB, free: 64 kB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.1219, allocations: 0.7458 MB / 475.1 MB, free: 15.28 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005217/0.1224, allocations: 0.8113 MB / 475.9 MB, free: 14.43 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0001533/0.1226, allocations: 38.81 kB / 475.9 MB, free: 14.4 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.94e-05/0.1227, allocations: 27.44 kB / 476 MB, free: 14.38 MB / 350.1 MB
Notification: Performance of SimCode: time 4.81e-07/0.1227, allocations: 0 / 476 MB, free: 14.38 MB / 350.1 MB
Notification: Performance of Templates: time 0.007824/0.1305, allocations: 3.068 MB / 479 MB, free: 11.33 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.makefile [Timeout 660]
(rm -f ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe >> ../files/ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.sim & ./ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations  -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.911585496738553]
Failed to read output from testmodel.py, exit status != 0:
0.1399019667878747 0.154210211 0.045124539000000005
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fcd547e17b0>