Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json 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.001283/0.001283, allocations: 96.42 kB / 20.45 MB, free: 1.262 MB / 14.72 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.001442/0.001442, allocations: 212.4 kB / 23.74 MB, free: 4.445 MB / 14.72 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.447/1.447, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9556/0.9556, allocations: 149.9 MB / 463.8 MB, free: 10.33 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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) Running command: translateModel(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: IBPSA 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: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 66.94 kB / 0.6423 GB, free: 9.672 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1727, allocations: 89.17 MB / 0.7294 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005822/0.1785, allocations: 3.915 MB / 0.7332 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002209/0.1787, allocations: 143.5 kB / 0.7333 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.486e-05/0.1788, allocations: 0 / 0.7333 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.957e-05/0.1789, allocations: 0 / 0.7333 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.886e-05/0.1789, allocations: 11.92 kB / 0.7333 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003712/0.1793, allocations: 83.69 kB / 0.7334 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.009e-05/0.1794, allocations: 35.91 kB / 0.7334 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.103e-05/0.1795, allocations: 7.984 kB / 0.7334 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.151e-05/0.1795, allocations: 15.88 kB / 0.7335 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.634e-05/0.1796, allocations: 11.97 kB / 0.7335 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.1796, allocations: 4 kB / 0.7335 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001997/0.1798, allocations: 55.8 kB / 0.7335 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.78e-05/0.1798, allocations: 4 kB / 0.7335 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.845e-05/0.1799, allocations: 11.94 kB / 0.7335 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.18, allocations: 59.86 kB / 0.7336 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.18, allocations: 0 / 0.7336 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.843e-06/0.18, allocations: 4 kB / 0.7336 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.18, allocations: 0 / 0.7336 GB, free: 12.19 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003939/0.1804, allocations: 262.2 kB / 0.7339 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.1805, allocations: 12.03 kB / 0.7339 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/0.1805, allocations: 0.9375 kB / 0.7339 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.1806, allocations: 110.5 kB / 0.734 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.09e-05/0.1807, allocations: 55.97 kB / 0.734 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.1807, allocations: 384 / 0.734 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.1808, allocations: 75.31 kB / 0.7341 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1809, allocations: 4 kB / 0.7341 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.1809, allocations: 4 kB / 0.7341 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.1809, allocations: 0 / 0.7341 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.063e-05/0.1809, allocations: 15.97 kB / 0.7341 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004002/0.1813, allocations: 204.6 kB / 0.7343 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.877e-05/0.1814, allocations: 26.52 kB / 0.7343 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.532e-05/0.1814, allocations: 4.859 kB / 0.7343 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.265e-05/0.1815, allocations: 8.062 kB / 0.7344 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.1815, allocations: 34.55 kB / 0.7344 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 9.91e-07/0.1815, allocations: 0 / 0.7344 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001485/0.1816, allocations: 41.66 kB / 0.7344 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.1817, allocations: 55.34 kB / 0.7345 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.963e-05/0.1818, allocations: 109.7 kB / 0.7346 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.1818, allocations: 25.7 kB / 0.7346 GB, free: 11 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.41e-05/0.1818, allocations: 92.09 kB / 0.7347 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.019e-06/0.1819, allocations: 0 / 0.7347 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.1819, allocations: 13.72 kB / 0.7347 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.182, allocations: 318.8 kB / 0.735 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.764e-05/0.182, allocations: 8 kB / 0.735 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.613e-05/0.1821, allocations: 13.72 kB / 0.735 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.942e-05/0.1821, allocations: 29.83 kB / 0.7351 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1821, allocations: 0 / 0.7351 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.585e-05/0.1822, allocations: 49.59 kB / 0.7351 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.1822, allocations: 6.031 kB / 0.7351 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1822, allocations: 4 kB / 0.7351 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1822, allocations: 3.984 kB / 0.7351 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.156e-05/0.1823, allocations: 4 kB / 0.7351 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1823, allocations: 0 / 0.7351 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.921e-05/0.1823, allocations: 12 kB / 0.7351 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.1823, allocations: 4 kB / 0.7351 GB, free: 10.41 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 8.614e-05/0.1824, allocations: 117.7 kB / 0.7353 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.382e-05/0.1824, allocations: 0 / 0.7353 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001229/0.1825, allocations: 121 kB / 0.7354 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.423e-05/0.1826, allocations: 180.2 kB / 0.7355 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.284e-05/0.1827, allocations: 184.3 kB / 0.7357 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.547e-05/0.1828, allocations: 176.3 kB / 0.7359 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.183, allocations: 364.7 kB / 0.7362 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.726e-05/0.1831, allocations: 101 kB / 0.7363 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.376e-05/0.1831, allocations: 108.9 kB / 0.7364 GB, free: 9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.096e-05/0.1832, allocations: 184.2 kB / 0.7366 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.868e-05/0.1833, allocations: 176.3 kB / 0.7368 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.807e-05/0.1833, allocations: 180.2 kB / 0.737 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.297e-05/0.1834, allocations: 184.3 kB / 0.7371 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.1836, allocations: 307.7 kB / 0.7374 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.543e-05/0.1836, allocations: 112.9 kB / 0.7375 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.269e-05/0.1837, allocations: 180.2 kB / 0.7377 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.1839, allocations: 109 kB / 0.7378 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.412e-05/0.184, allocations: 180.2 kB / 0.738 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.439e-05/0.184, allocations: 113 kB / 0.7381 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.092e-05/0.1841, allocations: 87.22 kB / 0.7382 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5e-08/0.1841, allocations: 0 / 0.7382 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000253/0.1843, allocations: 19.92 kB / 0.7382 GB, free: 7.117 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0001957/0.1845, allocations: 186.5 kB / 0.7384 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.475e-05/0.1846, allocations: 11.94 kB / 0.7384 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.1846, allocations: 0 / 0.7384 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.1846, allocations: 0 / 0.7384 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004887/0.1851, allocations: 466.9 kB / 0.7388 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003003/0.1854, allocations: 208 kB / 0.739 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.307e-05/0.1855, allocations: 63.33 kB / 0.7391 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.879e-05/0.1855, allocations: 11.44 kB / 0.7391 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.1855, allocations: 0 / 0.7391 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of Templates: time 0.002475/0.188, allocations: 0.732 MB / 0.7398 GB, free: 5.395 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.196132604032755] Failed to read output from testmodel.py, exit status != 0: 0.19643218163400888 0.210595688 0.027494499000000002 Calling exit ...