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.1029/0.1029, allocations: 15.56 MB / 34.41 MB, free: 4.488 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.001353/0.001353, allocations: 105.9 kB / 41.99 MB, free: 6.176 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.001631/0.001631, allocations: 212.5 kB / 49.67 MB, free: 10.02 MB / 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.581/1.581, allocations: 230.6 MB / 287.8 MB, free: 6.367 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.1549/0.1549, allocations: 23.73 MB / 372.4 MB, free: 2.922 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: "" <> 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: 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.003843/0.003843, allocations: 132.6 kB / 0.5047 GB, free: 15.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3297, allocations: 63.85 MB / 0.567 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.003983/0.3337, allocations: 2.261 MB / 0.5692 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004427/0.3341, allocations: 143.5 kB / 0.5694 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.3342, allocations: 7.938 kB / 0.5694 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001736/0.3344, allocations: 27.72 kB / 0.5694 GB, free: 12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001262/0.3345, allocations: 51.55 kB / 0.5694 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001812/0.3347, allocations: 31.97 kB / 0.5695 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003/0.335, allocations: 179.1 kB / 0.5696 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002007/0.3352, allocations: 46.14 kB / 0.5697 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.811e-05/0.3353, allocations: 67.73 kB / 0.5697 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.3354, allocations: 55.7 kB / 0.5698 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.709e-05/0.3355, allocations: 12 kB / 0.5698 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.03e-05/0.3355, allocations: 12 kB / 0.5698 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.085e-05/0.3355, allocations: 23.92 kB / 0.5698 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.562e-05/0.3356, allocations: 67.59 kB / 0.5699 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000269/0.3359, allocations: 158.2 kB / 0.5701 GB, free: 11.31 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.3359, allocations: 0 / 0.5701 GB, free: 11.31 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.3359, allocations: 4 kB / 0.5701 GB, free: 11.31 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.3359, allocations: 3.938 kB / 0.5701 GB, free: 11.3 MB / 398.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.0006142/0.3365, allocations: 369.6 kB / 0.5704 GB, free: 10.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.3366, allocations: 8.031 kB / 0.5704 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.383e-05/0.3366, allocations: 46.73 kB / 0.5705 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.039e-05/0.3367, allocations: 16.84 kB / 0.5705 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/0.337, allocations: 154.2 kB / 0.5706 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.117e-05/0.337, allocations: 12.38 kB / 0.5707 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.337, allocations: 16.38 kB / 0.5707 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002557/0.3373, allocations: 118.2 kB / 0.5708 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.3373, allocations: 7.891 kB / 0.5708 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.3373, allocations: 4 kB / 0.5708 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.3373, allocations: 7.938 kB / 0.5708 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001607/0.3375, allocations: 67.91 kB / 0.5709 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007255/0.3382, allocations: 403.5 kB / 0.5712 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002304/0.3385, allocations: 102.7 kB / 0.5713 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.864e-05/0.3385, allocations: 40.86 kB / 0.5714 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.3386, allocations: 3.984 kB / 0.5714 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.3386, allocations: 42.5 kB / 0.5714 GB, free: 9.777 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.3386, allocations: 0 / 0.5714 GB, free: 9.777 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.000304/0.3389, allocations: 133.4 kB / 0.5716 GB, free: 9.641 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.3389, allocations: 51.41 kB / 0.5716 GB, free: 9.578 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.3391, allocations: 154.1 kB / 0.5718 GB, free: 9.418 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.3391, allocations: 33.7 kB / 0.5718 GB, free: 9.379 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.137e-05/0.3392, allocations: 127.6 kB / 0.5719 GB, free: 9.25 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.684e-05/0.3393, allocations: 51.58 kB / 0.572 GB, free: 9.199 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-05/0.3393, allocations: 29.72 kB / 0.572 GB, free: 9.164 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3395, allocations: 326.8 kB / 0.5723 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.544e-05/0.3395, allocations: 31.98 kB / 0.5723 GB, free: 8.805 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.352e-05/0.3396, allocations: 27.98 kB / 0.5724 GB, free: 8.777 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004037/0.34, allocations: 161.7 kB / 0.5725 GB, free: 8.621 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.34, allocations: 0 / 0.5725 GB, free: 8.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002111/0.3402, allocations: 140.4 kB / 0.5726 GB, free: 8.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.3402, allocations: 8 kB / 0.5726 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.3402, allocations: 0 / 0.5726 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.3402, allocations: 0 / 0.5726 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.3404, allocations: 35.92 kB / 0.5727 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3404, allocations: 4 kB / 0.5727 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.031e-05/0.3405, allocations: 11.89 kB / 0.5727 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.3405, allocations: 0 / 0.5727 GB, free: 8.422 MB / 398.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.0002039/0.3407, allocations: 134.3 kB / 0.5728 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.3407, allocations: 15.84 kB / 0.5728 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.204e-05/0.3407, allocations: 12.72 kB / 0.5729 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.3407, allocations: 0 / 0.5729 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3408, allocations: 0 / 0.5729 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3408, allocations: 4 kB / 0.5729 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002697/0.341, allocations: 200.6 kB / 0.573 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.341, allocations: 0 / 0.573 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.3412, allocations: 27.86 kB / 0.5731 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3412, allocations: 3.938 kB / 0.5731 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.3412, allocations: 8 kB / 0.5731 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3412, allocations: 0 / 0.5731 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3412, allocations: 4 kB / 0.5731 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003344/0.3415, allocations: 235.4 kB / 0.5733 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.192e-05/0.3415, allocations: 19.86 kB / 0.5733 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.3416, allocations: 64 / 0.5733 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.986e-05/0.3416, allocations: 12 kB / 0.5733 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.294e-05/0.3417, allocations: 7.969 kB / 0.5734 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.3417, allocations: 4 kB / 0.5734 GB, free: 7.676 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.85e-05/0.3418, allocations: 118 kB / 0.5735 GB, free: 7.562 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3418, allocations: 0 / 0.5735 GB, free: 7.562 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002652/0.342, allocations: 43.92 kB / 0.5735 GB, free: 7.52 MB / 398.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.0006442/0.3427, allocations: 0.7709 MB / 0.5743 GB, free: 6.723 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001919/0.3429, allocations: 79.91 kB / 0.5743 GB, free: 6.645 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3429, allocations: 0 / 0.5743 GB, free: 6.645 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.445e-05/0.343, allocations: 43.98 kB / 0.5744 GB, free: 6.602 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.3433, allocations: 16 kB / 0.5744 GB, free: 6.586 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001984/0.3453, allocations: 1.779 MB / 0.5761 GB, free: 4.723 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.3454, allocations: 98.11 kB / 0.5762 GB, free: 4.609 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.807e-05/0.3454, allocations: 8.656 kB / 0.5762 GB, free: 4.602 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.071e-05/0.3455, allocations: 39.42 kB / 0.5763 GB, free: 4.566 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3455, allocations: 0 / 0.5763 GB, free: 4.566 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02986/0.3753, allocations: 3.553 MB / 0.5797 GB, free: 1.137 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.94, allocations: 14.11 kB / 0.5798 GB, free: 1.125 MB / 398.1 MB " [Timeout remaining time 648] (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: 14.958570456132293] Failed to read output from testmodel.py, exit status != 0: 12.051069377921522 12.081181635 11.739993214 Calling exit ...