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.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.001367/0.001367, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001499/0.001499, allocations: 215.5 kB / 22.25 MB, free: 4.852 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.571/1.571, allocations: 207.7 MB / 233.1 MB, free: 9.789 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.0531/0.0531, allocations: 8.195 MB / 293.5 MB, free: 13.47 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.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.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.002398/0.002398, allocations: 73.45 kB / 410.9 MB, free: 46.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08604/0.08843, allocations: 50.93 MB / 461.8 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations): time 0.002611/0.09105, allocations: 1.086 MB / 462.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007586/0.0918, allocations: 366.7 kB / 463.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.09192, allocations: 11.94 kB / 463.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.09204, allocations: 55.36 kB / 463.3 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002097/0.09225, allocations: 59.42 kB / 463.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002996/0.09255, allocations: 135.9 kB / 463.5 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004822/0.09304, allocations: 395.1 kB / 463.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003666/0.0934, allocations: 165.4 kB / 464.1 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.09358, allocations: 183.2 kB / 464.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002263/0.09381, allocations: 159 kB / 464.4 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.074e-05/0.09389, allocations: 60 kB / 464.5 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.598e-05/0.09396, allocations: 60 kB / 464.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.09407, allocations: 119.6 kB / 464.6 MB, free: 9.988 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001692/0.09424, allocations: 175.1 kB / 464.8 MB, free: 9.816 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006051/0.09484, allocations: 0.5876 MB / 465.4 MB, free: 9.227 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.09485, allocations: 4 kB / 465.4 MB, free: 9.223 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.09485, allocations: 0 / 465.4 MB, free: 9.223 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.09486, allocations: 0 / 465.4 MB, free: 9.223 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.001043/0.09591, allocations: 0.6572 MB / 466.1 MB, free: 8.531 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/0.09596, allocations: 11.98 kB / 466.1 MB, free: 8.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.09607, allocations: 56.61 kB / 466.1 MB, free: 8.465 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00041/0.09648, allocations: 273.3 kB / 466.4 MB, free: 8.172 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.511e-05/0.09651, allocations: 29.38 kB / 466.4 MB, free: 8.145 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.97e-05/0.09659, allocations: 52.38 kB / 466.5 MB, free: 8.094 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008174/0.09741, allocations: 0.6211 MB / 467.1 MB, free: 7.402 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/0.09743, allocations: 8.125 kB / 467.1 MB, free: 7.395 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.29e-05/0.09748, allocations: 19.94 kB / 467.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.919e-05/0.0975, allocations: 12 kB / 467.1 MB, free: 7.363 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004472/0.09794, allocations: 255.8 kB / 467.4 MB, free: 7.113 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00194/0.09988, allocations: 1.218 MB / 468.6 MB, free: 5.852 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006017/0.1005, allocations: 338.1 kB / 468.9 MB, free: 5.484 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002176/0.1007, allocations: 147.4 kB / 469.1 MB, free: 5.328 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.1007, allocations: 4 kB / 469.1 MB, free: 5.324 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.4e-05/0.1008, allocations: 42.56 kB / 469.1 MB, free: 5.273 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.643e-06/0.1008, allocations: 0 / 469.1 MB, free: 5.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.0006742/0.1014, allocations: 353.9 kB / 469.5 MB, free: 4.922 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.483e-05/0.1015, allocations: 144.4 kB / 469.6 MB, free: 4.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003082/0.1018, allocations: 276.1 kB / 469.9 MB, free: 4.473 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.1019, allocations: 33.7 kB / 469.9 MB, free: 4.434 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/0.1021, allocations: 240.4 kB / 470.2 MB, free: 4.191 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.1022, allocations: 130.9 kB / 470.3 MB, free: 4.062 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.627e-05/0.1023, allocations: 66.08 kB / 470.3 MB, free: 3.992 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.1025, allocations: 350.7 kB / 470.7 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.1026, allocations: 92.84 kB / 470.8 MB, free: 3.551 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/0.1029, allocations: 186.6 kB / 471 MB, free: 3.328 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004358/0.1033, allocations: 314 kB / 471.3 MB, free: 2.984 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1033, allocations: 0 / 471.3 MB, free: 2.984 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005698/0.1039, allocations: 357.1 kB / 471.6 MB, free: 2.629 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.1039, allocations: 14.89 kB / 471.6 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1039, allocations: 4 kB / 471.6 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.1039, allocations: 8 kB / 471.6 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003755/0.1043, allocations: 87.83 kB / 471.7 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.1043, allocations: 8 kB / 471.7 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.1044, allocations: 31.73 kB / 471.8 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.1044, allocations: 16 kB / 471.8 MB, free: 2.465 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.00018/0.1046, allocations: 165.7 kB / 471.9 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.1047, allocations: 35.75 kB / 472 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.14e-05/0.1048, allocations: 45.73 kB / 472 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.1048, allocations: 4 kB / 472 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.1048, allocations: 4.375 kB / 472 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.1048, allocations: 3.984 kB / 472 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005744/0.1054, allocations: 324.9 kB / 472.4 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.1054, allocations: 4 kB / 472.4 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003301/0.1057, allocations: 67.84 kB / 472.4 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.1058, allocations: 0 / 472.4 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.1058, allocations: 11.98 kB / 472.4 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.1058, allocations: 4 kB / 472.4 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1058, allocations: 4 kB / 472.4 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007784/0.1066, allocations: 0.7021 MB / 473.1 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.863e-05/0.1066, allocations: 31.75 kB / 473.2 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.637e-05/0.1066, allocations: 8 kB / 473.2 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.1069, allocations: 8 kB / 473.2 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/0.1069, allocations: 39.83 kB / 473.2 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.1069, allocations: 8 kB / 473.2 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001993/0.1071, allocations: 195.1 kB / 473.4 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1071, allocations: 0 / 473.4 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004713/0.1076, allocations: 79.73 kB / 473.5 MB, free: 0.6797 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.0001365/0.1077, allocations: 119.2 kB / 473.6 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004333/0.1082, allocations: 244 kB / 473.9 MB, free: 320 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.1082, allocations: 0 / 473.9 MB, free: 320 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001971/0.1084, allocations: 120.5 kB / 474 MB, free: 200 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007422/0.1091, allocations: 76.25 kB / 474.1 MB, free: 128 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.1104, allocations: 0.7581 MB / 474.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.1106, allocations: 207.7 kB / 475 MB, free: 15.1 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001419/0.1108, allocations: 38.83 kB / 475.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.311e-05/0.1108, allocations: 27.44 kB / 475.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1108, allocations: 0 / 475.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of Templates: time 0.007611/0.1184, allocations: 3.137 MB / 478.2 MB, free: 11.93 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.72926976904273] Failed to read output from testmodel.py, exit status != 0: 0.12646391242742538 0.14193614200000002 0.043984659 Calling exit ...