Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001858/0.001858, allocations: 190.1 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002569/0.002569, allocations: 280.5 kB / 306.5 MB, free: 8.344 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.171/1.171, allocations: 180.9 MB / 0.53 GB, free: 14.47 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0027/0.0027, allocations: 105.7 kB / 0.7308 GB, free: 38.91 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1628, allocations: 94.2 MB / 0.8228 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002482/0.1653, allocations: 1.423 MB / 0.8242 GB, free: 416 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004375/0.1657, allocations: 207.4 kB / 0.8244 GB, free: 208 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.704e-05/0.1657, allocations: 0 / 0.8244 GB, free: 208 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.65e-05/0.1658, allocations: 3.938 kB / 0.8244 GB, free: 204 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.926e-05/0.1658, allocations: 3.984 kB / 0.8244 GB, free: 200 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001918/0.166, allocations: 23.86 kB / 0.8244 GB, free: 176 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.948e-05/0.1661, allocations: 27.92 kB / 0.8245 GB, free: 148 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.607e-05/0.1661, allocations: 7.938 kB / 0.8245 GB, free: 140 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.027e-05/0.1662, allocations: 15.97 kB / 0.8245 GB, free: 124 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.499e-05/0.1662, allocations: 11.94 kB / 0.8245 GB, free: 112 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.1662, allocations: 0 / 0.8245 GB, free: 112 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.49e-05/0.1663, allocations: 27.97 kB / 0.8245 GB, free: 84 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.013e-05/0.1663, allocations: 0 / 0.8245 GB, free: 84 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.579e-05/0.1663, allocations: 15.94 kB / 0.8245 GB, free: 68 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.1665, allocations: 39.83 kB / 0.8246 GB, free: 28 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1665, allocations: 0 / 0.8246 GB, free: 28 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1665, allocations: 4 kB / 0.8246 GB, free: 24 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.1665, allocations: 4 kB / 0.8246 GB, free: 20 kB / 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.0004377/0.1669, allocations: 262.3 kB / 0.8248 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.1669, allocations: 12.62 kB / 0.8248 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.167, allocations: 12.88 kB / 0.8249 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.57e-05/0.1671, allocations: 102.5 kB / 0.825 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.1672, allocations: 384 / 0.825 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.1672, allocations: 4.375 kB / 0.825 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.1673, allocations: 54.17 kB / 0.825 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1673, allocations: 4.188 kB / 0.825 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.1674, allocations: 7.922 kB / 0.825 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.1674, allocations: 0 / 0.825 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.1675, allocations: 31.95 kB / 0.8251 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003221/0.1679, allocations: 220 kB / 0.8253 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.168, allocations: 46.44 kB / 0.8253 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.204e-05/0.1681, allocations: 24.89 kB / 0.8253 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.1681, allocations: 0 / 0.8253 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.1681, allocations: 30.56 kB / 0.8254 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.1681, allocations: 0 / 0.8254 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003529/0.1685, allocations: 85.64 kB / 0.8254 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.1685, allocations: 55.34 kB / 0.8255 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.946e-05/0.1686, allocations: 97.86 kB / 0.8256 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.1686, allocations: 29.7 kB / 0.8256 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.411e-05/0.1686, allocations: 88.08 kB / 0.8257 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.261e-05/0.1687, allocations: 0 / 0.8257 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.1687, allocations: 17.66 kB / 0.8257 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.1688, allocations: 319 kB / 0.826 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.128e-05/0.1689, allocations: 11.98 kB / 0.826 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.558e-05/0.169, allocations: 29.47 kB / 0.8261 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.1691, allocations: 32.83 kB / 0.8261 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.1691, allocations: 4 kB / 0.8261 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001923/0.1693, allocations: 73.61 kB / 0.8262 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.1693, allocations: 11.94 kB / 0.8262 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1693, allocations: 0 / 0.8262 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.1694, allocations: 0 / 0.8262 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.219e-05/0.1694, allocations: 7.984 kB / 0.8262 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.1694, allocations: 3.938 kB / 0.8262 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.464e-05/0.1695, allocations: 4 kB / 0.8262 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.1695, allocations: 4 kB / 0.8262 GB, free: 14.18 MB / 0.5762 GB 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 (2): * Single equations (assignments): 2 * 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 7.764e-05/0.1696, allocations: 122.5 kB / 0.8263 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.217e-05/0.1696, allocations: 0 / 0.8263 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002414/0.1698, allocations: 72.97 kB / 0.8264 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1698, allocations: 0 / 0.8264 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1698, allocations: 0 / 0.8264 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1698, allocations: 7.984 kB / 0.8264 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.17, allocations: 132.7 kB / 0.8265 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.17, allocations: 0 / 0.8265 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.977e-05/0.1701, allocations: 15.98 kB / 0.8265 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.1701, allocations: 0 / 0.8265 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.1701, allocations: 0 / 0.8265 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.1701, allocations: 7.922 kB / 0.8265 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1701, allocations: 0 / 0.8265 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.1703, allocations: 175.4 kB / 0.8267 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.681e-06/0.1703, allocations: 0 / 0.8267 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.1704, allocations: 3.984 kB / 0.8267 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.128e-05/0.1704, allocations: 8 kB / 0.8267 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.084e-05/0.1705, allocations: 12.2 kB / 0.8267 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.1705, allocations: 0 / 0.8267 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.141e-05/0.1705, allocations: 83.27 kB / 0.8268 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1705, allocations: 0 / 0.8268 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002117/0.1707, allocations: 4 kB / 0.8268 GB, free: 13.47 MB / 0.5762 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 (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 Backend phase and start with SimCode phase: time 9.812e-05/0.1708, allocations: 103.2 kB / 0.8269 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002196/0.171, allocations: 39.89 kB / 0.827 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.614e-06/0.1711, allocations: 0 / 0.827 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.682e-05/0.1711, allocations: 19.98 kB / 0.827 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.1714, allocations: 9.062 kB / 0.827 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002846/0.1717, allocations: 127 kB / 0.8271 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.1719, allocations: 0.6729 MB / 0.8278 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.742e-05/0.172, allocations: 7.984 kB / 0.8278 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.861e-05/0.172, allocations: 7.438 kB / 0.8278 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.172, allocations: 0 / 0.8278 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of Templates: time 0.002704/0.1747, allocations: 0.5269 MB / 0.8283 GB, free: 11.91 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.664737505838275] Failed to read output from testmodel.py, exit status != 0: 0.18162481300532818 0.19617057599999996 0.026796259000000003 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f65391f57b0>