Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.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.001254/0.001254, allocations: 119.2 kB / 17.13 MB, free: 5.781 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.001232/0.001232, allocations: 194.1 kB / 20.08 MB, free: 2.871 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.359/1.359, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.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.00225/0.00225, allocations: 288.1 kB / 303.6 MB, free: 3.719 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.004/1.004, allocations: 180.9 MB / 0.5268 GB, free: 2.699 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.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002706/0.002706, allocations: 99.83 kB / 0.7259 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5461/0.5488, allocations: 94.16 MB / 0.8178 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002287/0.5511, allocations: 1.417 MB / 0.8192 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009597/0.5521, allocations: 0.5984 MB / 0.8198 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.349e-05/0.5521, allocations: 3.938 kB / 0.8198 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.27e-05/0.5521, allocations: 2.156 kB / 0.8198 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.757e-05/0.5522, allocations: 12.62 kB / 0.8198 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003647/0.5526, allocations: 97.2 kB / 0.8199 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.519e-05/0.5526, allocations: 21.66 kB / 0.8199 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.421e-05/0.5527, allocations: 5.812 kB / 0.82 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.808e-05/0.5528, allocations: 11.78 kB / 0.82 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.231e-05/0.5528, allocations: 10.36 kB / 0.82 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.5528, allocations: 2.312 kB / 0.82 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002612/0.5531, allocations: 150 kB / 0.8201 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.373e-05/0.5531, allocations: 11.36 kB / 0.8201 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.14e-05/0.5531, allocations: 7.719 kB / 0.8201 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.5533, allocations: 102.7 kB / 0.8202 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.5533, allocations: 1.125 kB / 0.8202 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5533, allocations: 0 / 0.8202 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.5533, allocations: 0 / 0.8202 GB, free: 5.879 MB / 0.5762 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.0004053/0.5537, allocations: 361.7 kB / 0.8206 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.5538, allocations: 9.344 kB / 0.8206 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004283/0.5542, allocations: 35.23 kB / 0.8206 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.026e-05/0.5543, allocations: 169.4 kB / 0.8208 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.5543, allocations: 1.469 kB / 0.8208 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.5543, allocations: 1.719 kB / 0.8208 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.5545, allocations: 66.2 kB / 0.8209 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.5545, allocations: 192 / 0.8209 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.5545, allocations: 5.281 kB / 0.8209 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.5545, allocations: 7.938 kB / 0.8209 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002522/0.5548, allocations: 56.73 kB / 0.8209 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003986/0.5552, allocations: 272.2 kB / 0.8212 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.5554, allocations: 66.33 kB / 0.8212 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.5555, allocations: 29.33 kB / 0.8213 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.5555, allocations: 0.7188 kB / 0.8213 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.481e-05/0.5556, allocations: 38.91 kB / 0.8213 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.5556, allocations: 0 / 0.8213 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004813/0.556, allocations: 108 kB / 0.8214 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/0.5561, allocations: 56.75 kB / 0.8215 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.947e-05/0.5561, allocations: 102.2 kB / 0.8216 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.5561, allocations: 28.94 kB / 0.8216 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.699e-05/0.5562, allocations: 85.73 kB / 0.8217 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.708e-05/0.5562, allocations: 5.391 kB / 0.8217 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.5562, allocations: 16.27 kB / 0.8217 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.461e-05/0.5563, allocations: 314.8 kB / 0.822 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.5564, allocations: 28.3 kB / 0.822 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.5565, allocations: 30.45 kB / 0.822 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002188/0.5567, allocations: 54.08 kB / 0.8221 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.5567, allocations: 0 / 0.8221 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002792/0.557, allocations: 99.89 kB / 0.8222 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.557, allocations: 5.375 kB / 0.8222 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.557, allocations: 1 kB / 0.8222 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.557, allocations: 0 / 0.8222 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.5572, allocations: 13.56 kB / 0.8222 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.5572, allocations: 0.5625 kB / 0.8222 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.726e-05/0.5573, allocations: 12.34 kB / 0.8222 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.5573, allocations: 7.328 kB / 0.8222 GB, free: 4.09 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 5.534e-05/0.5573, allocations: 115.4 kB / 0.8223 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/0.5574, allocations: 1.781 kB / 0.8223 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.051e-05/0.5574, allocations: 4.609 kB / 0.8223 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.5574, allocations: 1.156 kB / 0.8223 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.5574, allocations: 4.562 kB / 0.8224 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.5574, allocations: 0 / 0.8224 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.5575, allocations: 180.6 kB / 0.8225 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.5575, allocations: 1.188 kB / 0.8225 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.5577, allocations: 13.53 kB / 0.8225 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.5577, allocations: 0.6094 kB / 0.8225 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.5577, allocations: 1.875 kB / 0.8225 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.5577, allocations: 4.688 kB / 0.8225 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5577, allocations: 0 / 0.8225 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003031/0.558, allocations: 191.7 kB / 0.8227 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.091e-05/0.558, allocations: 83.08 kB / 0.8228 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.558, allocations: 0.9062 kB / 0.8228 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.5581, allocations: 7.719 kB / 0.8228 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.5582, allocations: 6.797 kB / 0.8228 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.5582, allocations: 2.516 kB / 0.8228 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.122e-05/0.5582, allocations: 83.53 kB / 0.8229 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5582, allocations: 0 / 0.8229 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002322/0.5584, allocations: 12.25 kB / 0.8229 GB, free: 3.418 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 (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 Backend phase and start with SimCode phase: time 0.0001399/0.5586, allocations: 109 kB / 0.823 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003008/0.5589, allocations: 59.55 kB / 0.8231 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.5589, allocations: 0 / 0.8231 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.559, allocations: 33.58 kB / 0.8231 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.5593, allocations: 8.141 kB / 0.8231 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004231/0.5597, allocations: 162.5 kB / 0.8233 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001/0.5598, allocations: 0.6767 MB / 0.8239 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.014e-05/0.5599, allocations: 12.7 kB / 0.8239 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.5599, allocations: 0 / 0.8239 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of Templates: time 0.002619/0.5625, allocations: 0.9124 MB / 0.8248 GB, free: 2.383 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.027638387866318] Failed to read output from testmodel.py, exit status != 0: 0.5696744727902114 0.581306561 0.024840286000000003 Calling exit ...