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.1556/0.1556, allocations: 23.88 MB / 42.7 MB, free: 2.641 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.001203/0.001203, allocations: 106.2 kB / 52.38 MB, free: 360 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.001516/0.001516, allocations: 210.2 kB / 62.22 MB, free: 2.168 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.459/1.459, allocations: 230.6 MB / 302.5 MB, free: 6.844 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.1546/0.1546, allocations: 23.71 MB / 389.1 MB, free: 9.18 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.003311/0.003311, allocations: 130 kB / 0.5252 GB, free: 42.43 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1225, allocations: 65.97 MB / 0.5896 GB, free: 9.836 MB / 414.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.00374/0.1262, allocations: 2.352 MB / 0.5919 GB, free: 7.469 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003854/0.1266, allocations: 143.5 kB / 0.592 GB, free: 7.328 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.1267, allocations: 0 / 0.592 GB, free: 7.328 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001431/0.1269, allocations: 31.72 kB / 0.5921 GB, free: 7.297 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001384/0.127, allocations: 63.48 kB / 0.5921 GB, free: 7.234 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001733/0.1272, allocations: 31.95 kB / 0.5922 GB, free: 7.203 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000261/0.1274, allocations: 171.1 kB / 0.5923 GB, free: 7.035 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.1276, allocations: 50.42 kB / 0.5924 GB, free: 6.988 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.946e-05/0.1277, allocations: 55.8 kB / 0.5924 GB, free: 6.934 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.1278, allocations: 75.62 kB / 0.5925 GB, free: 6.859 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.1279, allocations: 12 kB / 0.5925 GB, free: 6.848 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.692e-05/0.1279, allocations: 12 kB / 0.5925 GB, free: 6.836 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.381e-05/0.1279, allocations: 31.86 kB / 0.5925 GB, free: 6.805 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.069e-05/0.128, allocations: 71.67 kB / 0.5926 GB, free: 6.734 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.1282, allocations: 163.2 kB / 0.5928 GB, free: 6.574 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1282, allocations: 0 / 0.5928 GB, free: 6.574 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1282, allocations: 0 / 0.5928 GB, free: 6.574 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1282, allocations: 0 / 0.5928 GB, free: 6.574 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.0005722/0.1288, allocations: 365.7 kB / 0.5931 GB, free: 6.184 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.1289, allocations: 8.031 kB / 0.5931 GB, free: 6.176 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.613e-05/0.1289, allocations: 54.67 kB / 0.5932 GB, free: 6.113 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.726e-05/0.129, allocations: 20.8 kB / 0.5932 GB, free: 6.094 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.1292, allocations: 150.3 kB / 0.5933 GB, free: 5.922 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.1292, allocations: 8.375 kB / 0.5934 GB, free: 5.914 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.141e-05/0.1292, allocations: 12.38 kB / 0.5934 GB, free: 5.902 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/0.1295, allocations: 118.1 kB / 0.5935 GB, free: 5.781 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.1295, allocations: 3.938 kB / 0.5935 GB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.1295, allocations: 8 kB / 0.5935 GB, free: 5.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.1295, allocations: 4 kB / 0.5935 GB, free: 5.766 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.1296, allocations: 72.47 kB / 0.5936 GB, free: 5.695 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006433/0.1303, allocations: 419.4 kB / 0.594 GB, free: 5.242 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.1305, allocations: 102.6 kB / 0.5941 GB, free: 5.133 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.536e-05/0.1306, allocations: 44.89 kB / 0.5941 GB, free: 5.086 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.1306, allocations: 4 kB / 0.5941 GB, free: 5.082 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.1306, allocations: 38.5 kB / 0.5941 GB, free: 5.035 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.744e-06/0.1306, allocations: 0 / 0.5941 GB, free: 5.035 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002889/0.1309, allocations: 133.5 kB / 0.5943 GB, free: 4.898 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.1309, allocations: 51.41 kB / 0.5943 GB, free: 4.836 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.1311, allocations: 158.9 kB / 0.5945 GB, free: 4.672 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.1311, allocations: 25.7 kB / 0.5945 GB, free: 4.641 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.169e-05/0.1312, allocations: 127.9 kB / 0.5946 GB, free: 4.512 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.032e-05/0.1312, allocations: 47.64 kB / 0.5947 GB, free: 4.465 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-05/0.1313, allocations: 33.7 kB / 0.5947 GB, free: 4.426 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1314, allocations: 322.8 kB / 0.595 GB, free: 4.102 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.171e-05/0.1315, allocations: 31.98 kB / 0.595 GB, free: 4.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.621e-05/0.1315, allocations: 35.92 kB / 0.5951 GB, free: 4.035 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000395/0.1319, allocations: 155.5 kB / 0.5952 GB, free: 3.883 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1319, allocations: 0 / 0.5952 GB, free: 3.883 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002113/0.1321, allocations: 141.4 kB / 0.5954 GB, free: 3.738 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.1321, allocations: 8 kB / 0.5954 GB, free: 3.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.1321, allocations: 3.984 kB / 0.5954 GB, free: 3.727 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.1322, allocations: 7.984 kB / 0.5954 GB, free: 3.719 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.1323, allocations: 20 kB / 0.5954 GB, free: 3.699 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1323, allocations: 0 / 0.5954 GB, free: 3.699 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.024e-05/0.1324, allocations: 15.89 kB / 0.5954 GB, free: 3.684 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.1324, allocations: 11.94 kB / 0.5954 GB, free: 3.672 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.0001919/0.1326, allocations: 140.9 kB / 0.5955 GB, free: 3.527 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.353e-05/0.1326, allocations: 11.89 kB / 0.5956 GB, free: 3.516 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.381e-05/0.1327, allocations: 20.7 kB / 0.5956 GB, free: 3.492 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.1327, allocations: 4 kB / 0.5956 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1327, allocations: 0 / 0.5956 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1327, allocations: 0 / 0.5956 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.1329, allocations: 200.6 kB / 0.5958 GB, free: 3.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.1329, allocations: 0 / 0.5958 GB, free: 3.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.1331, allocations: 27.92 kB / 0.5958 GB, free: 3.223 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1331, allocations: 4 kB / 0.5958 GB, free: 3.219 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.1331, allocations: 4 kB / 0.5958 GB, free: 3.215 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1331, allocations: 3.938 kB / 0.5958 GB, free: 3.211 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1331, allocations: 0 / 0.5958 GB, free: 3.211 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003147/0.1334, allocations: 239.4 kB / 0.596 GB, free: 2.961 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.1334, allocations: 23.8 kB / 0.5961 GB, free: 2.938 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.1334, allocations: 8 kB / 0.5961 GB, free: 2.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.411e-05/0.1335, allocations: 0 / 0.5961 GB, free: 2.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.5e-05/0.1335, allocations: 12.05 kB / 0.5961 GB, free: 2.918 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.1336, allocations: 4 kB / 0.5961 GB, free: 2.914 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.632e-05/0.1336, allocations: 114.9 kB / 0.5962 GB, free: 2.805 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1336, allocations: 0 / 0.5962 GB, free: 2.805 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002466/0.1339, allocations: 39.95 kB / 0.5962 GB, free: 2.766 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.0005672/0.1345, allocations: 0.7716 MB / 0.597 GB, free: 1.969 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001856/0.1346, allocations: 87.89 kB / 0.5971 GB, free: 1.883 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1346, allocations: 4 kB / 0.5971 GB, free: 1.879 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.878e-05/0.1347, allocations: 35.98 kB / 0.5971 GB, free: 1.844 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.135, allocations: 30.23 kB / 0.5971 GB, free: 1.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.1369, allocations: 1.775 MB / 0.5989 GB, free: 15.96 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.1372, allocations: 0.7124 MB / 0.5996 GB, free: 15.22 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.01e-05/0.1373, allocations: 8.656 kB / 0.5996 GB, free: 15.21 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.152e-05/0.1373, allocations: 35.42 kB / 0.5996 GB, free: 15.18 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1373, allocations: 0 / 0.5996 GB, free: 15.18 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03006/0.1674, allocations: 3.127 MB / 0.6027 GB, free: 12.18 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.21, allocations: 9.312 kB / 0.6027 GB, free: 12.18 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Population_Examples_PredatorPrey_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Population_Examples_PredatorPrey.fmu > Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.29222639487125] Failed to read output from testmodel.py, exit status != 0: 11.308439719025046 11.325885477 11.19436407 Calling exit ...