Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004908/0.004908, allocations: 101.2 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 199.4 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.239/1.239, allocations: 205.1 MB / 222.5 MB, free: 4.324 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.415/1.415, allocations: 251.7 MB / 0.5094 GB, free: 3.07 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 68.47 kB / 0.7258 GB, free: 9.031 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1718, allocations: 104.7 MB / 0.828 GB, free: 216 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002087/0.1739, allocations: 1.291 MB / 0.8293 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008129/0.1748, allocations: 0.5589 MB / 0.8298 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.101e-05/0.1748, allocations: 0 / 0.8298 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.713e-05/0.1748, allocations: 7.922 kB / 0.8299 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.702e-05/0.1749, allocations: 15.92 kB / 0.8299 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003616/0.1753, allocations: 91.58 kB / 0.83 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.649e-05/0.1753, allocations: 19.86 kB / 0.83 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.689e-05/0.1754, allocations: 3.938 kB / 0.83 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.182e-05/0.1754, allocations: 4 kB / 0.83 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.217e-05/0.1755, allocations: 7.984 kB / 0.83 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.008e-05/0.1755, allocations: 0 / 0.83 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002484/0.1757, allocations: 143.8 kB / 0.8301 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.849e-06/0.1758, allocations: 3.938 kB / 0.8301 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.504e-05/0.1758, allocations: 19.92 kB / 0.8302 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.176, allocations: 91.77 kB / 0.8302 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.176, allocations: 3.938 kB / 0.8302 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.382e-06/0.176, allocations: 0 / 0.8302 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.176, allocations: 0 / 0.8302 GB, free: 13.95 MB / 0.6544 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.0003371/0.1763, allocations: 343.5 kB / 0.8306 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.1764, allocations: 8.031 kB / 0.8306 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003897/0.1768, allocations: 32.89 kB / 0.8306 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.374e-05/0.1769, allocations: 164.3 kB / 0.8308 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.1769, allocations: 384 / 0.8308 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.1769, allocations: 4.375 kB / 0.8308 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.1771, allocations: 50.22 kB / 0.8308 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.1771, allocations: 192 / 0.8308 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.1771, allocations: 3.938 kB / 0.8308 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1771, allocations: 0 / 0.8308 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.1772, allocations: 27.98 kB / 0.8308 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001428/0.1774, allocations: 165.4 kB / 0.831 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.1775, allocations: 38.58 kB / 0.831 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.553e-05/0.1776, allocations: 24.91 kB / 0.8311 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.1776, allocations: 0 / 0.8311 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.1776, allocations: 30.56 kB / 0.8311 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1776, allocations: 0 / 0.8311 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0002726/0.1779, allocations: 77.53 kB / 0.8312 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.1779, allocations: 55.53 kB / 0.8312 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.022e-05/0.178, allocations: 101.8 kB / 0.8313 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.178, allocations: 29.69 kB / 0.8313 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.24e-05/0.1781, allocations: 84.14 kB / 0.8314 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.1781, allocations: 3.906 kB / 0.8314 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/0.1781, allocations: 17.72 kB / 0.8315 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.998e-05/0.1782, allocations: 314.8 kB / 0.8318 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.742e-05/0.1783, allocations: 8 kB / 0.8318 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.056e-05/0.1783, allocations: 15.98 kB / 0.8318 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.1785, allocations: 32.83 kB / 0.8318 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1785, allocations: 0 / 0.8318 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001538/0.1786, allocations: 65.67 kB / 0.8319 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.1786, allocations: 4 kB / 0.8319 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1787, allocations: 3.938 kB / 0.8319 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.1787, allocations: 0 / 0.8319 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.411e-05/0.1788, allocations: 11.98 kB / 0.8319 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1788, allocations: 0 / 0.8319 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.5e-05/0.1788, allocations: 3.938 kB / 0.8319 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.1789, allocations: 4 kB / 0.8319 GB, free: 12.03 MB / 0.6544 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.753e-05/0.1789, allocations: 109.9 kB / 0.832 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.105e-05/0.1789, allocations: 192 / 0.832 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.902e-05/0.179, allocations: 19.03 kB / 0.832 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.179, allocations: 4 kB / 0.832 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.179, allocations: 0 / 0.832 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.179, allocations: 0 / 0.832 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.948e-05/0.1791, allocations: 157.7 kB / 0.8322 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1791, allocations: 0 / 0.8322 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.296e-05/0.1792, allocations: 7.984 kB / 0.8322 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1792, allocations: 4 kB / 0.8322 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.1792, allocations: 7.938 kB / 0.8322 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1792, allocations: 0 / 0.8322 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1792, allocations: 0 / 0.8322 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.1794, allocations: 88.94 kB / 0.8323 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.898e-05/0.1794, allocations: 85.14 kB / 0.8324 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.1795, allocations: 3.938 kB / 0.8324 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.992e-05/0.1795, allocations: 7.984 kB / 0.8324 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.348e-06/0.1795, allocations: 3.938 kB / 0.8324 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.321e-06/0.1796, allocations: 4 kB / 0.8324 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.347e-05/0.1796, allocations: 83.28 kB / 0.8325 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1796, allocations: 0 / 0.8325 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001868/0.1798, allocations: 12 kB / 0.8325 GB, free: 11.34 MB / 0.6544 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.0001366/0.1799, allocations: 115.2 kB / 0.8326 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001671/0.1801, allocations: 31.91 kB / 0.8326 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1801, allocations: 0 / 0.8326 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.93e-05/0.1802, allocations: 15.98 kB / 0.8326 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.1804, allocations: 7.984 kB / 0.8326 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003095/0.1807, allocations: 118.8 kB / 0.8327 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001702/0.1809, allocations: 0.6766 MB / 0.8334 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.444e-05/0.181, allocations: 15.89 kB / 0.8334 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.832e-05/0.181, allocations: 11.42 kB / 0.8334 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.181, allocations: 4 kB / 0.8334 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of Templates: time 0.002461/0.1835, allocations: 0.7407 MB / 0.8342 GB, free: 9.566 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)