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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.57/1.57, allocations: 249.3 MB / 261.8 MB, free: 5.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 176.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205.2 MB / 0.572 GB, free: 10.64 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.0008546/0.0008545, allocations: 93.27 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.441e-05/3.443e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2532, allocations: 106.3 MB / 0.8919 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.875/6.129, allocations: 2.173 GB / 3.065 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/6.129, allocations: 87.94 kB / 3.065 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0522/6.181, allocations: 26.64 MB / 3.091 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.804e-06/6.181, allocations: 0 / 3.091 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.668e-06/6.181, allocations: 8 kB / 3.091 GB, free: 170.2 MB / 0.8698 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.0002838/6.182, allocations: 342.4 kB / 3.092 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/6.182, allocations: 12.03 kB / 3.092 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.865e-05/6.182, allocations: 42.5 kB / 3.092 GB, free: 169.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004482/6.182, allocations: 31.97 kB / 3.092 GB, free: 169.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.863e-05/6.182, allocations: 163.1 kB / 3.092 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/6.182, allocations: 0 / 3.092 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/6.182, allocations: 0 / 3.092 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/6.182, allocations: 49.61 kB / 3.092 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/6.182, allocations: 0 / 3.092 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/6.183, allocations: 0 / 3.092 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/6.183, allocations: 3.953 kB / 3.092 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.182e-05/6.183, allocations: 11.98 kB / 3.092 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003619/6.183, allocations: 252.9 kB / 3.092 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.183e-05/6.183, allocations: 22.58 kB / 3.092 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.603e-05/6.183, allocations: 16.91 kB / 3.092 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/6.183, allocations: 3.938 kB / 3.092 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/6.183, allocations: 38.45 kB / 3.092 GB, free: 169 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/6.183, allocations: 4 kB / 3.092 GB, free: 169 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001305/6.183, allocations: 37.69 kB / 3.092 GB, free: 169 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/6.183, allocations: 51.41 kB / 3.092 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.035e-05/6.183, allocations: 97 kB / 3.092 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.476e-06/6.183, allocations: 25.7 kB / 3.092 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.493e-05/6.183, allocations: 88.12 kB / 3.092 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.506e-06/6.183, allocations: 11.84 kB / 3.092 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.6e-06/6.183, allocations: 0 / 3.092 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.681e-05/6.183, allocations: 314.9 kB / 3.093 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.123e-05/6.184, allocations: 8 kB / 3.093 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.777e-05/6.184, allocations: 11.92 kB / 3.093 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.143e-05/6.184, allocations: 4 kB / 3.093 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/6.184, allocations: 0 / 3.093 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001023/6.184, allocations: 49.67 kB / 3.093 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/6.184, allocations: 11.94 kB / 3.093 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/6.184, allocations: 0 / 3.093 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/6.184, allocations: 3.953 kB / 3.093 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/6.184, allocations: 15.98 kB / 3.093 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/6.184, allocations: 0 / 3.093 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/6.184, allocations: 4 kB / 3.093 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/6.184, allocations: 3.984 kB / 3.093 GB, free: 168.3 MB / 0.8698 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 4.614e-05/6.184, allocations: 105 kB / 3.093 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/6.184, allocations: 3.906 kB / 3.093 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.253e-05/6.184, allocations: 11.08 kB / 3.093 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/6.184, allocations: 3.953 kB / 3.093 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/6.184, allocations: 8 kB / 3.093 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/6.184, allocations: 0 / 3.093 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/6.184, allocations: 153.6 kB / 3.093 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/6.184, allocations: 0 / 3.093 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.248e-05/6.184, allocations: 4 kB / 3.093 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/6.184, allocations: 0 / 3.093 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/6.184, allocations: 4 kB / 3.093 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/6.184, allocations: 3.984 kB / 3.093 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/6.184, allocations: 7.953 kB / 3.093 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.424e-05/6.184, allocations: 131.6 kB / 3.093 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.733e-05/6.184, allocations: 85.03 kB / 3.093 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/6.185, allocations: 4 kB / 3.093 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.81e-05/6.185, allocations: 0 / 3.093 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.381e-05/6.185, allocations: 0 / 3.093 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-06/6.185, allocations: 7.953 kB / 3.093 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.872e-05/6.185, allocations: 87.59 kB / 3.093 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/6.185, allocations: 0 / 3.093 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003637/6.185, allocations: 56.02 kB / 3.094 GB, free: 167.5 MB / 0.8698 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.0009133/6.186, allocations: 1.141 MB / 3.095 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 9.077e-05/6.186, allocations: 12 kB / 3.095 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/6.186, allocations: 4 kB / 3.095 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.101e-05/6.186, allocations: 7.938 kB / 3.095 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/6.186, allocations: 11.98 kB / 3.095 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003385/6.187, allocations: 95.78 kB / 3.095 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001462/6.187, allocations: 0.6809 MB / 3.095 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 7.641e-05/6.187, allocations: 8.062 kB / 3.095 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.622e-05/6.187, allocations: 11.42 kB / 3.095 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of SimCode: time 4.91e-07/6.187, allocations: 4 kB / 3.095 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02674/6.214, allocations: 12.12 MB / 3.107 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002425/6.214, allocations: 171.6 kB / 3.107 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.009/8.223, allocations: 4.062 kB / 3.107 GB, free: 153.2 MB / 0.8698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)