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.1503/0.1503, allocations: 23.88 MB / 42.73 MB, free: 2.57 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.001275/0.001275, allocations: 109.2 kB / 52.41 MB, free: 252 kB / 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.001574/0.001574, allocations: 210.2 kB / 62.23 MB, free: 2.082 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.543/1.543, allocations: 230.6 MB / 302.5 MB, free: 6.949 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.1512/0.1512, allocations: 23.73 MB / 389.2 MB, free: 8.918 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.003299/0.003299, allocations: 125.7 kB / 0.5251 GB, free: 42.27 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1206, allocations: 65.96 MB / 0.5896 GB, free: 9.699 MB / 414.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.003744/0.1244, allocations: 2.259 MB / 0.5918 GB, free: 7.43 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004014/0.1248, allocations: 143.4 kB / 0.5919 GB, free: 7.289 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.1249, allocations: 4 kB / 0.5919 GB, free: 7.285 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001424/0.125, allocations: 27.72 kB / 0.5919 GB, free: 7.258 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.1252, allocations: 55.55 kB / 0.592 GB, free: 7.203 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.1253, allocations: 27.97 kB / 0.592 GB, free: 7.176 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002546/0.1256, allocations: 183.1 kB / 0.5922 GB, free: 6.996 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001796/0.1257, allocations: 54.41 kB / 0.5922 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.628e-05/0.1258, allocations: 59.73 kB / 0.5923 GB, free: 6.887 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.126, allocations: 71.7 kB / 0.5924 GB, free: 6.816 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.654e-05/0.126, allocations: 8 kB / 0.5924 GB, free: 6.809 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.049e-05/0.126, allocations: 15.94 kB / 0.5924 GB, free: 6.793 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.204e-05/0.126, allocations: 23.92 kB / 0.5924 GB, free: 6.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.042e-05/0.1261, allocations: 71.66 kB / 0.5925 GB, free: 6.699 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.1264, allocations: 163.2 kB / 0.5926 GB, free: 6.539 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1264, allocations: 0 / 0.5926 GB, free: 6.539 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1264, allocations: 0 / 0.5926 GB, free: 6.539 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.1264, allocations: 0 / 0.5926 GB, free: 6.539 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.0006029/0.127, allocations: 365.7 kB / 0.593 GB, free: 6.148 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.127, allocations: 16.03 kB / 0.593 GB, free: 6.133 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.264e-05/0.1271, allocations: 46.73 kB / 0.593 GB, free: 6.078 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.917e-05/0.1271, allocations: 20.8 kB / 0.5931 GB, free: 6.059 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.1274, allocations: 156.8 kB / 0.5932 GB, free: 5.883 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.1275, allocations: 8.375 kB / 0.5932 GB, free: 5.875 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.172e-05/0.1275, allocations: 12.38 kB / 0.5932 GB, free: 5.863 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002257/0.1277, allocations: 114.2 kB / 0.5933 GB, free: 5.746 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.16e-05/0.1277, allocations: 3.938 kB / 0.5933 GB, free: 5.742 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.1278, allocations: 4 kB / 0.5933 GB, free: 5.738 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.1278, allocations: 8 kB / 0.5933 GB, free: 5.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.1279, allocations: 80.39 kB / 0.5934 GB, free: 5.652 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006576/0.1286, allocations: 387.6 kB / 0.5938 GB, free: 5.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/0.1288, allocations: 98.7 kB / 0.5939 GB, free: 5.125 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.396e-05/0.1289, allocations: 44.84 kB / 0.5939 GB, free: 5.078 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.1289, allocations: 4 kB / 0.5939 GB, free: 5.074 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.1289, allocations: 38.44 kB / 0.594 GB, free: 5.027 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.253e-06/0.1289, allocations: 0 / 0.594 GB, free: 5.027 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.000305/0.1292, allocations: 133.8 kB / 0.5941 GB, free: 4.891 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.1293, allocations: 59.41 kB / 0.5942 GB, free: 4.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.1294, allocations: 155.8 kB / 0.5943 GB, free: 4.656 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.1295, allocations: 25.7 kB / 0.5943 GB, free: 4.625 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.69e-05/0.1296, allocations: 123.9 kB / 0.5944 GB, free: 4.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.584e-05/0.1296, allocations: 51.56 kB / 0.5945 GB, free: 4.449 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.397e-05/0.1297, allocations: 33.7 kB / 0.5945 GB, free: 4.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.1298, allocations: 322.8 kB / 0.5948 GB, free: 4.086 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.685e-05/0.1299, allocations: 24 kB / 0.5949 GB, free: 4.062 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.786e-05/0.1299, allocations: 39.92 kB / 0.5949 GB, free: 4.023 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004035/0.1303, allocations: 154.5 kB / 0.595 GB, free: 3.875 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1303, allocations: 4 kB / 0.595 GB, free: 3.871 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002175/0.1306, allocations: 141.4 kB / 0.5952 GB, free: 3.727 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.1306, allocations: 4 kB / 0.5952 GB, free: 3.723 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1306, allocations: 3.938 kB / 0.5952 GB, free: 3.719 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1306, allocations: 0 / 0.5952 GB, free: 3.719 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.1307, allocations: 31.92 kB / 0.5952 GB, free: 3.688 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1307, allocations: 0 / 0.5952 GB, free: 3.688 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.739e-05/0.1308, allocations: 15.89 kB / 0.5952 GB, free: 3.672 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.1308, allocations: 7.938 kB / 0.5952 GB, free: 3.664 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.0001965/0.131, allocations: 136.6 kB / 0.5954 GB, free: 3.523 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/0.1311, allocations: 11.89 kB / 0.5954 GB, free: 3.512 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.309e-05/0.1311, allocations: 16.72 kB / 0.5954 GB, free: 3.496 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.1311, allocations: 4 kB / 0.5954 GB, free: 3.492 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1311, allocations: 0 / 0.5954 GB, free: 3.492 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1311, allocations: 0 / 0.5954 GB, free: 3.492 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002539/0.1314, allocations: 188.7 kB / 0.5956 GB, free: 3.266 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1314, allocations: 3.938 kB / 0.5956 GB, free: 3.262 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.1315, allocations: 27.92 kB / 0.5956 GB, free: 3.234 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1315, allocations: 4 kB / 0.5956 GB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.1315, allocations: 4 kB / 0.5956 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1315, allocations: 0 / 0.5956 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1315, allocations: 0 / 0.5956 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003223/0.1318, allocations: 247.5 kB / 0.5959 GB, free: 2.969 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.485e-05/0.1319, allocations: 23.81 kB / 0.5959 GB, free: 2.945 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.1319, allocations: 0 / 0.5959 GB, free: 2.945 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.254e-05/0.132, allocations: 3.938 kB / 0.5959 GB, free: 2.941 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.734e-05/0.132, allocations: 15.97 kB / 0.5959 GB, free: 2.926 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.132, allocations: 0 / 0.5959 GB, free: 2.926 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.617e-05/0.1321, allocations: 114.1 kB / 0.596 GB, free: 2.816 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1321, allocations: 4.062 kB / 0.596 GB, free: 2.812 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002491/0.1323, allocations: 39.95 kB / 0.5961 GB, free: 2.773 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.0005991/0.1329, allocations: 0.771 MB / 0.5968 GB, free: 1.977 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002004/0.1331, allocations: 83.84 kB / 0.5969 GB, free: 1.895 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1331, allocations: 0 / 0.5969 GB, free: 1.895 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.394e-05/0.1332, allocations: 43.92 kB / 0.5969 GB, free: 1.852 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.1335, allocations: 20.19 kB / 0.5969 GB, free: 1.832 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/0.1356, allocations: 1.772 MB / 0.5987 GB, free: 15.97 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.1357, allocations: 102.1 kB / 0.5988 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.156e-05/0.1358, allocations: 8.656 kB / 0.5988 GB, free: 15.85 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.305e-05/0.1359, allocations: 39.36 kB / 0.5988 GB, free: 15.81 MB / 430.1 MB Notification: Performance of SimCode: time 7.72e-07/0.1359, allocations: 4 kB / 0.5988 GB, free: 15.81 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03005/0.1659, allocations: 3.588 MB / 0.6023 GB, free: 12.37 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.08, allocations: 3.938 kB / 0.6023 GB, free: 12.36 MB / 430.1 MB " [Timeout remaining time 649] (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.323845222010277] Failed to read output from testmodel.py, exit status != 0: 11.184510400984436 11.200389178 11.070973322 Calling exit ...