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.05986/0.05986, allocations: 11.15 MB / 31.01 MB, free: 4.781 MB / 24.77 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.001288/0.001288, allocations: 90.36 kB / 38.74 MB, free: 6.84 MB / 33.03 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.001651/0.001651, allocations: 170.3 kB / 42.14 MB, free: 3.508 MB / 33.03 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 0.9367/0.9367, allocations: 177.2 MB / 222.6 MB, free: 6.289 MB / 202.7 MB " [Timeout remaining time 179] 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.182/0.182, allocations: 17.62 MB / 296.7 MB, free: 1.289 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 320.9 MB, free: 14.19 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.232e-05/1.357e-05, allocations: 3.297 kB / 320.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.002351/0.002365, allocations: 2.422 MB / 323.3 MB, free: 11.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003074/0.002672, allocations: 159.4 kB / 323.5 MB, free: 11.6 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.973e-05/0.002752, allocations: 3.938 kB / 323.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.002865, allocations: 19.8 kB / 323.5 MB, free: 11.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.242e-05/0.002948, allocations: 63.42 kB / 323.6 MB, free: 11.51 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001054/0.003053, allocations: 35.94 kB / 323.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.003205, allocations: 183 kB / 323.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.003321, allocations: 54.78 kB / 323.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.337e-05/0.003404, allocations: 91.8 kB / 323.9 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.409e-05/0.003498, allocations: 51.83 kB / 324 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.003519, allocations: 12 kB / 324 MB, free: 11.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.8e-05/0.003537, allocations: 12 kB / 324 MB, free: 11.08 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.506e-05/0.003562, allocations: 27.91 kB / 324 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.113e-05/0.003603, allocations: 55.84 kB / 324.1 MB, free: 11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.003761, allocations: 115.6 kB / 324.2 MB, free: 10.89 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.003762, allocations: 0 / 324.2 MB, free: 10.89 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.003763, allocations: 0 / 324.2 MB, free: 10.89 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.437e-06/0.003766, allocations: 0 / 324.2 MB, free: 10.89 MB / 298.7 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.0003107/0.004077, allocations: 344.8 kB / 324.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/0.004106, allocations: 8.031 kB / 324.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.259e-05/0.004138, allocations: 20.92 kB / 324.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.004281, allocations: 145.5 kB / 324.7 MB, free: 10.33 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.004295, allocations: 8.375 kB / 324.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.004314, allocations: 12.38 kB / 324.7 MB, free: 10.31 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.004425, allocations: 102.9 kB / 324.8 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.004433, allocations: 192 / 324.8 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.004441, allocations: 8.375 kB / 324.8 MB, free: 10.19 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.004447, allocations: 4.375 kB / 324.8 MB, free: 10.19 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.567e-05/0.004492, allocations: 39.84 kB / 324.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00033/0.004822, allocations: 275.8 kB / 325.1 MB, free: 9.863 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.989e-05/0.004922, allocations: 74.52 kB / 325.2 MB, free: 9.781 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.742e-05/0.00495, allocations: 20.86 kB / 325.2 MB, free: 9.758 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/0.004958, allocations: 4 kB / 325.2 MB, free: 9.754 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.004978, allocations: 42.48 kB / 325.3 MB, free: 9.703 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.004979, allocations: 4 kB / 325.3 MB, free: 9.699 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001255/0.005105, allocations: 77.67 kB / 325.4 MB, free: 9.617 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.00513, allocations: 55.41 kB / 325.4 MB, free: 9.551 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.559e-05/0.005205, allocations: 150.6 kB / 325.6 MB, free: 9.391 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.005216, allocations: 25.7 kB / 325.6 MB, free: 9.359 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.556e-05/0.005261, allocations: 119.9 kB / 325.7 MB, free: 9.238 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.005285, allocations: 43.58 kB / 325.7 MB, free: 9.195 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.702e-05/0.005322, allocations: 45.58 kB / 325.8 MB, free: 9.145 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.663e-05/0.005399, allocations: 330.7 kB / 326.1 MB, free: 8.812 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.692e-05/0.005416, allocations: 8 kB / 326.1 MB, free: 8.805 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.656e-05/0.005432, allocations: 16.86 kB / 326.1 MB, free: 8.793 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.579e-05/0.005508, allocations: 78.75 kB / 326.2 MB, free: 8.715 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.005509, allocations: 0 / 326.2 MB, free: 8.715 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 8.246e-05/0.005592, allocations: 88.23 kB / 326.3 MB, free: 8.625 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/0.005601, allocations: 4 kB / 326.3 MB, free: 8.621 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.005606, allocations: 3.984 kB / 326.3 MB, free: 8.617 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.005616, allocations: 4 kB / 326.3 MB, free: 8.613 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.005724, allocations: 27.94 kB / 326.3 MB, free: 8.586 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/0.005727, allocations: 3.984 kB / 326.3 MB, free: 8.582 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.259e-05/0.00576, allocations: 19.83 kB / 326.4 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.86e-06/0.005764, allocations: 0 / 326.4 MB, free: 8.562 MB / 298.7 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 9.333e-05/0.005858, allocations: 122.3 kB / 326.5 MB, free: 8.434 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.023e-05/0.005878, allocations: 7.984 kB / 326.5 MB, free: 8.426 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.653e-05/0.005905, allocations: 16.78 kB / 326.5 MB, free: 8.41 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.005906, allocations: 0 / 326.5 MB, free: 8.41 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.005908, allocations: 4 kB / 326.5 MB, free: 8.406 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.005912, allocations: 3.984 kB / 326.5 MB, free: 8.402 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.006032, allocations: 109.7 kB / 326.6 MB, free: 8.277 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.006034, allocations: 4 kB / 326.6 MB, free: 8.273 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.614e-05/0.0061, allocations: 23.94 kB / 326.6 MB, free: 8.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.006101, allocations: 0 / 326.6 MB, free: 8.25 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.006112, allocations: 4 kB / 326.7 MB, free: 8.246 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.006113, allocations: 3.984 kB / 326.7 MB, free: 8.242 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.006114, allocations: 4 kB / 326.7 MB, free: 8.238 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.006253, allocations: 187.4 kB / 326.8 MB, free: 8.039 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.575e-05/0.006269, allocations: 11.91 kB / 326.9 MB, free: 8.027 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.00628, allocations: 4 kB / 326.9 MB, free: 8.023 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.873e-05/0.006319, allocations: 11.94 kB / 326.9 MB, free: 8.012 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.18e-05/0.006331, allocations: 3.984 kB / 326.9 MB, free: 8.008 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.006334, allocations: 8.031 kB / 326.9 MB, free: 8 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.644e-05/0.006361, allocations: 41.69 kB / 326.9 MB, free: 7.961 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006361, allocations: 0 / 326.9 MB, free: 7.961 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001386/0.006499, allocations: 43.89 kB / 327 MB, free: 7.918 MB / 298.7 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 5.69e-05/0.006556, allocations: 72.42 kB / 327 MB, free: 7.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.495e-05/0.006641, allocations: 60.72 kB / 327.1 MB, free: 7.777 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.006646, allocations: 0.75 kB / 327.1 MB, free: 7.777 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.648e-05/0.006672, allocations: 32.78 kB / 327.1 MB, free: 7.742 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.006819, allocations: 32.39 kB / 327.2 MB, free: 7.715 MB / 298.7 MB Error: Error parsing unit %: Parse error Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006092/0.007428, allocations: 317.7 kB / 327.5 MB, free: 7.379 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.158e-05/0.00747, allocations: 71.84 kB / 327.5 MB, free: 7.289 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.405e-05/0.007504, allocations: 8.641 kB / 327.5 MB, free: 7.281 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.285e-05/0.007577, allocations: 75.36 kB / 327.6 MB, free: 7.207 MB / 298.7 MB Notification: Performance of SimCode: time 1.052e-06/0.007578, allocations: 0 / 327.6 MB, free: 7.207 MB / 298.7 MB Notification: Performance of Templates: time 0.00282/0.0104, allocations: 1.387 MB / 329 MB, free: 5.852 MB / 298.7 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7121561258099973]