Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo): time 0.09247/0.09247, allocations: 11.16 MB / 30.84 MB, free: 6.117 MB / 26.18 MB " [Timeout remaining time 180] 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.001293/0.001293, allocations: 88.36 kB / 38.4 MB, free: 7.914 MB / 34.91 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.001469/0.001469, allocations: 164.5 kB / 46.05 MB, free: 252 kB / 34.91 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.334/1.334, allocations: 177.2 MB / 230.8 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.134/0.134, allocations: 17.63 MB / 309.3 MB, free: 12.81 MB / 286.1 MB " [Timeout remaining time 180] Using package Physiolibrary with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo) Running command: translateModel(Physiolibrary.Population.Examples.PredatorPrey,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey") translateModel(Physiolibrary.Population.Examples.PredatorPrey,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Physiolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Physiolibrary requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Warning: Requested package Chemical of version 1.4.0, but this package was already loaded with version 1.4.1. There are no conversion annotations and 1.4.0 is older than 1.4.1, so the libraries are probably incompatible. Notification: Performance of FrontEnd - loaded program: time 0.003795/0.003795, allocations: 139.7 kB / 454.1 MB, free: 288 kB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1169, allocations: 63.84 MB / 0.5058 GB, free: 332 kB / 462.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.003596/0.1205, allocations: 2.254 MB / 0.508 GB, free: 14.06 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003329/0.1209, allocations: 151.4 kB / 0.5081 GB, free: 13.91 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.05e-05/0.121, allocations: 4 kB / 0.5082 GB, free: 13.91 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001217/0.1211, allocations: 19.73 kB / 0.5082 GB, free: 13.89 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.1212, allocations: 63.53 kB / 0.5082 GB, free: 13.82 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001347/0.1213, allocations: 39.91 kB / 0.5083 GB, free: 13.79 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002308/0.1216, allocations: 175.1 kB / 0.5084 GB, free: 13.61 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.1217, allocations: 42.28 kB / 0.5085 GB, free: 13.57 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.01e-05/0.1218, allocations: 59.78 kB / 0.5085 GB, free: 13.52 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.1219, allocations: 67.58 kB / 0.5086 GB, free: 13.45 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.886e-05/0.1219, allocations: 12 kB / 0.5086 GB, free: 13.44 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.012e-05/0.1219, allocations: 16 kB / 0.5086 GB, free: 13.42 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.4e-05/0.122, allocations: 27.92 kB / 0.5087 GB, free: 13.39 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.396e-05/0.1221, allocations: 59.67 kB / 0.5087 GB, free: 13.34 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.1223, allocations: 167.3 kB / 0.5089 GB, free: 13.17 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1223, allocations: 0 / 0.5089 GB, free: 13.17 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1223, allocations: 0 / 0.5089 GB, free: 13.17 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1223, allocations: 0 / 0.5089 GB, free: 13.17 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0005232/0.1228, allocations: 365.6 kB / 0.5092 GB, free: 12.78 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.1228, allocations: 11.98 kB / 0.5092 GB, free: 12.77 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.078e-05/0.1229, allocations: 16.84 kB / 0.5092 GB, free: 12.75 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.1231, allocations: 162.2 kB / 0.5094 GB, free: 12.57 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.1231, allocations: 8.375 kB / 0.5094 GB, free: 12.56 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.948e-05/0.1232, allocations: 12.38 kB / 0.5094 GB, free: 12.55 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.1234, allocations: 110.2 kB / 0.5095 GB, free: 12.44 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.1234, allocations: 4.188 kB / 0.5095 GB, free: 12.43 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.1234, allocations: 7.938 kB / 0.5095 GB, free: 12.43 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1234, allocations: 7.938 kB / 0.5095 GB, free: 12.42 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.1236, allocations: 71.91 kB / 0.5096 GB, free: 12.35 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005905/0.1242, allocations: 368.1 kB / 0.51 GB, free: 11.96 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.1244, allocations: 102.7 kB / 0.5101 GB, free: 11.85 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.332e-05/0.1244, allocations: 40.84 kB / 0.5101 GB, free: 11.8 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.1245, allocations: 4 kB / 0.5101 GB, free: 11.8 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.1245, allocations: 34.5 kB / 0.5101 GB, free: 11.76 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.1245, allocations: 0 / 0.5101 GB, free: 11.76 MB / 478.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002855/0.1248, allocations: 141.5 kB / 0.5103 GB, free: 11.61 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.1248, allocations: 51.41 kB / 0.5103 GB, free: 11.55 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.125, allocations: 153.2 kB / 0.5105 GB, free: 11.39 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.125, allocations: 33.7 kB / 0.5105 GB, free: 11.36 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.677e-05/0.1251, allocations: 127.8 kB / 0.5106 GB, free: 11.23 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.769e-05/0.1251, allocations: 39.64 kB / 0.5107 GB, free: 11.19 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.753e-05/0.1252, allocations: 33.7 kB / 0.5107 GB, free: 11.15 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1253, allocations: 326.8 kB / 0.511 GB, free: 10.82 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.583e-05/0.1254, allocations: 31.98 kB / 0.511 GB, free: 10.79 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.786e-05/0.1254, allocations: 31.94 kB / 0.5111 GB, free: 10.76 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004078/0.1258, allocations: 156.7 kB / 0.5112 GB, free: 10.6 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.1259, allocations: 0 / 0.5112 GB, free: 10.6 MB / 478.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002127/0.1261, allocations: 136.2 kB / 0.5113 GB, free: 10.46 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.1261, allocations: 7.938 kB / 0.5114 GB, free: 10.46 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1261, allocations: 7.938 kB / 0.5114 GB, free: 10.45 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.1261, allocations: 4 kB / 0.5114 GB, free: 10.45 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.1262, allocations: 27.92 kB / 0.5114 GB, free: 10.42 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.1262, allocations: 4 kB / 0.5114 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.323e-05/0.1263, allocations: 7.953 kB / 0.5114 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.1263, allocations: 4 kB / 0.5114 GB, free: 10.4 MB / 478.1 MB Warning: Assuming fixed start value for the following 2 variables: predator.population:VARIABLE(flow=false min = 0.0 start = predator.population_start unit = \"1\" fixed = true nominal = predator.NominalPopulation ) type: Real prey.population:VARIABLE(flow=false min = 0.0 start = prey.population_start unit = \"1\" fixed = true nominal = prey.NominalPopulation ) type: Real 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.0001664/0.1265, allocations: 133.8 kB / 0.5115 GB, free: 10.26 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.556e-05/0.1265, allocations: 15.95 kB / 0.5115 GB, free: 10.25 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.366e-05/0.1266, allocations: 16.72 kB / 0.5116 GB, free: 10.22 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.1266, allocations: 7.984 kB / 0.5116 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1266, allocations: 0 / 0.5116 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1266, allocations: 0 / 0.5116 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002336/0.1268, allocations: 173.1 kB / 0.5117 GB, free: 10.02 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1268, allocations: 0 / 0.5117 GB, free: 10.02 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.1269, allocations: 16 kB / 0.5118 GB, free: 10 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1269, allocations: 3.938 kB / 0.5118 GB, free: 9.996 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.1269, allocations: 4 kB / 0.5118 GB, free: 9.992 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1269, allocations: 3.938 kB / 0.5118 GB, free: 9.988 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.1269, allocations: 7.984 kB / 0.5118 GB, free: 9.98 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003045/0.1273, allocations: 243.8 kB / 0.512 GB, free: 9.727 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.153e-05/0.1273, allocations: 7.953 kB / 0.512 GB, free: 9.719 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.1273, allocations: 7.938 kB / 0.512 GB, free: 9.711 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.574e-05/0.1274, allocations: 11.94 kB / 0.512 GB, free: 9.699 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.531e-05/0.1274, allocations: 7.984 kB / 0.512 GB, free: 9.691 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-06/0.1274, allocations: 0 / 0.512 GB, free: 9.691 MB / 478.1 MB Notification: Performance of sorting global known variables: time 9.468e-05/0.1275, allocations: 119.1 kB / 0.5122 GB, free: 9.574 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1275, allocations: 0 / 0.5122 GB, free: 9.574 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.1278, allocations: 47.83 kB / 0.5122 GB, free: 9.527 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (predator.population,prey.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 (12): * Single equations (assignments): 12 * 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.0001008/0.1279, allocations: 95.31 kB / 0.5123 GB, free: 9.426 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001947/0.1281, allocations: 79.91 kB / 0.5124 GB, free: 9.348 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1281, allocations: 0 / 0.5124 GB, free: 9.348 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 6.835e-05/0.1281, allocations: 43.92 kB / 0.5124 GB, free: 9.305 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.1284, allocations: 23.92 kB / 0.5124 GB, free: 9.281 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007491/0.1292, allocations: 365.9 kB / 0.5128 GB, free: 8.895 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.1293, allocations: 105.9 kB / 0.5129 GB, free: 8.773 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 5.011e-05/0.1293, allocations: 12.66 kB / 0.5129 GB, free: 8.762 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.801e-05/0.1294, allocations: 12.5 kB / 0.5129 GB, free: 8.75 MB / 478.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1294, allocations: 0 / 0.5129 GB, free: 8.75 MB / 478.1 MB Notification: Performance of Templates: time 0.004397/0.1338, allocations: 1.271 MB / 0.5141 GB, free: 7.504 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.makefile [Timeout 660] (rm -f Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe ; mkfifo Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe >> ../files/Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.sim & ./Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.702256763004698] Failed to read output from testmodel.py, exit status != 0: 0.14202317700255662 0.15590766399999995 0.030635539000000003 Calling exit ...