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.04933/0.04933, allocations: 11.16 MB / 31.01 MB, free: 5.062 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.0007129/0.0007129, allocations: 84.3 kB / 38.58 MB, free: 7.473 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.0008195/0.0008195, allocations: 164.7 kB / 46.27 MB, free: 10.91 MB / 44.04 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.8191/0.8191, allocations: 177.2 MB / 231 MB, free: 6.555 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.1687/0.1687, allocations: 17.62 MB / 309.5 MB, free: 1.758 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.152e-06/1.152e-06, allocations: 0 / 454.3 MB, free: 5.539 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.363e-05/1.478e-05, allocations: 2.281 kB / 454.3 MB, free: 5.535 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.002114/0.002129, allocations: 2.261 MB / 456.6 MB, free: 3.262 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002659/0.002395, allocations: 147.4 kB / 456.8 MB, free: 3.117 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.265e-05/0.002468, allocations: 0 / 456.8 MB, free: 3.117 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.002569, allocations: 27.72 kB / 456.8 MB, free: 3.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.618e-05/0.002645, allocations: 59.48 kB / 456.8 MB, free: 3.031 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001101/0.002755, allocations: 39.83 kB / 456.9 MB, free: 2.992 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.002905, allocations: 187 kB / 457.1 MB, free: 2.809 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.003036, allocations: 38.3 kB / 457.1 MB, free: 2.77 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.671e-05/0.003113, allocations: 91.78 kB / 457.2 MB, free: 2.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.19e-05/0.003194, allocations: 59.81 kB / 457.2 MB, free: 2.621 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.003218, allocations: 8 kB / 457.3 MB, free: 2.613 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.618e-05/0.003234, allocations: 12 kB / 457.3 MB, free: 2.602 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.056e-05/0.003254, allocations: 19.92 kB / 457.3 MB, free: 2.582 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.163e-05/0.003296, allocations: 55.84 kB / 457.3 MB, free: 2.527 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.003455, allocations: 163.4 kB / 457.5 MB, free: 2.367 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.704e-06/0.003456, allocations: 4 kB / 457.5 MB, free: 2.363 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.003457, allocations: 0 / 457.5 MB, free: 2.363 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.003461, allocations: 0 / 457.5 MB, free: 2.363 MB / 410.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.0003501/0.003811, allocations: 368.6 kB / 457.9 MB, free: 1.973 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.003842, allocations: 12.03 kB / 457.9 MB, free: 1.961 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.013e-05/0.003872, allocations: 16.84 kB / 457.9 MB, free: 1.945 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.004026, allocations: 149.5 kB / 458 MB, free: 1.773 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.004041, allocations: 16.38 kB / 458.1 MB, free: 1.758 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.004063, allocations: 16.33 kB / 458.1 MB, free: 1.742 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.004215, allocations: 114.2 kB / 458.2 MB, free: 1.625 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.004225, allocations: 4.172 kB / 458.2 MB, free: 1.621 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.004237, allocations: 4.375 kB / 458.2 MB, free: 1.617 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.004242, allocations: 8.375 kB / 458.2 MB, free: 1.609 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.787e-05/0.004339, allocations: 71.91 kB / 458.3 MB, free: 1.539 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004008/0.00474, allocations: 356.1 kB / 458.6 MB, free: 1.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.004895, allocations: 118.6 kB / 458.7 MB, free: 1.035 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.986e-05/0.004944, allocations: 44.78 kB / 458.8 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.963e-06/0.004951, allocations: 0 / 458.8 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.004969, allocations: 38.56 kB / 458.8 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 7.82e-07/0.00497, allocations: 0 / 458.8 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001931/0.005163, allocations: 125.6 kB / 458.9 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.005192, allocations: 59.28 kB / 459 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.966e-05/0.005291, allocations: 164.3 kB / 459.2 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.005303, allocations: 29.7 kB / 459.2 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.732e-05/0.00536, allocations: 119.9 kB / 459.3 MB, free: 424 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.005389, allocations: 55.52 kB / 459.4 MB, free: 368 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/0.005427, allocations: 29.72 kB / 459.4 MB, free: 332 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.43e-05/0.005511, allocations: 322.8 kB / 459.7 MB, free: 0 / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.784e-05/0.005589, allocations: 27.77 kB / 459.7 MB, free: 51.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.971e-05/0.005629, allocations: 32.81 kB / 459.8 MB, free: 51.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002916/0.00592, allocations: 154.5 kB / 459.9 MB, free: 51.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.005922, allocations: 0.75 kB / 459.9 MB, free: 51.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001367/0.006059, allocations: 134 kB / 460 MB, free: 51.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.006072, allocations: 7.25 kB / 460 MB, free: 51.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.006077, allocations: 0 / 460 MB, free: 51.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.006089, allocations: 2.844 kB / 460.1 MB, free: 51.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.00619, allocations: 30.83 kB / 460.1 MB, free: 51.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.006196, allocations: 3 kB / 460.1 MB, free: 51.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.769e-05/0.006243, allocations: 17.83 kB / 460.1 MB, free: 51.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.006249, allocations: 2.906 kB / 460.1 MB, free: 51.51 MB / 410.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 0.0001173/0.006366, allocations: 133.4 kB / 460.2 MB, free: 51.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.957e-05/0.006386, allocations: 18.92 kB / 460.3 MB, free: 51.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.676e-05/0.006413, allocations: 14.12 kB / 460.3 MB, free: 51.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.006415, allocations: 0 / 460.3 MB, free: 51.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.00642, allocations: 0 / 460.3 MB, free: 51.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.006424, allocations: 0 / 460.3 MB, free: 51.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.006549, allocations: 163.2 kB / 460.4 MB, free: 51.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.00655, allocations: 2.75 kB / 460.4 MB, free: 51.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.831e-05/0.006618, allocations: 18.56 kB / 460.4 MB, free: 51.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.006621, allocations: 2.719 kB / 460.4 MB, free: 51.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.914e-06/0.006629, allocations: 5.281 kB / 460.5 MB, free: 51.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.006629, allocations: 0 / 460.5 MB, free: 51.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.006631, allocations: 5.922 kB / 460.5 MB, free: 51.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.006804, allocations: 244.2 kB / 460.7 MB, free: 51.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.774e-05/0.006822, allocations: 15.75 kB / 460.7 MB, free: 51.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.006836, allocations: 3.125 kB / 460.7 MB, free: 51.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.105e-05/0.006877, allocations: 2.625 kB / 460.7 MB, free: 51.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.445e-05/0.006891, allocations: 14.23 kB / 460.7 MB, free: 51.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.006895, allocations: 5.594 kB / 460.7 MB, free: 51.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.67e-05/0.006932, allocations: 115.8 kB / 460.9 MB, free: 51.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006932, allocations: 2.812 kB / 460.9 MB, free: 51.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001732/0.007105, allocations: 39.83 kB / 460.9 MB, free: 51.07 MB / 410.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.949e-05/0.007165, allocations: 98.38 kB / 461 MB, free: 50.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001234/0.007288, allocations: 83.95 kB / 461.1 MB, free: 50.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.007289, allocations: 0 / 461.1 MB, free: 50.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.272e-05/0.007322, allocations: 35.66 kB / 461.1 MB, free: 50.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.007527, allocations: 30.62 kB / 461.1 MB, free: 50.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003961/0.007923, allocations: 350.6 kB / 461.5 MB, free: 50.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.659e-05/0.00797, allocations: 108.3 kB / 461.6 MB, free: 50.69 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.977e-05/0.007999, allocations: 16.94 kB / 461.6 MB, free: 50.68 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.008, allocations: 0 / 461.6 MB, free: 50.68 MB / 410.7 MB Notification: Performance of Templates: time 0.001843/0.009843, allocations: 1.71 MB / 463.3 MB, free: 50.57 MB / 410.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=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.225046888925135] Failed to read output from testmodel.py, exit status != 0: 0.15484541561454535 0.16049860299999993 0.15579214499999994 Calling exit ...