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.1665/0.1665, allocations: 23.87 MB / 40.92 MB, free: 7.59 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.001816/0.001816, allocations: 99.42 kB / 50.27 MB, free: 10.33 MB / 46.55 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.002569/0.002569, allocations: 212.3 kB / 59.76 MB, free: 0.8281 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.605/1.605, allocations: 230.5 MB / 299.6 MB, free: 7.699 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.142/0.142, allocations: 23.7 MB / 385.9 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Population.Examples.PredatorPrey,fileNamePrefix="Physiolibrary_Physiolibrary_Population_Examples_PredatorPrey",fmuType="cs",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.003366/0.003366, allocations: 128.1 kB / 0.5203 GB, free: 42.82 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1531, allocations: 65.92 MB / 0.5847 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.003867/0.1569, allocations: 2.343 MB / 0.587 GB, free: 9.129 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003955/0.1573, allocations: 151.5 kB / 0.5871 GB, free: 8.98 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.1574, allocations: 0 / 0.5871 GB, free: 8.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001458/0.1576, allocations: 23.73 kB / 0.5871 GB, free: 8.957 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.1577, allocations: 55.48 kB / 0.5872 GB, free: 8.902 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001468/0.1578, allocations: 35.97 kB / 0.5872 GB, free: 8.867 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000243/0.1581, allocations: 183 kB / 0.5874 GB, free: 8.688 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.1582, allocations: 46.25 kB / 0.5874 GB, free: 8.645 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.262e-05/0.1583, allocations: 59.8 kB / 0.5875 GB, free: 8.586 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.1584, allocations: 63.7 kB / 0.5875 GB, free: 8.523 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.674e-05/0.1585, allocations: 12 kB / 0.5876 GB, free: 8.512 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.547e-05/0.1585, allocations: 12 kB / 0.5876 GB, free: 8.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.029e-05/0.1585, allocations: 39.78 kB / 0.5876 GB, free: 8.461 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.112e-05/0.1586, allocations: 71.67 kB / 0.5877 GB, free: 8.391 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.1589, allocations: 163.2 kB / 0.5878 GB, free: 8.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1589, allocations: 0 / 0.5878 GB, free: 8.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1589, allocations: 0 / 0.5878 GB, free: 8.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1589, allocations: 0 / 0.5878 GB, free: 8.23 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.0006365/0.1595, allocations: 445.4 kB / 0.5883 GB, free: 7.746 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.1596, allocations: 11.97 kB / 0.5883 GB, free: 7.734 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.208e-05/0.1596, allocations: 8.172 kB / 0.5883 GB, free: 7.727 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.263e-05/0.1596, allocations: 50.67 kB / 0.5883 GB, free: 7.668 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.06e-05/0.1597, allocations: 20.8 kB / 0.5883 GB, free: 7.648 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.16, allocations: 212.1 kB / 0.5885 GB, free: 7.402 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.16, allocations: 16.36 kB / 0.5886 GB, free: 7.387 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.16, allocations: 12.38 kB / 0.5886 GB, free: 7.375 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.1603, allocations: 117.9 kB / 0.5887 GB, free: 7.254 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.1603, allocations: 0 / 0.5887 GB, free: 7.254 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.1603, allocations: 4 kB / 0.5887 GB, free: 7.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1603, allocations: 4 kB / 0.5887 GB, free: 7.246 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.1605, allocations: 71.97 kB / 0.5888 GB, free: 7.176 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007226/0.1612, allocations: 448.4 kB / 0.5892 GB, free: 6.688 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.1614, allocations: 106.5 kB / 0.5893 GB, free: 6.574 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.04e-05/0.1615, allocations: 40.94 kB / 0.5893 GB, free: 6.531 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.1615, allocations: 3.938 kB / 0.5893 GB, free: 6.527 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.1616, allocations: 38.56 kB / 0.5894 GB, free: 6.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.1616, allocations: 0 / 0.5894 GB, free: 6.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003183/0.1619, allocations: 129.5 kB / 0.5895 GB, free: 6.348 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.1619, allocations: 55.41 kB / 0.5895 GB, free: 6.281 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.1621, allocations: 154.4 kB / 0.5897 GB, free: 6.121 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.1621, allocations: 29.7 kB / 0.5897 GB, free: 6.086 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.1622, allocations: 131.8 kB / 0.5898 GB, free: 5.953 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.562e-05/0.1623, allocations: 43.64 kB / 0.5899 GB, free: 5.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.855e-05/0.1623, allocations: 29.72 kB / 0.5899 GB, free: 5.875 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.1625, allocations: 322.8 kB / 0.5902 GB, free: 5.551 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.387e-05/0.1626, allocations: 43.92 kB / 0.5903 GB, free: 5.508 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.77e-05/0.1626, allocations: 27.98 kB / 0.5903 GB, free: 5.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004571/0.1631, allocations: 163.1 kB / 0.5904 GB, free: 5.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1631, allocations: 0 / 0.5904 GB, free: 5.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002284/0.1633, allocations: 137.5 kB / 0.5906 GB, free: 5.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1633, allocations: 4 kB / 0.5906 GB, free: 5.176 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.1634, allocations: 3.984 kB / 0.5906 GB, free: 5.172 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.1634, allocations: 4 kB / 0.5906 GB, free: 5.168 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.1635, allocations: 24 kB / 0.5906 GB, free: 5.145 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.1635, allocations: 4 kB / 0.5906 GB, free: 5.141 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.861e-05/0.1636, allocations: 15.88 kB / 0.5906 GB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.1636, allocations: 7.938 kB / 0.5906 GB, free: 5.117 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.0002205/0.1638, allocations: 133 kB / 0.5908 GB, free: 4.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.474e-05/0.1639, allocations: 19.88 kB / 0.5908 GB, free: 4.961 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.166e-05/0.1639, allocations: 16.7 kB / 0.5908 GB, free: 4.941 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.1639, allocations: 4 kB / 0.5908 GB, free: 4.938 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1639, allocations: 4 kB / 0.5908 GB, free: 4.934 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.164, allocations: 0 / 0.5908 GB, free: 4.934 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003163/0.1643, allocations: 233.5 kB / 0.591 GB, free: 4.656 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.1643, allocations: 3.938 kB / 0.591 GB, free: 4.652 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.1644, allocations: 19.98 kB / 0.5911 GB, free: 4.633 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.992e-06/0.1644, allocations: 4 kB / 0.5911 GB, free: 4.629 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/0.1644, allocations: 4 kB / 0.5911 GB, free: 4.625 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1644, allocations: 0 / 0.5911 GB, free: 4.625 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1644, allocations: 0 / 0.5911 GB, free: 4.625 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003864/0.1648, allocations: 247.3 kB / 0.5913 GB, free: 4.367 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.127e-05/0.1649, allocations: 96.92 kB / 0.5914 GB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.1649, allocations: 4 kB / 0.5914 GB, free: 4.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.147e-05/0.165, allocations: 8 kB / 0.5914 GB, free: 4.242 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.316e-05/0.165, allocations: 7.984 kB / 0.5914 GB, free: 4.234 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.93e-06/0.165, allocations: 0 / 0.5914 GB, free: 4.234 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.904e-05/0.1651, allocations: 117.9 kB / 0.5915 GB, free: 4.121 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1651, allocations: 0 / 0.5915 GB, free: 4.121 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002687/0.1654, allocations: 39.95 kB / 0.5916 GB, free: 4.082 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.0006887/0.1661, allocations: 0.771 MB / 0.5923 GB, free: 3.285 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002239/0.1663, allocations: 83.91 kB / 0.5924 GB, free: 3.203 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1663, allocations: 3.938 kB / 0.5924 GB, free: 3.199 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.461e-05/0.1664, allocations: 35.92 kB / 0.5924 GB, free: 3.164 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.1667, allocations: 28.94 kB / 0.5925 GB, free: 3.137 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/0.169, allocations: 1.778 MB / 0.5942 GB, free: 1.281 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004533/0.1694, allocations: 0.7124 MB / 0.5949 GB, free: 0.543 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.545e-05/0.1695, allocations: 8.656 kB / 0.5949 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.443e-05/0.1696, allocations: 39.42 kB / 0.5949 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of SimCode: time 1.072e-06/0.1696, allocations: 0 / 0.5949 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02057/0.1901, allocations: 2.982 MB / 0.5978 GB, free: 13.62 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.659/8.849, allocations: 8.656 kB / 0.5979 GB, free: 13.61 MB / 430.1 MB " [Timeout remaining time 651] (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: 12.298428089998197] Failed to read output from testmodel.py, exit status != 0: 8.974110838957131 9.003478417 8.839320285 Calling exit ...