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.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.001533/0.001533, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001381/0.001381, allocations: 221.1 kB / 23 MB, free: 4.918 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.397/1.397, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002516/0.002516, allocations: 292.4 kB / 313.5 MB, free: 2.621 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.196/1.196, allocations: 180.6 MB / 0.5377 GB, free: 14.61 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(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: NcDataReader2 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: BuildingSystems 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.002936/0.002936, allocations: 110.1 kB / 0.7407 GB, free: 27.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1712, allocations: 95.38 MB / 0.8339 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002649/0.1739, allocations: 1.434 MB / 0.8353 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.1749, allocations: 0.5555 MB / 0.8358 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.685e-05/0.1749, allocations: 0 / 0.8358 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.908e-05/0.175, allocations: 3.938 kB / 0.8358 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.781e-05/0.175, allocations: 4 kB / 0.8358 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003686/0.1754, allocations: 95.56 kB / 0.8359 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.785e-05/0.1755, allocations: 31.86 kB / 0.8359 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.543e-05/0.1755, allocations: 3.938 kB / 0.8359 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.363e-05/0.1756, allocations: 11.98 kB / 0.8359 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.755e-05/0.1756, allocations: 15.92 kB / 0.836 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.1756, allocations: 4 kB / 0.836 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002726/0.1759, allocations: 135.8 kB / 0.8361 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.1759, allocations: 4 kB / 0.8361 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.22e-05/0.176, allocations: 11.98 kB / 0.8361 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.1762, allocations: 103.6 kB / 0.8362 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1762, allocations: 0 / 0.8362 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.783e-06/0.1762, allocations: 0 / 0.8362 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.248e-06/0.1762, allocations: 4 kB / 0.8362 GB, free: 5.441 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.0004843/0.1767, allocations: 290 kB / 0.8365 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.1767, allocations: 13.94 kB / 0.8365 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00044/0.1771, allocations: 36.84 kB / 0.8365 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.1773, allocations: 106.5 kB / 0.8366 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-06/0.1773, allocations: 384 / 0.8366 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.1773, allocations: 4.375 kB / 0.8366 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/0.1775, allocations: 66.2 kB / 0.8367 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.1775, allocations: 4.188 kB / 0.8367 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.1775, allocations: 3.938 kB / 0.8367 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1775, allocations: 0 / 0.8367 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002465/0.1778, allocations: 55.88 kB / 0.8368 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004184/0.1782, allocations: 212.5 kB / 0.837 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.1784, allocations: 58.53 kB / 0.837 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.1786, allocations: 32.89 kB / 0.8371 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.1786, allocations: 3.938 kB / 0.8371 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.1786, allocations: 30.56 kB / 0.8371 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.1786, allocations: 3.938 kB / 0.8371 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.000486/0.1791, allocations: 129.5 kB / 0.8372 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.1791, allocations: 51.41 kB / 0.8373 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.916e-05/0.1792, allocations: 97.86 kB / 0.8374 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.1792, allocations: 25.7 kB / 0.8374 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.668e-05/0.1793, allocations: 84.14 kB / 0.8375 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.1793, allocations: 12.06 kB / 0.8375 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/0.1793, allocations: 17.72 kB / 0.8375 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1795, allocations: 310.8 kB / 0.8378 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.1796, allocations: 23.97 kB / 0.8378 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.1797, allocations: 27.97 kB / 0.8378 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002481/0.18, allocations: 64.8 kB / 0.8379 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.18, allocations: 0 / 0.8379 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002861/0.1803, allocations: 89.58 kB / 0.838 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.1803, allocations: 7.938 kB / 0.838 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1803, allocations: 4.031 kB / 0.838 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.1803, allocations: 7.984 kB / 0.838 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.1804, allocations: 11.98 kB / 0.838 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.1804, allocations: 0 / 0.838 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.222e-05/0.1805, allocations: 7.984 kB / 0.838 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.1805, allocations: 0 / 0.838 GB, free: 3.41 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.773e-05/0.1806, allocations: 110.5 kB / 0.8381 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.1806, allocations: 3.938 kB / 0.8381 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.498e-05/0.1807, allocations: 15.31 kB / 0.8381 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1807, allocations: 4 kB / 0.8382 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1807, allocations: 3.984 kB / 0.8382 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.1807, allocations: 0 / 0.8382 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/0.1808, allocations: 113.3 kB / 0.8383 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1808, allocations: 3.938 kB / 0.8383 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.1809, allocations: 11.98 kB / 0.8383 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1809, allocations: 3.938 kB / 0.8383 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.1809, allocations: 8 kB / 0.8383 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1809, allocations: 0 / 0.8383 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1809, allocations: 192 / 0.8383 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003467/0.1813, allocations: 179.5 kB / 0.8385 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.069e-05/0.1813, allocations: 15.86 kB / 0.8385 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.1813, allocations: 0 / 0.8385 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.1814, allocations: 12.02 kB / 0.8385 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.26e-05/0.1815, allocations: 4 kB / 0.8385 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.1815, allocations: 7.922 kB / 0.8385 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.101e-05/0.1815, allocations: 83.28 kB / 0.8386 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1815, allocations: 0 / 0.8386 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002263/0.1817, allocations: 12 kB / 0.8386 GB, free: 2.77 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.0001532/0.1819, allocations: 115.1 kB / 0.8387 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003184/0.1822, allocations: 59.94 kB / 0.8388 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1822, allocations: 0 / 0.8388 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.1823, allocations: 27.97 kB / 0.8388 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.1826, allocations: 3.984 kB / 0.8388 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004382/0.183, allocations: 164.7 kB / 0.8389 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.846e-05/0.1831, allocations: 63.28 kB / 0.839 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.449e-05/0.1831, allocations: 15.42 kB / 0.839 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.1831, allocations: 0 / 0.839 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of Templates: time 0.002505/0.1856, allocations: 0.9118 MB / 0.8399 GB, free: 1.355 MB / 0.5762 GB " [Timeout remaining time 660] 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.016857836395502] Failed to read output from testmodel.py, exit status != 0: 0.1928870161063969 0.207706149 0.028573432000000003 Calling exit ...