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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.492/1.492, allocations: 251.5 MB / 267.4 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001297/0.001297, allocations: 166.3 kB / 326.5 MB, free: 2.699 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.253/2.253, allocations: 205 MB / 0.5766 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 93.94 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005383/0.0005383, allocations: 13.66 kB / 0.7938 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3574, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002115/0.3596, allocations: 1.018 MB / 0.8977 GB, free: 67.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001504/0.3611, allocations: 0.5905 MB / 0.8983 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.346e-05/0.3611, allocations: 4 kB / 0.8983 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.516e-05/0.3612, allocations: 0 / 0.8983 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.063e-05/0.3613, allocations: 7.922 kB / 0.8983 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005424/0.3619, allocations: 75.7 kB / 0.8984 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.235e-05/0.3619, allocations: 19.88 kB / 0.8984 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.707e-05/0.362, allocations: 7.984 kB / 0.8984 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.497e-05/0.3621, allocations: 7.938 kB / 0.8984 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.03e-05/0.3622, allocations: 8 kB / 0.8984 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.3622, allocations: 0 / 0.8984 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004073/0.3626, allocations: 147.7 kB / 0.8986 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.662e-05/0.3626, allocations: 4 kB / 0.8986 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.41e-05/0.3627, allocations: 7.938 kB / 0.8986 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.3629, allocations: 67.86 kB / 0.8987 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.3629, allocations: 0 / 0.8987 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.836e-06/0.363, allocations: 0 / 0.8987 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.363, allocations: 4 kB / 0.8987 GB, free: 66.23 MB / 0.6042 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.000471/0.3635, allocations: 335.5 kB / 0.899 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/0.3635, allocations: 8.031 kB / 0.899 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006599/0.3642, allocations: 24.91 kB / 0.899 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.3643, allocations: 168.4 kB / 0.8992 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.3644, allocations: 4.375 kB / 0.8992 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.3644, allocations: 4.375 kB / 0.8992 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.3646, allocations: 50.11 kB / 0.8992 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.3647, allocations: 4.188 kB / 0.8992 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.3647, allocations: 11.88 kB / 0.8992 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.3647, allocations: 3.984 kB / 0.8992 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002025/0.3649, allocations: 15.98 kB / 0.8993 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002068/0.3652, allocations: 178.2 kB / 0.8994 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.3654, allocations: 42.58 kB / 0.8995 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.3655, allocations: 16.91 kB / 0.8995 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/0.3656, allocations: 7.938 kB / 0.8995 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.3656, allocations: 34.56 kB / 0.8995 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.803e-06/0.3656, allocations: 0 / 0.8995 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0004728/0.3661, allocations: 73.59 kB / 0.8996 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.3662, allocations: 51.41 kB / 0.8996 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.896e-05/0.3663, allocations: 97.84 kB / 0.8997 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.3663, allocations: 25.83 kB / 0.8998 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.798e-05/0.3663, allocations: 92.12 kB / 0.8999 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/0.3664, allocations: 7.891 kB / 0.8999 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/0.3664, allocations: 9.719 kB / 0.8999 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.363e-05/0.3665, allocations: 314.8 kB / 0.9002 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.3666, allocations: 11.98 kB / 0.9002 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.832e-05/0.3667, allocations: 15.92 kB / 0.9002 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002037/0.367, allocations: 32.91 kB / 0.9002 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.367, allocations: 0 / 0.9002 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002638/0.3673, allocations: 57.67 kB / 0.9003 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.3673, allocations: 4 kB / 0.9003 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.3673, allocations: 3.938 kB / 0.9003 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.3673, allocations: 32 / 0.9003 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.3675, allocations: 11.98 kB / 0.9003 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.3675, allocations: 0 / 0.9003 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.3677, allocations: 4 kB / 0.9003 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.3677, allocations: 3.984 kB / 0.9003 GB, free: 64.31 MB / 0.6042 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.299e-05/0.3678, allocations: 117.8 kB / 0.9004 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.764e-05/0.3678, allocations: 0 / 0.9004 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.552e-05/0.3679, allocations: 11.06 kB / 0.9004 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.3679, allocations: 0 / 0.9004 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.3679, allocations: 3.938 kB / 0.9004 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.3679, allocations: 4 kB / 0.9004 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.3681, allocations: 153.7 kB / 0.9006 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3681, allocations: 0 / 0.9006 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.3682, allocations: 7.984 kB / 0.9006 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3682, allocations: 0 / 0.9006 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.3683, allocations: 7.875 kB / 0.9006 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.3683, allocations: 3.984 kB / 0.9006 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3683, allocations: 4 kB / 0.9006 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002898/0.3686, allocations: 81.11 kB / 0.9007 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.924e-05/0.3687, allocations: 89 kB / 0.9008 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.3687, allocations: 3.938 kB / 0.9008 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.642e-05/0.3688, allocations: 0 / 0.9008 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.978e-05/0.3689, allocations: 7.969 kB / 0.9008 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.3689, allocations: 4 kB / 0.9008 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.276e-05/0.3689, allocations: 83.27 kB / 0.9009 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.51e-07/0.3689, allocations: 0 / 0.9009 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003563/0.3693, allocations: 16 kB / 0.9009 GB, free: 63.63 MB / 0.6042 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.0002139/0.3695, allocations: 107.2 kB / 0.901 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002873/0.3698, allocations: 31.97 kB / 0.901 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.3699, allocations: 0 / 0.901 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.37, allocations: 15.98 kB / 0.901 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.3703, allocations: 7.984 kB / 0.901 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005029/0.3709, allocations: 154.1 kB / 0.9012 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.371, allocations: 0.6731 MB / 0.9018 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.165e-05/0.3711, allocations: 15.42 kB / 0.9019 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of SimCode: time 4.21e-07/0.3711, allocations: 0 / 0.9019 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of Templates: time 0.003369/0.3745, allocations: 0.7784 MB / 0.9026 GB, free: 61.79 MB / 0.6042 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)