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 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.2417/0.2417, allocations: 23.87 MB / 40.22 MB, free: 8.562 MB / 34.91 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.001677/0.001677, allocations: 100.9 kB / 49.56 MB, free: 2.621 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.002482/0.002482, allocations: 215.2 kB / 59.05 MB, free: 5.98 MB / 46.55 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.504/1.504, allocations: 230.5 MB / 298.9 MB, free: 7.617 MB / 222.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.1312/0.1312, allocations: 23.71 MB / 385.2 MB, free: 10.32 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 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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: Physiolibrary requested package Chemical of version 1.4.0. Chemical 2.0.0 is used instead which states that it is only compatible with a conversion script. Use convertPackageToLibrary(Physiolibrary, Chemical, \"2.0.0\") to run the conversion script or proceed with potential issues as a result. Notification: Performance of FrontEnd - loaded program: time 0.003388/0.003388, allocations: 122.7 kB / 0.5196 GB, free: 42.63 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1429, allocations: 65.92 MB / 0.584 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.004072/0.147, allocations: 2.34 MB / 0.5863 GB, free: 9.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003783/0.1474, allocations: 139.4 kB / 0.5864 GB, free: 9.023 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.1475, allocations: 4 kB / 0.5864 GB, free: 9.02 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001527/0.1476, allocations: 27.72 kB / 0.5864 GB, free: 8.992 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.1477, allocations: 59.55 kB / 0.5865 GB, free: 8.934 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/0.1479, allocations: 31.91 kB / 0.5865 GB, free: 8.902 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002453/0.1481, allocations: 171.2 kB / 0.5867 GB, free: 8.734 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.1483, allocations: 50.23 kB / 0.5867 GB, free: 8.688 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.042e-05/0.1484, allocations: 59.73 kB / 0.5868 GB, free: 8.629 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.1485, allocations: 71.7 kB / 0.5868 GB, free: 8.559 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/0.1486, allocations: 8 kB / 0.5869 GB, free: 8.551 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.424e-05/0.1486, allocations: 12 kB / 0.5869 GB, free: 8.539 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.513e-05/0.1486, allocations: 27.86 kB / 0.5869 GB, free: 8.512 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.597e-05/0.1487, allocations: 83.59 kB / 0.587 GB, free: 8.43 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.149, allocations: 167.2 kB / 0.5871 GB, free: 8.266 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.149, allocations: 0 / 0.5871 GB, free: 8.266 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.149, allocations: 0 / 0.5871 GB, free: 8.266 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.149, allocations: 0 / 0.5871 GB, free: 8.266 MB / 414.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.0007329/0.1498, allocations: 438.8 kB / 0.5876 GB, free: 7.785 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.727e-05/0.1498, allocations: 15.97 kB / 0.5876 GB, free: 7.77 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.917e-05/0.1499, allocations: 46.73 kB / 0.5876 GB, free: 7.715 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.099e-05/0.1499, allocations: 20.8 kB / 0.5876 GB, free: 7.695 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003435/0.1503, allocations: 216.1 kB / 0.5878 GB, free: 7.445 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.176e-05/0.1503, allocations: 12.38 kB / 0.5878 GB, free: 7.434 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.876e-05/0.1504, allocations: 12.38 kB / 0.5879 GB, free: 7.422 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/0.1506, allocations: 110.2 kB / 0.588 GB, free: 7.309 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.1506, allocations: 3.938 kB / 0.588 GB, free: 7.305 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.1507, allocations: 4 kB / 0.588 GB, free: 7.301 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.1507, allocations: 7.938 kB / 0.588 GB, free: 7.293 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001721/0.1508, allocations: 79.94 kB / 0.5881 GB, free: 7.215 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007841/0.1516, allocations: 444.4 kB / 0.5885 GB, free: 6.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.1519, allocations: 102.6 kB / 0.5886 GB, free: 6.621 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.152, allocations: 44.94 kB / 0.5886 GB, free: 6.574 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.152, allocations: 0 / 0.5886 GB, free: 6.574 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.152, allocations: 42.44 kB / 0.5887 GB, free: 6.523 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.052e-06/0.152, allocations: 0 / 0.5887 GB, free: 6.523 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.000348/0.1524, allocations: 133.5 kB / 0.5888 GB, free: 6.387 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.1524, allocations: 55.41 kB / 0.5888 GB, free: 6.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.1526, allocations: 152.7 kB / 0.589 GB, free: 6.164 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.1526, allocations: 25.7 kB / 0.589 GB, free: 6.133 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.1527, allocations: 131.8 kB / 0.5891 GB, free: 6 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.451e-05/0.1528, allocations: 47.62 kB / 0.5892 GB, free: 5.953 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.749e-05/0.1528, allocations: 33.72 kB / 0.5892 GB, free: 5.914 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.153, allocations: 322.8 kB / 0.5895 GB, free: 5.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.688e-05/0.1531, allocations: 31.98 kB / 0.5896 GB, free: 5.559 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.219e-05/0.1531, allocations: 35.92 kB / 0.5896 GB, free: 5.523 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004642/0.1536, allocations: 163.1 kB / 0.5897 GB, free: 5.367 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1536, allocations: 0 / 0.5897 GB, free: 5.367 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002155/0.1538, allocations: 137.5 kB / 0.5899 GB, free: 5.227 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.1538, allocations: 7.125 kB / 0.5899 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1538, allocations: 4 kB / 0.5899 GB, free: 5.219 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.1539, allocations: 0 / 0.5899 GB, free: 5.219 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.154, allocations: 35.92 kB / 0.5899 GB, free: 5.184 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.154, allocations: 7.922 kB / 0.5899 GB, free: 5.176 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.54e-05/0.1541, allocations: 11.89 kB / 0.5899 GB, free: 5.164 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.1541, allocations: 8 kB / 0.5899 GB, free: 5.156 MB / 414.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.0002107/0.1543, allocations: 132.8 kB / 0.5901 GB, free: 5.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-05/0.1544, allocations: 15.88 kB / 0.5901 GB, free: 5.004 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.584e-05/0.1544, allocations: 20.72 kB / 0.5901 GB, free: 4.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1544, allocations: 0 / 0.5901 GB, free: 4.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.1544, allocations: 4 kB / 0.5901 GB, free: 4.977 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1544, allocations: 0 / 0.5901 GB, free: 4.977 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000313/0.1547, allocations: 233.5 kB / 0.5903 GB, free: 4.699 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1547, allocations: 0 / 0.5903 GB, free: 4.699 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.1549, allocations: 23.92 kB / 0.5904 GB, free: 4.676 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.1549, allocations: 0 / 0.5904 GB, free: 4.676 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.1549, allocations: 4 kB / 0.5904 GB, free: 4.672 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1549, allocations: 8 kB / 0.5904 GB, free: 4.664 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1549, allocations: 0 / 0.5904 GB, free: 4.664 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004018/0.1553, allocations: 239.4 kB / 0.5906 GB, free: 4.414 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.76e-05/0.1554, allocations: 96.92 kB / 0.5907 GB, free: 4.301 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.1554, allocations: 7.938 kB / 0.5907 GB, free: 4.293 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.624e-05/0.1555, allocations: 0 / 0.5907 GB, free: 4.293 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.404e-05/0.1555, allocations: 11.97 kB / 0.5907 GB, free: 4.281 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.1555, allocations: 4.062 kB / 0.5907 GB, free: 4.277 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.842e-05/0.1556, allocations: 122.1 kB / 0.5908 GB, free: 4.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1556, allocations: 0 / 0.5908 GB, free: 4.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002526/0.1558, allocations: 39.95 kB / 0.5909 GB, free: 4.121 MB / 414.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.0006733/0.1565, allocations: 0.7671 MB / 0.5916 GB, free: 3.328 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002241/0.1567, allocations: 83.97 kB / 0.5917 GB, free: 3.246 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1567, allocations: 0 / 0.5917 GB, free: 3.246 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.542e-05/0.1568, allocations: 40.58 kB / 0.5917 GB, free: 3.207 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.1571, allocations: 24.17 kB / 0.5918 GB, free: 3.184 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/0.1593, allocations: 1.783 MB / 0.5935 GB, free: 1.324 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004675/0.1598, allocations: 0.7163 MB / 0.5942 GB, free: 0.582 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.488e-05/0.1599, allocations: 8.656 kB / 0.5942 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.841e-05/0.16, allocations: 35.42 kB / 0.5942 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.16, allocations: 0 / 0.5942 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02803/0.188, allocations: 2.943 MB / 0.5971 GB, free: 13.69 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.991/8.179, allocations: 12 kB / 0.5971 GB, free: 13.68 MB / 430.1 MB " [Timeout remaining time 652] (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: 11.610356923003565] Failed to read output from testmodel.py, exit status != 0: 8.25032861699583 8.27399593 8.120513394 Calling exit ...