Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004098/0.004098, allocations: 101.7 kB / 15.73 MB, free: 5.969 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.000961/0.000961, allocations: 194.7 kB / 16.67 MB, free: 5.906 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.235/1.235, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.366/1.366, allocations: 251.7 MB / 0.5094 GB, free: 3.039 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.001356/0.001356, allocations: 71.88 kB / 0.7258 GB, free: 9.004 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1858, allocations: 104.7 MB / 0.828 GB, free: 200 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001962/0.1878, allocations: 1.299 MB / 0.8293 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.519/0.7068, allocations: 147.6 MB / 0.9735 GB, free: 8 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.726e-05/0.7069, allocations: 0 / 0.9735 GB, free: 8 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.924e-05/0.7069, allocations: 0 / 0.9735 GB, free: 8 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.187e-05/0.707, allocations: 15.59 kB / 0.9735 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003712/0.7074, allocations: 114.6 kB / 0.9736 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.329e-05/0.7074, allocations: 16.94 kB / 0.9736 GB, free: 7.945 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.596e-05/0.7075, allocations: 4.5 kB / 0.9736 GB, free: 7.945 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.395e-05/0.7075, allocations: 12.72 kB / 0.9736 GB, free: 7.938 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.927e-05/0.7075, allocations: 2.844 kB / 0.9736 GB, free: 7.938 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.037e-06/0.7076, allocations: 1.094 kB / 0.9736 GB, free: 7.938 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003421/0.7079, allocations: 179.2 kB / 0.9738 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.181e-05/0.7079, allocations: 8.438 kB / 0.9738 GB, free: 7.918 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.139e-05/0.708, allocations: 8.391 kB / 0.9738 GB, free: 7.914 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.7082, allocations: 113.2 kB / 0.9739 GB, free: 7.898 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.7082, allocations: 0 / 0.9739 GB, free: 7.898 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.253e-06/0.7082, allocations: 0 / 0.9739 GB, free: 7.898 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.7082, allocations: 1.281 kB / 0.9739 GB, free: 7.898 MB / 0.7325 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.0003005/0.7085, allocations: 347.7 kB / 0.9743 GB, free: 7.535 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.7085, allocations: 9.25 kB / 0.9743 GB, free: 7.535 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004947/0.709, allocations: 37.45 kB / 0.9743 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.7091, allocations: 168.5 kB / 0.9745 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.7092, allocations: 3.938 kB / 0.9745 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.7092, allocations: 5.156 kB / 0.9745 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.7093, allocations: 48.44 kB / 0.9745 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.7093, allocations: 0 / 0.9745 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.7094, allocations: 9.156 kB / 0.9745 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.7094, allocations: 0 / 0.9745 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.7095, allocations: 20.45 kB / 0.9746 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003095/0.7098, allocations: 248.6 kB / 0.9748 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.687e-05/0.7098, allocations: 28.97 kB / 0.9748 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.972e-05/0.7099, allocations: 12.77 kB / 0.9748 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.941e-06/0.7099, allocations: 1.406 kB / 0.9748 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.7099, allocations: 35.19 kB / 0.9749 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.7099, allocations: 0 / 0.9749 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001218/0.71, allocations: 41.17 kB / 0.9749 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.7101, allocations: 51.41 kB / 0.975 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.7102, allocations: 118.9 kB / 0.9751 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.7102, allocations: 25.7 kB / 0.9751 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.732e-05/0.7103, allocations: 89.05 kB / 0.9752 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.582e-06/0.7103, allocations: 4.719 kB / 0.9752 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.785e-05/0.7103, allocations: 22.2 kB / 0.9752 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.546e-05/0.7104, allocations: 321.9 kB / 0.9755 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.995e-05/0.7105, allocations: 7.172 kB / 0.9755 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.138e-05/0.7106, allocations: 12.31 kB / 0.9755 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.415e-05/0.7107, allocations: 22.94 kB / 0.9756 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.7107, allocations: 0.5625 kB / 0.9756 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000168/0.7108, allocations: 59.59 kB / 0.9756 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.7109, allocations: 4.906 kB / 0.9756 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.7109, allocations: 336 / 0.9756 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.7109, allocations: 5.156 kB / 0.9756 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.47e-05/0.711, allocations: 14.73 kB / 0.9756 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.711, allocations: 3.938 kB / 0.9756 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.7111, allocations: 10.98 kB / 0.9757 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.7111, allocations: 5.406 kB / 0.9757 GB, free: 6.227 MB / 0.7325 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 (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 prepare postOptimizeDAE: time 6.635e-05/0.7112, allocations: 109 kB / 0.9758 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.7112, allocations: 5.359 kB / 0.9758 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.646e-05/0.7113, allocations: 11.66 kB / 0.9758 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.7113, allocations: 0 / 0.9758 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.7113, allocations: 1.25 kB / 0.9758 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.7113, allocations: 2.578 kB / 0.9758 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.7114, allocations: 154.7 kB / 0.9759 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.7114, allocations: 5.062 kB / 0.9759 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.309e-05/0.7115, allocations: 4.672 kB / 0.9759 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.7115, allocations: 0 / 0.9759 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-06/0.7115, allocations: 5 kB / 0.9759 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.7115, allocations: 0 / 0.9759 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.7115, allocations: 0 / 0.9759 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.888e-05/0.7116, allocations: 143 kB / 0.9761 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.898e-05/0.7116, allocations: 82.36 kB / 0.9762 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.7117, allocations: 7.391 kB / 0.9762 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.934e-05/0.7118, allocations: 1.406 kB / 0.9762 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.086e-05/0.7118, allocations: 1.5 kB / 0.9762 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.7118, allocations: 2.531 kB / 0.9762 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.059e-05/0.7119, allocations: 97.83 kB / 0.9763 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7119, allocations: 0 / 0.9763 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002212/0.7121, allocations: 12.56 kB / 0.9763 GB, free: 5.582 MB / 0.7325 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.0001454/0.7122, allocations: 111 kB / 0.9764 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001203/0.7124, allocations: 19.55 kB / 0.9764 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.7124, allocations: 0 / 0.9764 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.344e-05/0.7124, allocations: 15.59 kB / 0.9764 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.7127, allocations: 10.52 kB / 0.9764 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002269/0.7129, allocations: 117.7 kB / 0.9765 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.7131, allocations: 0.6733 MB / 0.9772 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.438e-05/0.7132, allocations: 11.12 kB / 0.9772 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.243e-05/0.7132, allocations: 9.812 kB / 0.9772 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of SimCode: time 2.01e-07/0.7132, allocations: 0 / 0.9772 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of Templates: time 0.002451/0.7157, allocations: 0.7475 MB / 0.9779 GB, free: 4.59 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)