Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.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.001269/0.001269, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001431/0.001431, allocations: 223.6 kB / 23.01 MB, free: 4.609 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.388/1.388, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.002497/0.002497, allocations: 285.1 kB / 313.5 MB, free: 2.801 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.202/1.202, allocations: 180.6 MB / 0.5377 GB, free: 13 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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.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.00282/0.00282, allocations: 107.6 kB / 0.7408 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1682, allocations: 95.38 MB / 0.834 GB, free: 8.164 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002479/0.1707, allocations: 1.317 MB / 0.8352 GB, free: 6.832 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0009586/0.1717, allocations: 0.587 MB / 0.8358 GB, free: 6.242 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.788e-05/0.1717, allocations: 4 kB / 0.8358 GB, free: 6.238 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 1.397e-05/0.1717, allocations: 0 / 0.8358 GB, free: 6.238 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 4.251e-05/0.1718, allocations: 3.938 kB / 0.8358 GB, free: 6.234 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003716/0.1721, allocations: 103.5 kB / 0.8359 GB, free: 6.133 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 6.03e-05/0.1722, allocations: 11.94 kB / 0.8359 GB, free: 6.121 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 4.082e-05/0.1722, allocations: 7.938 kB / 0.8359 GB, free: 6.113 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 3.522e-05/0.1723, allocations: 15.94 kB / 0.836 GB, free: 6.098 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 4.399e-05/0.1723, allocations: 7.984 kB / 0.836 GB, free: 6.09 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.008e-05/0.1723, allocations: 0 / 0.836 GB, free: 6.09 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003064/0.1726, allocations: 143.8 kB / 0.8361 GB, free: 5.949 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 8.756e-06/0.1726, allocations: 0 / 0.8361 GB, free: 5.949 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 2.667e-05/0.1727, allocations: 11.94 kB / 0.8361 GB, free: 5.938 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.1729, allocations: 99.66 kB / 0.8362 GB, free: 5.84 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1729, allocations: 0 / 0.8362 GB, free: 5.84 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.153e-06/0.1729, allocations: 0 / 0.8362 GB, free: 5.84 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.1729, allocations: 0 / 0.8362 GB, free: 5.84 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003769/0.1732, allocations: 270.2 kB / 0.8365 GB, free: 5.543 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.1733, allocations: 12.73 kB / 0.8365 GB, free: 5.531 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004438/0.1737, allocations: 32.91 kB / 0.8365 GB, free: 5.5 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.1738, allocations: 114.5 kB / 0.8366 GB, free: 5.363 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.1738, allocations: 4.375 kB / 0.8366 GB, free: 5.359 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.1738, allocations: 4.359 kB / 0.8366 GB, free: 5.355 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.174, allocations: 50.23 kB / 0.8367 GB, free: 5.301 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.174, allocations: 192 / 0.8367 GB, free: 5.301 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.174, allocations: 3.938 kB / 0.8367 GB, free: 5.297 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.174, allocations: 0 / 0.8367 GB, free: 5.297 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.1742, allocations: 27.91 kB / 0.8367 GB, free: 5.27 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001566/0.1743, allocations: 124.8 kB / 0.8368 GB, free: 5.105 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.1745, allocations: 46.58 kB / 0.8369 GB, free: 5.051 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.246e-05/0.1745, allocations: 16.86 kB / 0.8369 GB, free: 5.031 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.1746, allocations: 0 / 0.8369 GB, free: 5.031 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.1746, allocations: 38.55 kB / 0.8369 GB, free: 4.984 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.1746, allocations: 0 / 0.8369 GB, free: 4.984 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2): time 0.0002885/0.1749, allocations: 77.55 kB / 0.837 GB, free: 4.902 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.1749, allocations: 55.39 kB / 0.8371 GB, free: 4.836 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.731e-05/0.175, allocations: 93.86 kB / 0.8371 GB, free: 4.734 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.175, allocations: 29.7 kB / 0.8372 GB, free: 4.699 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 3.666e-05/0.1751, allocations: 84.08 kB / 0.8372 GB, free: 4.613 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.1751, allocations: 8.016 kB / 0.8373 GB, free: 4.605 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/0.1751, allocations: 21.7 kB / 0.8373 GB, free: 4.578 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1753, allocations: 314.8 kB / 0.8376 GB, free: 4.262 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.271e-05/0.1753, allocations: 11.98 kB / 0.8376 GB, free: 4.25 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.298e-05/0.1754, allocations: 11.98 kB / 0.8376 GB, free: 4.238 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.1755, allocations: 32.91 kB / 0.8376 GB, free: 4.203 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1755, allocations: 0 / 0.8376 GB, free: 4.203 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001617/0.1757, allocations: 57.61 kB / 0.8377 GB, free: 4.141 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.1757, allocations: 4 kB / 0.8377 GB, free: 4.137 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.1757, allocations: 7.938 kB / 0.8377 GB, free: 4.129 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.1757, allocations: 0 / 0.8377 GB, free: 4.129 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.1758, allocations: 15.98 kB / 0.8377 GB, free: 4.113 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1758, allocations: 4.031 kB / 0.8377 GB, free: 4.109 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.011e-05/0.1759, allocations: 4 kB / 0.8377 GB, free: 4.105 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.1759, allocations: 3.984 kB / 0.8377 GB, free: 4.102 MB / 0.5763 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.938e-05/0.176, allocations: 106.5 kB / 0.8378 GB, free: 3.988 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.432e-05/0.176, allocations: 3.953 kB / 0.8378 GB, free: 3.984 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.869e-05/0.176, allocations: 11.25 kB / 0.8378 GB, free: 3.969 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.176, allocations: 4 kB / 0.8378 GB, free: 3.965 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.176, allocations: 0 / 0.8378 GB, free: 3.965 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.176, allocations: 0 / 0.8378 GB, free: 3.965 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.1761, allocations: 124.8 kB / 0.838 GB, free: 3.801 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1761, allocations: 3.984 kB / 0.838 GB, free: 3.797 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.615e-05/0.1762, allocations: 8 kB / 0.838 GB, free: 3.789 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.1762, allocations: 0 / 0.838 GB, free: 3.789 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.1762, allocations: 8.109 kB / 0.838 GB, free: 3.781 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1762, allocations: 0 / 0.838 GB, free: 3.781 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1762, allocations: 0 / 0.838 GB, free: 3.781 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001913/0.1764, allocations: 93.03 kB / 0.8381 GB, free: 3.672 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 4.186e-05/0.1765, allocations: 7.984 kB / 0.8381 GB, free: 3.664 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.1765, allocations: 11.88 kB / 0.8381 GB, free: 3.652 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.755e-05/0.1765, allocations: 0 / 0.8381 GB, free: 3.652 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.658e-06/0.1766, allocations: 0 / 0.8381 GB, free: 3.652 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.1766, allocations: 3.984 kB / 0.8381 GB, free: 3.648 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 3.802e-05/0.1766, allocations: 87.25 kB / 0.8382 GB, free: 3.562 MB / 0.5763 GB Notification: Performance of sort global known variables: time 9e-08/0.1766, allocations: 0 / 0.8382 GB, free: 3.562 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002147/0.1768, allocations: 15.94 kB / 0.8382 GB, free: 3.547 MB / 0.5763 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.0001634/0.177, allocations: 103.2 kB / 0.8383 GB, free: 3.434 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0001876/0.1772, allocations: 35.91 kB / 0.8383 GB, free: 3.398 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1772, allocations: 4.062 kB / 0.8383 GB, free: 3.395 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 6.179e-05/0.1772, allocations: 11.98 kB / 0.8383 GB, free: 3.383 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.1774, allocations: 8 kB / 0.8383 GB, free: 3.375 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003735/0.1778, allocations: 140.6 kB / 0.8385 GB, free: 3.207 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.1781, allocations: 0.6807 MB / 0.8391 GB, free: 2.5 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.757e-05/0.1782, allocations: 11.44 kB / 0.8392 GB, free: 2.488 MB / 0.5763 GB Notification: Performance of SimCode: time 3.21e-07/0.1782, allocations: 0 / 0.8392 GB, free: 2.488 MB / 0.5763 GB Notification: Performance of Templates: time 0.002301/0.1805, allocations: 0.8019 MB / 0.8399 GB, free: 1.691 MB / 0.5763 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.079313287045807] Failed to read output from testmodel.py, exit status != 0: 0.1876548279542476 0.20234322399999996 0.026433479000000003 Calling exit ...