Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00425/0.00425, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001015/0.001016, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.223/1.223, allocations: 205.1 MB / 222.5 MB, free: 4.379 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.382/1.382, allocations: 251.7 MB / 0.5094 GB, free: 3.043 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.001286/0.001286, allocations: 75.88 kB / 0.7258 GB, free: 9 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1677, allocations: 104.7 MB / 0.828 GB, free: 196 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002039/0.1697, allocations: 1.411 MB / 0.8294 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003871/0.1701, allocations: 212.6 kB / 0.8296 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.994e-05/0.1702, allocations: 0 / 0.8296 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.664e-05/0.1702, allocations: 7.922 kB / 0.8296 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.51e-05/0.1703, allocations: 3.938 kB / 0.8296 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001773/0.1704, allocations: 19.92 kB / 0.8296 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.757e-05/0.1705, allocations: 31.91 kB / 0.8297 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.937e-05/0.1706, allocations: 4 kB / 0.8297 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.842e-05/0.1706, allocations: 15.92 kB / 0.8297 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.15e-05/0.1707, allocations: 4 kB / 0.8297 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.1707, allocations: 0 / 0.8297 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.726e-05/0.1708, allocations: 27.97 kB / 0.8297 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.412e-05/0.1708, allocations: 7.938 kB / 0.8297 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.095e-05/0.1708, allocations: 11.94 kB / 0.8297 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.1709, allocations: 31.95 kB / 0.8298 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1709, allocations: 0 / 0.8298 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1709, allocations: 11.94 kB / 0.8298 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.171, allocations: 0 / 0.8298 GB, free: 14.38 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.00039/0.1713, allocations: 339.5 kB / 0.8301 GB, free: 14 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.1714, allocations: 12.03 kB / 0.8301 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.1715, allocations: 4.844 kB / 0.8301 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.468e-05/0.1716, allocations: 168.3 kB / 0.8303 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.1716, allocations: 384 / 0.8303 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.1716, allocations: 4.375 kB / 0.8303 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.1718, allocations: 54.17 kB / 0.8303 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.902e-06/0.1718, allocations: 192 / 0.8303 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.1718, allocations: 7.938 kB / 0.8303 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.317e-06/0.1718, allocations: 0 / 0.8303 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.172, allocations: 35.95 kB / 0.8304 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002695/0.1723, allocations: 240.9 kB / 0.8306 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.1724, allocations: 50.47 kB / 0.8306 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.919e-05/0.1725, allocations: 20.91 kB / 0.8307 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.1725, allocations: 0 / 0.8307 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.1725, allocations: 30.56 kB / 0.8307 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.1725, allocations: 0 / 0.8307 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003222/0.1729, allocations: 85.64 kB / 0.8308 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.1729, allocations: 51.41 kB / 0.8308 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.083e-05/0.173, allocations: 101.8 kB / 0.8309 GB, free: 13 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.173, allocations: 25.7 kB / 0.831 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.292e-05/0.173, allocations: 88.05 kB / 0.831 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.342e-05/0.173, allocations: 3.938 kB / 0.831 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.023e-05/0.1731, allocations: 17.84 kB / 0.8311 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.5e-05/0.1732, allocations: 318.8 kB / 0.8314 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.606e-05/0.1733, allocations: 15.98 kB / 0.8314 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.571e-05/0.1733, allocations: 11.98 kB / 0.8314 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.1735, allocations: 36.83 kB / 0.8314 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1735, allocations: 4.062 kB / 0.8314 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001794/0.1737, allocations: 73.5 kB / 0.8315 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.1737, allocations: 4 kB / 0.8315 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.1737, allocations: 0 / 0.8315 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1737, allocations: 0 / 0.8315 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.192e-05/0.1738, allocations: 16.11 kB / 0.8315 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.1738, allocations: 0 / 0.8315 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.938e-05/0.1739, allocations: 11.98 kB / 0.8315 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.1739, allocations: 4.031 kB / 0.8315 GB, free: 12.35 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 6.067e-05/0.1739, allocations: 113.8 kB / 0.8316 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/0.174, allocations: 3.984 kB / 0.8316 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002161/0.1742, allocations: 80.7 kB / 0.8317 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.1742, allocations: 7.938 kB / 0.8317 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.1742, allocations: 0 / 0.8317 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1742, allocations: 4 kB / 0.8317 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.1743, allocations: 165.6 kB / 0.8319 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1744, allocations: 0 / 0.8319 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.403e-05/0.1744, allocations: 11.98 kB / 0.8319 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.1744, allocations: 0 / 0.8319 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.1744, allocations: 4 kB / 0.8319 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1744, allocations: 3.938 kB / 0.8319 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1745, allocations: 0 / 0.8319 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.1747, allocations: 171.4 kB / 0.8321 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.091e-05/0.1747, allocations: 88.95 kB / 0.8322 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-06/0.1747, allocations: 0 / 0.8322 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.391e-05/0.1748, allocations: 4 kB / 0.8322 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.1748, allocations: 3.984 kB / 0.8322 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.1748, allocations: 4 kB / 0.8322 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.665e-05/0.1749, allocations: 75.28 kB / 0.8322 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.1749, allocations: 0 / 0.8322 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002016/0.1751, allocations: 16 kB / 0.8323 GB, free: 11.51 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 (3): * Single equations (assignments): 3 * 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 8.159e-05/0.1752, allocations: 95.25 kB / 0.8323 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001936/0.1754, allocations: 39.89 kB / 0.8324 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1754, allocations: 0 / 0.8324 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.142e-05/0.1755, allocations: 27.97 kB / 0.8324 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.1757, allocations: 8 kB / 0.8324 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002425/0.176, allocations: 110.8 kB / 0.8325 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001853/0.1762, allocations: 0.6805 MB / 0.8332 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.206e-05/0.1762, allocations: 0 / 0.8332 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.469e-05/0.1762, allocations: 11.44 kB / 0.8332 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of SimCode: time 2.6e-07/0.1763, allocations: 7.938 kB / 0.8332 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of Templates: time 0.002061/0.1783, allocations: 0.4933 MB / 0.8337 GB, free: 9.984 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)