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.001262/0.001262, allocations: 97.69 kB / 19.58 MB, free: 2.32 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.001296/0.001296, allocations: 188.5 kB / 22.85 MB, free: 5.652 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.386/1.386, allocations: 225.6 MB / 251.5 MB, free: 13.02 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.002611/0.002611, allocations: 288.2 kB / 307 MB, free: 8.348 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.237/1.237, allocations: 180.8 MB / 0.5304 GB, free: 14.57 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.002827/0.002827, allocations: 109.2 kB / 0.7311 GB, free: 38.76 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1618, allocations: 94.2 MB / 0.823 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002854/0.1646, allocations: 1.427 MB / 0.8244 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005368/0.1651, allocations: 211.4 kB / 0.8246 GB, free: 400 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.754e-05/0.1652, allocations: 0 / 0.8246 GB, free: 400 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.916e-05/0.1652, allocations: 3.938 kB / 0.8246 GB, free: 396 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.73e-05/0.1653, allocations: 0 / 0.8246 GB, free: 396 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.1655, allocations: 27.89 kB / 0.8247 GB, free: 368 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.018e-05/0.1656, allocations: 27.86 kB / 0.8247 GB, free: 340 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.791e-05/0.1657, allocations: 4 kB / 0.8247 GB, free: 336 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.024e-05/0.1657, allocations: 8 kB / 0.8247 GB, free: 328 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.593e-05/0.1658, allocations: 15.92 kB / 0.8247 GB, free: 312 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.1658, allocations: 4 kB / 0.8247 GB, free: 308 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.786e-05/0.1659, allocations: 31.97 kB / 0.8248 GB, free: 276 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.1659, allocations: 0 / 0.8248 GB, free: 276 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.922e-05/0.1659, allocations: 15.92 kB / 0.8248 GB, free: 260 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.1661, allocations: 31.84 kB / 0.8248 GB, free: 228 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/0.1661, allocations: 8 kB / 0.8248 GB, free: 220 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1661, allocations: 0 / 0.8248 GB, free: 220 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.1661, allocations: 0 / 0.8248 GB, free: 220 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.0004888/0.1666, allocations: 262.3 kB / 0.8251 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.1666, allocations: 12.62 kB / 0.8251 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.1667, allocations: 8.938 kB / 0.8251 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.1669, allocations: 110.5 kB / 0.8252 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.1669, allocations: 384 / 0.8252 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.1669, allocations: 8.359 kB / 0.8252 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.1671, allocations: 58.16 kB / 0.8253 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1671, allocations: 4.188 kB / 0.8253 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.1671, allocations: 3.938 kB / 0.8253 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1671, allocations: 0 / 0.8253 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/0.1673, allocations: 31.97 kB / 0.8253 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003771/0.1677, allocations: 220 kB / 0.8255 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.1678, allocations: 42.53 kB / 0.8255 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.414e-05/0.1679, allocations: 24.91 kB / 0.8256 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.1679, allocations: 3.938 kB / 0.8256 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.1679, allocations: 30.56 kB / 0.8256 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1679, allocations: 3.938 kB / 0.8256 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003677/0.1683, allocations: 77.64 kB / 0.8257 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.1684, allocations: 55.53 kB / 0.8257 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.223e-05/0.1685, allocations: 105.8 kB / 0.8258 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.1685, allocations: 25.7 kB / 0.8259 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.039e-05/0.1685, allocations: 88.08 kB / 0.8259 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.1685, allocations: 3.953 kB / 0.8259 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/0.1686, allocations: 13.72 kB / 0.826 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1687, allocations: 318.8 kB / 0.8263 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.211e-05/0.1688, allocations: 15.92 kB / 0.8263 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.953e-05/0.1689, allocations: 29.5 kB / 0.8263 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.1691, allocations: 36.81 kB / 0.8263 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.1691, allocations: 4 kB / 0.8263 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002036/0.1693, allocations: 65.56 kB / 0.8264 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.1693, allocations: 8.094 kB / 0.8264 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1693, allocations: 4 kB / 0.8264 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.1693, allocations: 3.984 kB / 0.8264 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.221e-05/0.1694, allocations: 4 kB / 0.8264 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1694, allocations: 0 / 0.8264 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.24e-05/0.1694, allocations: 7.984 kB / 0.8264 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.1695, allocations: 4 kB / 0.8264 GB, free: 14.37 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 8.976e-05/0.1695, allocations: 114.4 kB / 0.8265 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.1696, allocations: 4 kB / 0.8265 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002577/0.1698, allocations: 80.95 kB / 0.8266 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1698, allocations: 0 / 0.8266 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1698, allocations: 0 / 0.8266 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1698, allocations: 4 kB / 0.8266 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.17, allocations: 128.7 kB / 0.8268 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.17, allocations: 3.984 kB / 0.8268 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.706e-05/0.1701, allocations: 8 kB / 0.8268 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1701, allocations: 4 kB / 0.8268 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.1701, allocations: 0 / 0.8268 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1701, allocations: 0 / 0.8268 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.1701, allocations: 3.984 kB / 0.8268 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003477/0.1704, allocations: 171.6 kB / 0.8269 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.887e-06/0.1705, allocations: 3.953 kB / 0.8269 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.1705, allocations: 7.938 kB / 0.8269 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.601e-05/0.1706, allocations: 12.03 kB / 0.827 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.833e-05/0.1706, allocations: 7.984 kB / 0.827 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.1706, allocations: 4 kB / 0.827 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.754e-05/0.1707, allocations: 79.28 kB / 0.827 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1707, allocations: 0 / 0.827 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002207/0.1709, allocations: 4 kB / 0.827 GB, free: 13.66 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 0.0001177/0.171, allocations: 99.23 kB / 0.8271 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002218/0.1712, allocations: 39.91 kB / 0.8272 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1712, allocations: 0 / 0.8272 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.154e-05/0.1713, allocations: 27.97 kB / 0.8272 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.1716, allocations: 7.875 kB / 0.8272 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003346/0.1719, allocations: 122.9 kB / 0.8273 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.1723, allocations: 0.6807 MB / 0.828 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.672e-05/0.1723, allocations: 4 kB / 0.828 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.662e-05/0.1723, allocations: 7.438 kB / 0.828 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of SimCode: time 5.11e-07/0.1723, allocations: 0 / 0.828 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of Templates: time 0.003291/0.1756, allocations: 0.5097 MB / 0.8285 GB, free: 12.11 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.866456428004312] Failed to read output from testmodel.py, exit status != 0: 0.18368427499808604 0.19970847200000003 0.030502139 Calling exit ...