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.2624/0.2624, allocations: 23.87 MB / 43.49 MB, free: 2.668 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.001257/0.001257, allocations: 105.6 kB / 53.17 MB, free: 372 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.001577/0.001577, allocations: 210.3 kB / 63 MB, free: 2.176 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.581/1.581, allocations: 230.6 MB / 303.3 MB, free: 6.863 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.1785/0.1785, allocations: 23.72 MB / 389.9 MB, free: 9.188 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.003748/0.003748, allocations: 120.2 kB / 0.5259 GB, free: 42.61 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1678, allocations: 65.97 MB / 0.5904 GB, free: 9.977 MB / 414.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.003813/0.1716, allocations: 2.349 MB / 0.5927 GB, free: 7.613 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003418/0.172, allocations: 151.5 kB / 0.5928 GB, free: 7.465 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.903e-05/0.1721, allocations: 0 / 0.5928 GB, free: 7.465 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001474/0.1722, allocations: 27.73 kB / 0.5928 GB, free: 7.438 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.1723, allocations: 63.47 kB / 0.5929 GB, free: 7.375 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.1725, allocations: 31.91 kB / 0.5929 GB, free: 7.344 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002451/0.1727, allocations: 175.1 kB / 0.5931 GB, free: 7.172 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.1729, allocations: 46.44 kB / 0.5931 GB, free: 7.129 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.407e-05/0.173, allocations: 59.78 kB / 0.5932 GB, free: 7.07 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.1731, allocations: 75.64 kB / 0.5933 GB, free: 6.996 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.543e-05/0.1732, allocations: 12 kB / 0.5933 GB, free: 6.984 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.597e-05/0.1732, allocations: 12 kB / 0.5933 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.65e-05/0.1733, allocations: 27.86 kB / 0.5933 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.485e-05/0.1733, allocations: 71.67 kB / 0.5934 GB, free: 6.875 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.1736, allocations: 163.2 kB / 0.5935 GB, free: 6.715 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1736, allocations: 0 / 0.5935 GB, free: 6.715 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1736, allocations: 0 / 0.5935 GB, free: 6.715 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.1736, allocations: 0 / 0.5935 GB, free: 6.715 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.0005954/0.1742, allocations: 369.7 kB / 0.5939 GB, free: 6.32 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.1742, allocations: 8.031 kB / 0.5939 GB, free: 6.312 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.274e-05/0.1743, allocations: 8.125 kB / 0.5939 GB, free: 6.305 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.755e-05/0.1743, allocations: 46.73 kB / 0.594 GB, free: 6.25 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.55e-05/0.1744, allocations: 20.8 kB / 0.594 GB, free: 6.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.1746, allocations: 154.3 kB / 0.5941 GB, free: 6.055 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.1747, allocations: 12.31 kB / 0.5941 GB, free: 6.043 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/0.1747, allocations: 16.38 kB / 0.5941 GB, free: 6.027 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.1749, allocations: 118 kB / 0.5943 GB, free: 5.906 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.175, allocations: 0 / 0.5943 GB, free: 5.906 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.175, allocations: 8 kB / 0.5943 GB, free: 5.898 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.175, allocations: 0 / 0.5943 GB, free: 5.898 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.1751, allocations: 72.47 kB / 0.5943 GB, free: 5.828 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008532/0.176, allocations: 415.5 kB / 0.5947 GB, free: 5.379 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.1762, allocations: 106.6 kB / 0.5948 GB, free: 5.266 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.1763, allocations: 44.84 kB / 0.5949 GB, free: 5.219 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.1763, allocations: 3.938 kB / 0.5949 GB, free: 5.215 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.1763, allocations: 30.56 kB / 0.5949 GB, free: 5.176 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 3.156e-06/0.1764, allocations: 7.984 kB / 0.5949 GB, free: 5.168 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003048/0.1767, allocations: 133.5 kB / 0.595 GB, free: 5.031 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.1767, allocations: 59.34 kB / 0.5951 GB, free: 4.961 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.1769, allocations: 156.5 kB / 0.5952 GB, free: 4.801 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.1769, allocations: 25.7 kB / 0.5953 GB, free: 4.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.652e-05/0.177, allocations: 123.9 kB / 0.5954 GB, free: 4.645 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.755e-05/0.177, allocations: 43.64 kB / 0.5954 GB, free: 4.602 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.852e-05/0.1771, allocations: 37.64 kB / 0.5955 GB, free: 4.559 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.1772, allocations: 322.8 kB / 0.5958 GB, free: 4.234 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.569e-05/0.1773, allocations: 31.98 kB / 0.5958 GB, free: 4.203 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.102e-05/0.1774, allocations: 38.91 kB / 0.5958 GB, free: 4.168 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004131/0.1778, allocations: 152.8 kB / 0.596 GB, free: 4.016 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1778, allocations: 0 / 0.596 GB, free: 4.016 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002165/0.178, allocations: 147.7 kB / 0.5961 GB, free: 3.867 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.178, allocations: 4 kB / 0.5961 GB, free: 3.863 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.178, allocations: 0 / 0.5961 GB, free: 3.863 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.178, allocations: 0 / 0.5961 GB, free: 3.863 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.1782, allocations: 27.98 kB / 0.5962 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.1782, allocations: 0 / 0.5962 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.482e-05/0.1783, allocations: 15.83 kB / 0.5962 GB, free: 3.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.1783, allocations: 16 kB / 0.5962 GB, free: 3.805 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.0001883/0.1785, allocations: 133 kB / 0.5963 GB, free: 3.668 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.501e-05/0.1785, allocations: 11.89 kB / 0.5963 GB, free: 3.656 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.63e-05/0.1785, allocations: 16.72 kB / 0.5963 GB, free: 3.637 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1785, allocations: 0 / 0.5963 GB, free: 3.637 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.1785, allocations: 4 kB / 0.5963 GB, free: 3.633 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.1786, allocations: 7.984 kB / 0.5964 GB, free: 3.625 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002764/0.1788, allocations: 204.6 kB / 0.5966 GB, free: 3.383 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1788, allocations: 3.938 kB / 0.5966 GB, free: 3.379 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.1789, allocations: 16 kB / 0.5966 GB, free: 3.363 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1789, allocations: 3.984 kB / 0.5966 GB, free: 3.359 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.179, allocations: 8 kB / 0.5966 GB, free: 3.352 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.179, allocations: 0 / 0.5966 GB, free: 3.352 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.179, allocations: 0 / 0.5966 GB, free: 3.352 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003325/0.1793, allocations: 243.4 kB / 0.5968 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.218e-05/0.1793, allocations: 19.81 kB / 0.5968 GB, free: 3.078 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.1794, allocations: 11.98 kB / 0.5968 GB, free: 3.066 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.647e-05/0.1794, allocations: 0 / 0.5968 GB, free: 3.066 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.103e-05/0.1795, allocations: 3.984 kB / 0.5968 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.1795, allocations: 8 kB / 0.5969 GB, free: 3.055 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.732e-05/0.1796, allocations: 110.9 kB / 0.597 GB, free: 2.949 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1796, allocations: 0 / 0.597 GB, free: 2.949 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.1798, allocations: 39.95 kB / 0.597 GB, free: 2.91 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.0006284/0.1805, allocations: 0.7749 MB / 0.5978 GB, free: 2.109 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001908/0.1806, allocations: 87.84 kB / 0.5978 GB, free: 2.023 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1806, allocations: 0 / 0.5978 GB, free: 2.023 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.74e-05/0.1807, allocations: 40.64 kB / 0.5979 GB, free: 1.984 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.181, allocations: 28.27 kB / 0.5979 GB, free: 1.957 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/0.1832, allocations: 1.785 MB / 0.5996 GB, free: 96 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004989/0.1837, allocations: 0.7124 MB / 0.6003 GB, free: 15.36 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.084e-05/0.1838, allocations: 8.641 kB / 0.6004 GB, free: 15.35 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.065e-05/0.1839, allocations: 43.42 kB / 0.6004 GB, free: 15.3 MB / 430.1 MB Notification: Performance of SimCode: time 7.82e-07/0.1839, allocations: 0 / 0.6004 GB, free: 15.3 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02476/0.2086, allocations: 3.157 MB / 0.6035 GB, free: 12.29 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.73, allocations: 13.47 kB / 0.6035 GB, free: 12.29 MB / 430.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 & /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: 15.331229708041064] Failed to read output from testmodel.py, exit status != 0: 11.892603618907742 11.920471167 11.741481686 Calling exit ...