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.882/1.882, allocations: 292.6 MB / 307.5 MB, free: 5.176 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.001131/0.001131, allocations: 188.2 kB / 377.1 MB, free: 1.496 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.898/1.898, allocations: 205.4 MB / 0.6366 GB, free: 8.496 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.0009758/0.0009756, allocations: 91.23 kB / 0.7509 GB, free: 63.18 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003862/0.0003862, allocations: 8 kB / 0.8749 GB, free: 11.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3244, allocations: 116.3 MB / 0.9884 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.123/5.448, allocations: 2.056 GB / 3.045 GB, free: 165.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/5.448, allocations: 92.89 kB / 3.045 GB, free: 165 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.05015/5.498, allocations: 27.09 MB / 3.071 GB, free: 137.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.334e-06/5.498, allocations: 0 / 3.071 GB, free: 137.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.164e-06/5.498, allocations: 0 / 3.071 GB, free: 137.9 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.0003151/5.499, allocations: 360.8 kB / 3.072 GB, free: 137.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/5.499, allocations: 16.02 kB / 3.072 GB, free: 137.5 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.551e-05/5.499, allocations: 31.31 kB / 3.072 GB, free: 137.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004426/5.499, allocations: 39.81 kB / 3.072 GB, free: 137.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.261e-05/5.499, allocations: 163.1 kB / 3.072 GB, free: 137.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/5.499, allocations: 4 kB / 3.072 GB, free: 137.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/5.499, allocations: 3.938 kB / 3.072 GB, free: 137.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/5.5, allocations: 45.66 kB / 3.072 GB, free: 137.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/5.5, allocations: 4.875 kB / 3.072 GB, free: 137.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/5.5, allocations: 0 / 3.072 GB, free: 137.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/5.5, allocations: 0.6562 kB / 3.072 GB, free: 137.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/5.5, allocations: 27.92 kB / 3.072 GB, free: 137.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003271/5.5, allocations: 241 kB / 3.072 GB, free: 136.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.737e-05/5.5, allocations: 34.52 kB / 3.072 GB, free: 136.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.305e-06/5.5, allocations: 3.984 kB / 3.072 GB, free: 136.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.454e-05/5.5, allocations: 30.56 kB / 3.072 GB, free: 136.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/5.5, allocations: 0 / 3.072 GB, free: 136.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001507/5.5, allocations: 46.28 kB / 3.072 GB, free: 136.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/5.5, allocations: 51.41 kB / 3.072 GB, free: 136.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/5.5, allocations: 105.2 kB / 3.072 GB, free: 136.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/5.5, allocations: 25.7 kB / 3.072 GB, free: 136.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.881e-05/5.501, allocations: 91.97 kB / 3.072 GB, free: 136.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.846e-06/5.501, allocations: 7.906 kB / 3.072 GB, free: 136.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-06/5.501, allocations: 8.875 kB / 3.072 GB, free: 136.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.934e-05/5.501, allocations: 310.8 kB / 3.073 GB, free: 136.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.674e-05/5.501, allocations: 7.984 kB / 3.073 GB, free: 136.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.828e-05/5.501, allocations: 20.02 kB / 3.073 GB, free: 136.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.356e-05/5.501, allocations: 12 kB / 3.073 GB, free: 136 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/5.501, allocations: 0 / 3.073 GB, free: 136 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001632/5.501, allocations: 57.66 kB / 3.073 GB, free: 136 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/5.501, allocations: 4.781 kB / 3.073 GB, free: 136 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/5.501, allocations: 0 / 3.073 GB, free: 136 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/5.501, allocations: 4 kB / 3.073 GB, free: 136 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/5.501, allocations: 20.08 kB / 3.073 GB, free: 136 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/5.501, allocations: 3.953 kB / 3.073 GB, free: 136 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/5.501, allocations: 8 kB / 3.073 GB, free: 135.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/5.501, allocations: 3.984 kB / 3.073 GB, free: 135.9 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.773e-05/5.501, allocations: 109.8 kB / 3.073 GB, free: 135.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/5.501, allocations: 4 kB / 3.073 GB, free: 135.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.142e-05/5.501, allocations: 7.125 kB / 3.073 GB, free: 135.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/5.501, allocations: 4 kB / 3.073 GB, free: 135.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/5.501, allocations: 0 / 3.073 GB, free: 135.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/5.501, allocations: 3.953 kB / 3.073 GB, free: 135.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/5.502, allocations: 153.7 kB / 3.073 GB, free: 135.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/5.502, allocations: 0.9375 kB / 3.073 GB, free: 135.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.574e-05/5.502, allocations: 11.98 kB / 3.073 GB, free: 135.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/5.502, allocations: 0 / 3.073 GB, free: 135.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/5.502, allocations: 0 / 3.073 GB, free: 135.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/5.502, allocations: 0 / 3.073 GB, free: 135.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/5.502, allocations: 0 / 3.073 GB, free: 135.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.775e-05/5.502, allocations: 143.4 kB / 3.073 GB, free: 135.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.49e-05/5.502, allocations: 81.09 kB / 3.073 GB, free: 135.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/5.502, allocations: 0 / 3.073 GB, free: 135.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.784e-05/5.502, allocations: 4 kB / 3.073 GB, free: 135.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.703e-05/5.502, allocations: 8.953 kB / 3.073 GB, free: 135.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/5.502, allocations: 0 / 3.073 GB, free: 135.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 7.544e-05/5.502, allocations: 92.64 kB / 3.073 GB, free: 135.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/5.502, allocations: 4.031 kB / 3.073 GB, free: 135.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003534/5.502, allocations: 51.98 kB / 3.074 GB, free: 135.2 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 () * 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 (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.0008889/5.503, allocations: 1.128 MB / 3.075 GB, free: 134.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001514/5.503, allocations: 19.92 kB / 3.075 GB, free: 134 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/5.503, allocations: 0 / 3.075 GB, free: 134 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.259e-05/5.504, allocations: 8 kB / 3.075 GB, free: 134 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/5.504, allocations: 4 kB / 3.075 GB, free: 134 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005269/5.504, allocations: 173.7 kB / 3.075 GB, free: 133.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/5.504, allocations: 0.6819 MB / 3.075 GB, free: 133.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 8.174e-05/5.505, allocations: 4.938 kB / 3.075 GB, free: 133.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.05e-05/5.505, allocations: 11.44 kB / 3.076 GB, free: 133.1 MB / 0.948 GB Notification: Performance of SimCode: time 5.31e-07/5.505, allocations: 0 / 3.076 GB, free: 133.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02049/5.525, allocations: 10.41 MB / 3.086 GB, free: 122.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001798/5.525, allocations: 186.3 kB / 3.086 GB, free: 122.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.988/7.513, allocations: 0 / 3.086 GB, free: 122.6 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)