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/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.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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.545/1.545, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.001108/0.001108, allocations: 173.9 kB / 326.5 MB, free: 2.688 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.318/2.318, allocations: 205 MB / 0.5766 GB, free: 20.98 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.0008231/0.0008231, allocations: 99.89 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003889/0.000389, allocations: 8.625 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2529, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001388/0.2543, allocations: 1.018 MB / 0.8977 GB, free: 67.15 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1555/0.4099, allocations: 145.4 MB / 1.04 GB, free: 1.23 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.585e-05/0.41, allocations: 0 / 1.04 GB, free: 1.23 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 2.348e-05/0.41, allocations: 0 / 1.04 GB, free: 1.23 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 8.021e-05/0.4101, allocations: 11.91 kB / 1.04 GB, free: 1.219 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005119/0.4106, allocations: 99.62 kB / 1.04 GB, free: 1.121 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 6.103e-05/0.4107, allocations: 23.86 kB / 1.04 GB, free: 1.098 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.004e-05/0.4107, allocations: 4 kB / 1.04 GB, free: 1.094 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 3.842e-05/0.4108, allocations: 4 kB / 1.04 GB, free: 1.09 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.302e-05/0.4108, allocations: 7.938 kB / 1.04 GB, free: 1.082 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.4108, allocations: 0 / 1.04 GB, free: 1.082 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004964/0.4113, allocations: 183.6 kB / 1.04 GB, free: 0.9023 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.368e-05/0.4114, allocations: 0 / 1.04 GB, free: 0.9023 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 3.616e-05/0.4114, allocations: 15.86 kB / 1.04 GB, free: 0.8867 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.4116, allocations: 75.86 kB / 1.04 GB, free: 0.8125 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4117, allocations: 4 kB / 1.04 GB, free: 0.8086 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.265e-06/0.4117, allocations: 0 / 1.04 GB, free: 0.8086 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.4117, allocations: 0 / 1.04 GB, free: 0.8086 MB / 0.6823 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.0003917/0.4121, allocations: 347.5 kB / 1.04 GB, free: 432 kB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.4121, allocations: 12.03 kB / 1.04 GB, free: 420 kB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005878/0.4127, allocations: 32.89 kB / 1.04 GB, free: 388 kB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.4129, allocations: 168.3 kB / 1.041 GB, free: 180 kB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.4129, allocations: 7.875 kB / 1.041 GB, free: 172 kB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.4129, allocations: 8 kB / 1.041 GB, free: 164 kB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.4131, allocations: 45.66 kB / 1.041 GB, free: 112 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.934e-06/0.4131, allocations: 0 / 1.041 GB, free: 112 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.4132, allocations: 0 / 1.041 GB, free: 112 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.4132, allocations: 0 / 1.041 GB, free: 112 kB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.4133, allocations: 31.91 kB / 1.041 GB, free: 80 kB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/0.4137, allocations: 248.9 kB / 1.041 GB, free: 15.79 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.038e-05/0.4138, allocations: 26.64 kB / 1.041 GB, free: 15.75 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.08e-05/0.4138, allocations: 4.859 kB / 1.041 GB, free: 15.74 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.4138, allocations: 4 kB / 1.041 GB, free: 15.74 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.4139, allocations: 38.55 kB / 1.041 GB, free: 15.69 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.4139, allocations: 0 / 1.041 GB, free: 15.69 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.000156/0.414, allocations: 41.64 kB / 1.041 GB, free: 15.64 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.4141, allocations: 51.41 kB / 1.041 GB, free: 15.58 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.4142, allocations: 109.8 kB / 1.041 GB, free: 15.46 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.4142, allocations: 25.7 kB / 1.041 GB, free: 15.43 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.267e-05/0.4143, allocations: 88.12 kB / 1.041 GB, free: 15.34 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.187e-05/0.4143, allocations: 15.97 kB / 1.041 GB, free: 15.33 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/0.4144, allocations: 9.719 kB / 1.041 GB, free: 15.31 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.4145, allocations: 314.8 kB / 1.042 GB, free: 15 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.706e-05/0.4145, allocations: 15.98 kB / 1.042 GB, free: 14.98 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.332e-05/0.4146, allocations: 7.984 kB / 1.042 GB, free: 14.97 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.522e-05/0.4147, allocations: 24.78 kB / 1.042 GB, free: 14.95 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.4147, allocations: 8 kB / 1.042 GB, free: 14.94 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001899/0.4149, allocations: 57.58 kB / 1.042 GB, free: 14.88 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.4149, allocations: 4 kB / 1.042 GB, free: 14.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.4149, allocations: 0 / 1.042 GB, free: 14.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.415, allocations: 4 kB / 1.042 GB, free: 14.87 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.4151, allocations: 7.984 kB / 1.042 GB, free: 14.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.4151, allocations: 0 / 1.042 GB, free: 14.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.4152, allocations: 19.92 kB / 1.042 GB, free: 14.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.4153, allocations: 0 / 1.042 GB, free: 14.84 MB / 0.698 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 7.682e-05/0.4153, allocations: 109.8 kB / 1.042 GB, free: 14.72 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.086e-05/0.4154, allocations: 4 kB / 1.042 GB, free: 14.72 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.707e-05/0.4154, allocations: 7.125 kB / 1.042 GB, free: 14.71 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4154, allocations: 3.938 kB / 1.042 GB, free: 14.71 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4154, allocations: 0 / 1.042 GB, free: 14.71 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.4154, allocations: 3.938 kB / 1.042 GB, free: 14.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.4156, allocations: 149.7 kB / 1.042 GB, free: 14.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.4156, allocations: 11.92 kB / 1.042 GB, free: 14.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.788e-05/0.4156, allocations: 8 kB / 1.042 GB, free: 14.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.4157, allocations: 4 kB / 1.042 GB, free: 14.48 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.4157, allocations: 0 / 1.042 GB, free: 14.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4157, allocations: 0 / 1.042 GB, free: 14.48 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.4157, allocations: 0 / 1.042 GB, free: 14.48 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.4158, allocations: 135.5 kB / 1.042 GB, free: 14.34 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.299e-05/0.4159, allocations: 85.12 kB / 1.042 GB, free: 14.23 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.4159, allocations: 0 / 1.042 GB, free: 14.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.56e-05/0.416, allocations: 4 kB / 1.042 GB, free: 14.23 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.864e-05/0.416, allocations: 0 / 1.042 GB, free: 14.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.416, allocations: 3.938 kB / 1.042 GB, free: 14.23 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.643e-05/0.4161, allocations: 95.58 kB / 1.042 GB, free: 14.13 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4161, allocations: 0 / 1.042 GB, free: 14.13 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000241/0.4164, allocations: 12 kB / 1.042 GB, free: 14.12 MB / 0.698 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.0001914/0.4166, allocations: 119.2 kB / 1.043 GB, free: 14 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001338/0.4167, allocations: 19.98 kB / 1.043 GB, free: 13.98 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4167, allocations: 0 / 1.043 GB, free: 13.98 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.408e-05/0.4168, allocations: 7.984 kB / 1.043 GB, free: 13.97 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.417, allocations: 7.375 kB / 1.043 GB, free: 13.96 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003583/0.4174, allocations: 160.8 kB / 1.043 GB, free: 13.78 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.4177, allocations: 0.6809 MB / 1.043 GB, free: 13.07 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.651e-05/0.4177, allocations: 15.42 kB / 1.043 GB, free: 13.06 MB / 0.698 GB Notification: Performance of SimCode: time 4.01e-07/0.4177, allocations: 0 / 1.043 GB, free: 13.06 MB / 0.698 GB Notification: Performance of Templates: time 0.002353/0.4201, allocations: 0.7925 MB / 1.044 GB, free: 12.27 MB / 0.698 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)