Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.79/1.79, allocations: 289.9 MB / 297.4 MB, free: 6.414 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001251/0.001251, allocations: 180.8 kB / 366.7 MB, free: 1.676 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.921/1.921, allocations: 205.2 MB / 0.626 GB, free: 7.129 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008901/0.00089, allocations: 84.73 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.639e-05/2.634e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7865/0.7865, allocations: 116.3 MB / 0.9733 GB, free: 76.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.02/5.807, allocations: 2.055 GB / 3.029 GB, free: 28.37 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003577/5.807, allocations: 90.95 kB / 3.029 GB, free: 28.32 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.05243/5.86, allocations: 26.51 MB / 3.055 GB, free: 4.484 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.415e-06/5.86, allocations: 0 / 3.055 GB, free: 4.484 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.125e-05/5.86, allocations: 0 / 3.055 GB, free: 4.484 MB / 0.948 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.0003694/5.86, allocations: 354.9 kB / 3.055 GB, free: 4.094 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.733e-05/5.86, allocations: 8.031 kB / 3.055 GB, free: 4.086 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004444/5.861, allocations: 39.83 kB / 3.055 GB, free: 4.047 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/5.861, allocations: 167.1 kB / 3.055 GB, free: 3.844 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/5.861, allocations: 0 / 3.055 GB, free: 3.844 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/5.861, allocations: 0 / 3.055 GB, free: 3.844 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.411e-05/5.861, allocations: 11.94 kB / 3.055 GB, free: 3.832 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.585e-05/5.861, allocations: 45.66 kB / 3.055 GB, free: 3.781 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/5.861, allocations: 0 / 3.055 GB, free: 3.781 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/5.861, allocations: 0 / 3.055 GB, free: 3.781 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/5.861, allocations: 3.953 kB / 3.055 GB, free: 3.777 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003247/5.861, allocations: 231.4 kB / 3.056 GB, free: 3.52 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.013e-05/5.861, allocations: 22.58 kB / 3.056 GB, free: 3.488 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.494e-05/5.861, allocations: 8.859 kB / 3.056 GB, free: 3.477 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/5.861, allocations: 4.062 kB / 3.056 GB, free: 3.473 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/5.861, allocations: 38.5 kB / 3.056 GB, free: 3.426 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/5.861, allocations: 3 kB / 3.056 GB, free: 3.426 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001361/5.862, allocations: 33.7 kB / 3.056 GB, free: 3.387 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/5.862, allocations: 55.36 kB / 3.056 GB, free: 3.32 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.012e-05/5.862, allocations: 101 kB / 3.056 GB, free: 3.215 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/5.862, allocations: 29.7 kB / 3.056 GB, free: 3.18 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.082e-05/5.862, allocations: 88.05 kB / 3.056 GB, free: 3.09 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.304e-06/5.862, allocations: 3.938 kB / 3.056 GB, free: 3.086 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-06/5.862, allocations: 0 / 3.056 GB, free: 3.086 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.814e-05/5.862, allocations: 314.9 kB / 3.056 GB, free: 2.77 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.958e-05/5.862, allocations: 7.984 kB / 3.056 GB, free: 2.762 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.449e-05/5.862, allocations: 8 kB / 3.056 GB, free: 2.754 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.514e-05/5.862, allocations: 4 kB / 3.056 GB, free: 2.75 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/5.862, allocations: 0 / 3.056 GB, free: 2.75 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.385e-05/5.862, allocations: 57.52 kB / 3.056 GB, free: 2.688 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/5.862, allocations: 4 kB / 3.056 GB, free: 2.684 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/5.862, allocations: 4 kB / 3.056 GB, free: 2.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/5.862, allocations: 0 / 3.056 GB, free: 2.68 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/5.862, allocations: 11.98 kB / 3.056 GB, free: 2.668 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/5.862, allocations: 0 / 3.056 GB, free: 2.668 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/5.862, allocations: 15.94 kB / 3.056 GB, free: 2.652 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/5.862, allocations: 0 / 3.056 GB, free: 2.652 MB / 0.948 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.726e-05/5.862, allocations: 101 kB / 3.056 GB, free: 2.547 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.754e-05/5.863, allocations: 37.69 kB / 3.057 GB, free: 2.504 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/5.863, allocations: 4 kB / 3.057 GB, free: 2.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.331e-05/5.863, allocations: 11.78 kB / 3.057 GB, free: 2.492 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/5.863, allocations: 3.938 kB / 3.057 GB, free: 2.488 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/5.863, allocations: 3.953 kB / 3.057 GB, free: 2.484 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/5.863, allocations: 3.938 kB / 3.057 GB, free: 2.48 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/5.863, allocations: 130.2 kB / 3.057 GB, free: 2.316 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/5.863, allocations: 0 / 3.057 GB, free: 2.316 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.264e-05/5.863, allocations: 4 kB / 3.057 GB, free: 2.312 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/5.863, allocations: 0 / 3.057 GB, free: 2.312 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.832e-06/5.863, allocations: 1.219 kB / 3.057 GB, free: 2.312 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/5.863, allocations: 1.375 kB / 3.057 GB, free: 2.312 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/5.863, allocations: 0 / 3.057 GB, free: 2.312 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.242e-05/5.863, allocations: 143.4 kB / 3.057 GB, free: 2.156 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.141e-05/5.863, allocations: 85.09 kB / 3.057 GB, free: 2.055 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/5.863, allocations: 0 / 3.057 GB, free: 2.055 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.957e-05/5.863, allocations: 4 kB / 3.057 GB, free: 2.051 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.597e-05/5.863, allocations: 0 / 3.057 GB, free: 2.051 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-06/5.863, allocations: 0 / 3.057 GB, free: 2.051 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.303e-05/5.863, allocations: 91.3 kB / 3.057 GB, free: 1.961 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.31e-07/5.863, allocations: 0 / 3.057 GB, free: 1.961 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002997/5.863, allocations: 47.98 kB / 3.057 GB, free: 1.914 MB / 0.948 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009017/5.864, allocations: 1.224 MB / 3.058 GB, free: 0.6758 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.93e-05/5.864, allocations: 23.08 kB / 3.058 GB, free: 0.6562 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/5.864, allocations: 0 / 3.058 GB, free: 0.6562 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.135e-06/5.864, allocations: 4 kB / 3.058 GB, free: 0.6523 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/5.865, allocations: 13.36 kB / 3.058 GB, free: 0.6406 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003486/5.865, allocations: 94.84 kB / 3.058 GB, free: 0.5117 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5489/6.414, allocations: 0.6732 MB / 3.059 GB, free: 332.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001484/6.414, allocations: 8.547 kB / 3.059 GB, free: 332.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.485e-05/6.414, allocations: 10.56 kB / 3.059 GB, free: 332.9 MB / 0.948 GB Notification: Performance of SimCode: time 2.034e-06/6.414, allocations: 0.5312 kB / 3.059 GB, free: 332.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03064/6.445, allocations: 5.472 MB / 3.064 GB, free: 332.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001704/6.445, allocations: 153.2 kB / 3.065 GB, free: 332.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.934/8.379, allocations: 0 / 3.065 GB, free: 332.4 MB / 0.948 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)