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.1824/0.1824, allocations: 23.87 MB / 42.7 MB, free: 2.637 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.001362/0.001362, allocations: 104.5 kB / 52.39 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.001775/0.001775, 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.667/1.667, allocations: 230.6 MB / 302.5 MB, free: 6.836 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.1868/0.1868, allocations: 23.71 MB / 389.1 MB, free: 9.191 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: translateModel(Physiolibrary.Population.Examples.PredatorPrey,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey") translateModel(Physiolibrary.Population.Examples.PredatorPrey,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey") [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.003557/0.003557, allocations: 124.3 kB / 0.5257 GB, free: 42.22 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1663, allocations: 65.97 MB / 0.5901 GB, free: 9.461 MB / 414.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.004843/0.1712, allocations: 2.355 MB / 0.5924 GB, free: 7.098 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00044/0.1716, allocations: 143.5 kB / 0.5925 GB, free: 6.957 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.1718, allocations: 4 kB / 0.5925 GB, free: 6.953 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001832/0.1719, allocations: 27.72 kB / 0.5925 GB, free: 6.926 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.1721, allocations: 59.5 kB / 0.5926 GB, free: 6.867 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002115/0.1723, allocations: 31.95 kB / 0.5926 GB, free: 6.836 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002893/0.1726, allocations: 175.1 kB / 0.5928 GB, free: 6.664 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002113/0.1728, allocations: 46.16 kB / 0.5928 GB, free: 6.621 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.614e-05/0.1729, allocations: 55.8 kB / 0.5929 GB, free: 6.566 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.173, allocations: 75.69 kB / 0.593 GB, free: 6.492 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.1731, allocations: 8 kB / 0.593 GB, free: 6.484 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.949e-05/0.1731, allocations: 16 kB / 0.593 GB, free: 6.469 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.795e-05/0.1731, allocations: 31.8 kB / 0.593 GB, free: 6.438 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.1732, allocations: 75.66 kB / 0.5931 GB, free: 6.363 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.1735, allocations: 159.2 kB / 0.5933 GB, free: 6.207 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.1735, allocations: 4 kB / 0.5933 GB, free: 6.203 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1735, allocations: 0 / 0.5933 GB, free: 6.203 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1735, allocations: 0 / 0.5933 GB, free: 6.203 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.0006298/0.1741, allocations: 357.7 kB / 0.5936 GB, free: 5.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.1742, allocations: 15.97 kB / 0.5936 GB, free: 5.805 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.312e-05/0.1742, allocations: 20.8 kB / 0.5936 GB, free: 5.785 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.1745, allocations: 158.2 kB / 0.5938 GB, free: 5.605 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.1745, allocations: 12.38 kB / 0.5938 GB, free: 5.594 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.344e-05/0.1746, allocations: 12.38 kB / 0.5938 GB, free: 5.582 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002474/0.1748, allocations: 118.1 kB / 0.5939 GB, free: 5.461 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.1748, allocations: 192 / 0.5939 GB, free: 5.461 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.1748, allocations: 7.938 kB / 0.5939 GB, free: 5.453 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.1749, allocations: 4 kB / 0.5939 GB, free: 5.449 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.175, allocations: 72.47 kB / 0.594 GB, free: 5.379 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000712/0.1757, allocations: 415.5 kB / 0.5944 GB, free: 4.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.1759, allocations: 106.5 kB / 0.5945 GB, free: 4.816 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.752e-05/0.176, allocations: 48.88 kB / 0.5945 GB, free: 4.766 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.176, allocations: 4 kB / 0.5945 GB, free: 4.762 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.1761, allocations: 38.5 kB / 0.5946 GB, free: 4.715 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.032e-06/0.1761, allocations: 0 / 0.5946 GB, free: 4.715 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003153/0.1764, allocations: 133.5 kB / 0.5947 GB, free: 4.578 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.1764, allocations: 55.41 kB / 0.5948 GB, free: 4.512 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.1766, allocations: 151.4 kB / 0.5949 GB, free: 4.355 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.1766, allocations: 29.7 kB / 0.5949 GB, free: 4.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.1767, allocations: 123.9 kB / 0.5951 GB, free: 4.195 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.196e-05/0.1768, allocations: 51.64 kB / 0.5951 GB, free: 4.145 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.475e-05/0.1768, allocations: 25.72 kB / 0.5951 GB, free: 4.113 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.177, allocations: 322.8 kB / 0.5954 GB, free: 3.789 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.775e-05/0.1771, allocations: 35.92 kB / 0.5955 GB, free: 3.754 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.246e-05/0.1772, allocations: 35.92 kB / 0.5955 GB, free: 3.719 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004388/0.1776, allocations: 155.1 kB / 0.5957 GB, free: 3.566 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1776, allocations: 0 / 0.5957 GB, free: 3.566 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002174/0.1778, allocations: 133.5 kB / 0.5958 GB, free: 3.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.1778, allocations: 15.92 kB / 0.5958 GB, free: 3.414 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.1778, allocations: 4 kB / 0.5958 GB, free: 3.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.1779, allocations: 0 / 0.5958 GB, free: 3.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.178, allocations: 23.94 kB / 0.5958 GB, free: 3.387 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.1781, allocations: 7.984 kB / 0.5958 GB, free: 3.379 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.301e-05/0.1781, allocations: 11.89 kB / 0.5958 GB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.1781, allocations: 11.98 kB / 0.5959 GB, free: 3.355 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.0002293/0.1784, allocations: 128.8 kB / 0.596 GB, free: 3.223 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.735e-05/0.1784, allocations: 23.77 kB / 0.596 GB, free: 3.199 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.301e-05/0.1785, allocations: 16.7 kB / 0.596 GB, free: 3.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1785, allocations: 4 kB / 0.596 GB, free: 3.176 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1785, allocations: 0 / 0.596 GB, free: 3.176 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.1785, allocations: 0 / 0.596 GB, free: 3.176 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003176/0.1788, allocations: 204.6 kB / 0.5962 GB, free: 2.934 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1788, allocations: 0 / 0.5962 GB, free: 2.934 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.1789, allocations: 23.98 kB / 0.5962 GB, free: 2.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.1789, allocations: 7.938 kB / 0.5962 GB, free: 2.902 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.179, allocations: 4 kB / 0.5962 GB, free: 2.898 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.179, allocations: 0 / 0.5962 GB, free: 2.898 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.179, allocations: 3.938 kB / 0.5963 GB, free: 2.895 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003265/0.1793, allocations: 251.8 kB / 0.5965 GB, free: 2.633 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.265e-05/0.1793, allocations: 19.78 kB / 0.5965 GB, free: 2.613 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.1793, allocations: 4 kB / 0.5965 GB, free: 2.609 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.593e-05/0.1794, allocations: 0 / 0.5965 GB, free: 2.609 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.52e-05/0.1794, allocations: 12.05 kB / 0.5965 GB, free: 2.598 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.1794, allocations: 4 kB / 0.5965 GB, free: 2.594 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.339e-05/0.1795, allocations: 115.7 kB / 0.5966 GB, free: 2.484 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1795, allocations: 0 / 0.5966 GB, free: 2.484 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002602/0.1798, allocations: 39.95 kB / 0.5967 GB, free: 2.445 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.0001232/0.1799, allocations: 95.25 kB / 0.5968 GB, free: 2.344 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002109/0.1801, allocations: 79.91 kB / 0.5968 GB, free: 2.266 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1801, allocations: 0 / 0.5968 GB, free: 2.266 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.778e-05/0.1802, allocations: 43.92 kB / 0.5969 GB, free: 2.223 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.1805, allocations: 20.25 kB / 0.5969 GB, free: 2.203 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008013/0.1813, allocations: 374 kB / 0.5973 GB, free: 1.809 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/0.1817, allocations: 0.7162 MB / 0.598 GB, free: 1.066 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.488e-05/0.1818, allocations: 16.42 kB / 0.598 GB, free: 1.047 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.226e-05/0.1818, allocations: 15.44 kB / 0.598 GB, free: 1.035 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1818, allocations: 0 / 0.598 GB, free: 1.035 MB / 414.1 MB Notification: Performance of Templates: time 0.005115/0.1869, allocations: 1.325 MB / 0.5993 GB, free: 15.72 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.makefile [Timeout 660] (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 & ./Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.849931871052831] Failed to read output from testmodel.py, exit status != 0: 0.19562164996750653 0.21190445700000002 0.035111426 Calling exit ...