Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.001443/0.001443, allocations: 110 kB / 18.93 MB, free: 2.945 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.001542/0.001542, allocations: 190.9 kB / 22.23 MB, free: 5.16 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.336/1.336, allocations: 225.6 MB / 251 MB, free: 13 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.0024/0.0024, allocations: 283.3 kB / 306.6 MB, free: 8.289 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.147/1.147, allocations: 180.9 MB / 0.53 GB, free: 14.4 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.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002642/0.002642, allocations: 101.1 kB / 0.7309 GB, free: 39 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1614, allocations: 94.2 MB / 0.8229 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002287/0.1637, allocations: 1.297 MB / 0.8241 GB, free: 484 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.1648, allocations: 0.6488 MB / 0.8248 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.572e-05/0.1648, allocations: 0 / 0.8248 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.778e-05/0.1648, allocations: 7.938 kB / 0.8248 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.202e-05/0.1649, allocations: 0 / 0.8248 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003972/0.1652, allocations: 115.4 kB / 0.8249 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.046e-05/0.1653, allocations: 27.86 kB / 0.8249 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.063e-05/0.1653, allocations: 7.984 kB / 0.8249 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.391e-05/0.1654, allocations: 11.94 kB / 0.8249 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.131e-05/0.1654, allocations: 11.97 kB / 0.8249 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.1654, allocations: 4 kB / 0.8249 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002618/0.1657, allocations: 143.8 kB / 0.8251 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.219e-05/0.1657, allocations: 3.938 kB / 0.8251 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.393e-05/0.1657, allocations: 11.98 kB / 0.8251 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.1659, allocations: 103.6 kB / 0.8252 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.166, allocations: 0 / 0.8252 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.343e-06/0.166, allocations: 0 / 0.8252 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.166, allocations: 0 / 0.8252 GB, free: 15.38 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004348/0.1664, allocations: 282.1 kB / 0.8255 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.1664, allocations: 8.031 kB / 0.8255 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000395/0.1668, allocations: 32.89 kB / 0.8255 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.247e-05/0.1669, allocations: 106.5 kB / 0.8256 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.1669, allocations: 4.375 kB / 0.8256 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.167, allocations: 4.375 kB / 0.8256 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.1671, allocations: 50.22 kB / 0.8256 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.1671, allocations: 8.188 kB / 0.8257 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.1671, allocations: 3.938 kB / 0.8257 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.1671, allocations: 3.938 kB / 0.8257 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.1673, allocations: 31.91 kB / 0.8257 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001783/0.1675, allocations: 140.7 kB / 0.8258 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003125/0.1678, allocations: 66.53 kB / 0.8259 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.485e-05/0.1679, allocations: 28.94 kB / 0.8259 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.1679, allocations: 0 / 0.8259 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.1679, allocations: 30.56 kB / 0.8259 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.1679, allocations: 0 / 0.8259 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.00329/0.1712, allocations: 0.5122 MB / 0.8264 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.1712, allocations: 51.41 kB / 0.8265 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.036e-05/0.1713, allocations: 101.8 kB / 0.8266 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.1713, allocations: 29.83 kB / 0.8266 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.489e-05/0.1714, allocations: 80.14 kB / 0.8267 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.656e-05/0.1714, allocations: 19.86 kB / 0.8267 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.929e-05/0.1715, allocations: 29.69 kB / 0.8267 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1716, allocations: 310.8 kB / 0.827 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.1717, allocations: 35.97 kB / 0.8271 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.1719, allocations: 39.97 kB / 0.8271 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/0.1721, allocations: 84.95 kB / 0.8272 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1721, allocations: 0 / 0.8272 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003812/0.1725, allocations: 129.5 kB / 0.8273 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.1725, allocations: 7.938 kB / 0.8273 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.1725, allocations: 0 / 0.8273 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.1726, allocations: 0 / 0.8273 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.1728, allocations: 23.97 kB / 0.8273 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.1728, allocations: 3.984 kB / 0.8274 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.1729, allocations: 4.062 kB / 0.8274 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.1729, allocations: 15.98 kB / 0.8274 GB, free: 12.92 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 (7): * Single equations (assignments): 7 * 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 9.346e-05/0.173, allocations: 110.5 kB / 0.8275 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.1731, allocations: 11.89 kB / 0.8275 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.166e-05/0.1731, allocations: 12.06 kB / 0.8275 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.1731, allocations: 0 / 0.8275 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.1731, allocations: 0 / 0.8275 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1731, allocations: 4 kB / 0.8275 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001779/0.1733, allocations: 162.4 kB / 0.8277 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1733, allocations: 4 kB / 0.8277 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002195/0.1735, allocations: 23.91 kB / 0.8277 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.1735, allocations: 3.938 kB / 0.8277 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.1735, allocations: 7.984 kB / 0.8277 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1735, allocations: 0 / 0.8277 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1736, allocations: 4 kB / 0.8277 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005556/0.1741, allocations: 181 kB / 0.8279 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.314e-05/0.1741, allocations: 19.97 kB / 0.8279 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.1741, allocations: 0 / 0.8279 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.1743, allocations: 12 kB / 0.8279 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.618e-05/0.1743, allocations: 3.984 kB / 0.8279 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.1744, allocations: 7.984 kB / 0.8279 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.764e-05/0.1744, allocations: 75.28 kB / 0.828 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1744, allocations: 0 / 0.828 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002347/0.1746, allocations: 31.88 kB / 0.828 GB, free: 12.18 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0002009/0.1748, allocations: 139.1 kB / 0.8282 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003532/0.1752, allocations: 83.92 kB / 0.8282 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1752, allocations: 0 / 0.8282 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.1753, allocations: 51.89 kB / 0.8283 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.1756, allocations: 10.69 kB / 0.8283 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006398/0.1762, allocations: 160.7 kB / 0.8284 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.1765, allocations: 0.6846 MB / 0.8291 GB, free: 11 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001559/0.1767, allocations: 31.83 kB / 0.8291 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.509e-05/0.1767, allocations: 19.42 kB / 0.8292 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.1767, allocations: 0 / 0.8292 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of Templates: time 0.004278/0.181, allocations: 1.544 MB / 0.8307 GB, free: 9.453 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.665643998421729] Failed to read output from testmodel.py, exit status != 0: 0.1879292568191886 0.202521567 0.033492376000000004 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7facac7397b0>