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.0591/0.0591, allocations: 11.16 MB / 30.25 MB, free: 5.086 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.001116/0.001116, allocations: 88.42 kB / 37.83 MB, free: 7.484 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.001448/0.001448, allocations: 160.6 kB / 45.51 MB, free: 10.93 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.8964/0.8964, allocations: 177.1 MB / 230.2 MB, free: 6.551 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.1859/0.1859, allocations: 17.62 MB / 308.7 MB, free: 1.727 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: "" <> buildModelFMU(Physiolibrary.Population.Examples.PredatorPrey,fileNamePrefix="Physiolibrary_Physiolibrary_Population_Examples_PredatorPrey",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Population.Examples.PredatorPrey,fileNamePrefix="Physiolibrary_Physiolibrary_Population_Examples_PredatorPrey",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 4 kB / 453.1 MB, free: 6.023 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.307e-05/1.5e-05, allocations: 2.281 kB / 453.1 MB, free: 6.02 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.002294/0.002309, allocations: 2.265 MB / 455.3 MB, free: 3.742 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003289/0.002638, allocations: 143.5 kB / 455.5 MB, free: 3.602 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.117e-05/0.002719, allocations: 4 kB / 455.5 MB, free: 3.598 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.002828, allocations: 23.73 kB / 455.5 MB, free: 3.574 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.069e-05/0.002909, allocations: 63.42 kB / 455.6 MB, free: 3.512 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001169/0.003026, allocations: 39.89 kB / 455.6 MB, free: 3.473 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.003181, allocations: 183 kB / 455.8 MB, free: 3.293 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.003318, allocations: 42.28 kB / 455.8 MB, free: 3.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.915e-05/0.003397, allocations: 91.8 kB / 455.9 MB, free: 3.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.003499, allocations: 51.81 kB / 456 MB, free: 3.109 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.041e-05/0.003529, allocations: 12 kB / 456 MB, free: 3.098 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.827e-05/0.003547, allocations: 12 kB / 456 MB, free: 3.086 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.689e-05/0.003574, allocations: 23.91 kB / 456 MB, free: 3.062 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.943e-05/0.003624, allocations: 59.84 kB / 456.1 MB, free: 3.004 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.003819, allocations: 163.4 kB / 456.2 MB, free: 2.844 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.003821, allocations: 0 / 456.2 MB, free: 2.844 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.003822, allocations: 0 / 456.2 MB, free: 2.844 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.003826, allocations: 0 / 456.2 MB, free: 2.844 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.0004724/0.004299, allocations: 361.7 kB / 456.6 MB, free: 2.457 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.004343, allocations: 8.031 kB / 456.6 MB, free: 2.449 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.035e-05/0.004383, allocations: 46.75 kB / 456.6 MB, free: 2.395 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.053e-05/0.004414, allocations: 20.83 kB / 456.7 MB, free: 2.375 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.00463, allocations: 163.8 kB / 456.8 MB, free: 2.191 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.004652, allocations: 8.375 kB / 456.8 MB, free: 2.184 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.00468, allocations: 12.38 kB / 456.9 MB, free: 2.172 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.004873, allocations: 106.2 kB / 457 MB, free: 2.062 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.004888, allocations: 4.188 kB / 457 MB, free: 2.059 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.004903, allocations: 12.3 kB / 457 MB, free: 2.047 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.004912, allocations: 8.125 kB / 457 MB, free: 2.039 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.005023, allocations: 71.95 kB / 457 MB, free: 1.969 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005369/0.005559, allocations: 391.6 kB / 457.4 MB, free: 1.543 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.005738, allocations: 114.5 kB / 457.5 MB, free: 1.422 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.66e-05/0.005794, allocations: 40.94 kB / 457.6 MB, free: 1.379 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.258e-06/0.005804, allocations: 0 / 457.6 MB, free: 1.379 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.005826, allocations: 30.56 kB / 457.6 MB, free: 1.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 9.72e-07/0.005827, allocations: 4 kB / 457.6 MB, free: 1.336 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002361/0.006063, allocations: 137.4 kB / 457.8 MB, free: 1.195 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.006096, allocations: 51.41 kB / 457.8 MB, free: 1.133 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.006211, allocations: 161.6 kB / 458 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.006225, allocations: 25.7 kB / 458 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.966e-05/0.006294, allocations: 131.8 kB / 458.1 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.006324, allocations: 47.64 kB / 458.2 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-05/0.006365, allocations: 29.7 kB / 458.2 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.972e-05/0.006465, allocations: 326.8 kB / 458.5 MB, free: 400 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.392e-05/0.006509, allocations: 31.92 kB / 458.5 MB, free: 368 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.184e-05/0.00655, allocations: 37.28 kB / 458.6 MB, free: 336 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003129/0.006863, allocations: 156.7 kB / 458.7 MB, free: 176 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.006866, allocations: 0 / 458.7 MB, free: 176 kB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001489/0.007015, allocations: 135.7 kB / 458.9 MB, free: 36 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.007029, allocations: 8 kB / 458.9 MB, free: 28 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.007036, allocations: 0 / 458.9 MB, free: 28 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.007052, allocations: 7.938 kB / 458.9 MB, free: 20 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1646/0.1716, allocations: 25.59 kB / 458.9 MB, free: 51.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.1717, allocations: 0 / 458.9 MB, free: 51.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.767e-05/0.1717, allocations: 11.47 kB / 458.9 MB, free: 51.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-06/0.1718, allocations: 2.875 kB / 458.9 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.0001582/0.1719, allocations: 129.6 kB / 459 MB, free: 51.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.1719, allocations: 10.86 kB / 459.1 MB, free: 51.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.308e-05/0.172, allocations: 18.83 kB / 459.1 MB, free: 51.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.172, allocations: 3.75 kB / 459.1 MB, free: 51.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.172, allocations: 3.125 kB / 459.1 MB, free: 51.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.172, allocations: 2.625 kB / 459.1 MB, free: 51.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.1721, allocations: 194.6 kB / 459.3 MB, free: 51.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1721, allocations: 3.234 kB / 459.3 MB, free: 51.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.856e-05/0.1722, allocations: 21.44 kB / 459.3 MB, free: 51.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.1722, allocations: 2.781 kB / 459.3 MB, free: 51.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.1722, allocations: 6.938 kB / 459.3 MB, free: 51.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.1722, allocations: 0 / 459.3 MB, free: 51.24 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1722, allocations: 0 / 459.3 MB, free: 51.24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.1724, allocations: 250.1 kB / 459.5 MB, free: 51.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.129e-05/0.1725, allocations: 15.8 kB / 459.6 MB, free: 51.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.1725, allocations: 6.25 kB / 459.6 MB, free: 51.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.363e-05/0.1725, allocations: 0.6875 kB / 459.6 MB, free: 51.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.516e-05/0.1725, allocations: 10.06 kB / 459.6 MB, free: 51.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.1725, allocations: 2.75 kB / 459.6 MB, free: 51.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.081e-05/0.1726, allocations: 118.5 kB / 459.7 MB, free: 51.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1726, allocations: 0 / 459.7 MB, free: 51.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001677/0.1727, allocations: 42.67 kB / 459.7 MB, free: 51.04 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 0.0002388/0.173, allocations: 0.7731 MB / 460.5 MB, free: 50.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001258/0.1731, allocations: 81.69 kB / 460.6 MB, free: 50.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1731, allocations: 6.781 kB / 460.6 MB, free: 50.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.241e-05/0.1731, allocations: 36.05 kB / 460.6 MB, free: 50.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.1734, allocations: 25.41 kB / 460.7 MB, free: 50.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.1744, allocations: 1.744 MB / 462.4 MB, free: 49.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.852e-05/0.1745, allocations: 104.7 kB / 462.5 MB, free: 49.04 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.41e-05/0.1745, allocations: 7.094 kB / 462.5 MB, free: 49.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.878e-05/0.1745, allocations: 40.2 kB / 462.6 MB, free: 49.01 MB / 410.7 MB Notification: Performance of SimCode: time 4.21e-07/0.1745, allocations: 1.5 kB / 462.6 MB, free: 49.01 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0151/0.1896, allocations: 3.736 MB / 466.3 MB, free: 47.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.143/7.332, allocations: 5.266 kB / 466.3 MB, free: 47.95 MB / 410.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 Physiolibrary_Physiolibrary_Population_Examples_PredatorPrey.fmu > Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.333825621753931] Failed to read output from testmodel.py, exit status != 0: 7.4207658637315035 7.427819522 7.422226195 Calling exit ...