Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.757/1.757, allocations: 288.2 MB / 303.2 MB, free: 8.203 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.00149/0.00149, allocations: 185 kB / 371.8 MB, free: 10.27 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.625/1.625, allocations: 205.4 MB / 0.6305 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009241/0.0009238, allocations: 93.16 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003924/0.0003924, allocations: 12.06 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2209, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001204/0.2221, allocations: 0.9979 MB / 0.9804 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6474/0.8695, allocations: 124.8 MB / 1.102 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.249e-05/0.8696, allocations: 0 / 1.102 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 1.554e-05/0.8696, allocations: 0 / 1.102 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 6.038e-05/0.8697, allocations: 6.484 kB / 1.102 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003906/0.8701, allocations: 107.2 kB / 1.102 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 5.406e-05/0.8701, allocations: 15.41 kB / 1.102 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.756e-05/0.8702, allocations: 4.719 kB / 1.102 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 3.348e-05/0.8702, allocations: 6.875 kB / 1.102 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.616e-05/0.8703, allocations: 7.562 kB / 1.102 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.8703, allocations: 0 / 1.102 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004259/0.8707, allocations: 185.5 kB / 1.103 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 7.815e-06/0.8708, allocations: 7.75 kB / 1.103 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.8709, allocations: 27.92 kB / 1.103 GB, free: 18.6 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.8711, allocations: 86.42 kB / 1.103 GB, free: 18.59 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.8711, allocations: 0 / 1.103 GB, free: 18.59 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.903e-06/0.8711, allocations: 1.156 kB / 1.103 GB, free: 18.59 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.8711, allocations: 0 / 1.103 GB, free: 18.59 MB / 0.698 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.0003222/0.8714, allocations: 343.1 kB / 1.103 GB, free: 18.23 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.8715, allocations: 14.08 kB / 1.103 GB, free: 18.22 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.425e-05/0.8715, allocations: 33.28 kB / 1.103 GB, free: 18.18 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005546/0.8721, allocations: 44.08 kB / 1.103 GB, free: 18.17 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.8722, allocations: 162.6 kB / 1.103 GB, free: 17.98 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.8722, allocations: 2.938 kB / 1.103 GB, free: 17.98 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.8722, allocations: 0.9688 kB / 1.103 GB, free: 17.98 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.8724, allocations: 46.75 kB / 1.103 GB, free: 17.95 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.8724, allocations: 3.938 kB / 1.103 GB, free: 17.94 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.8724, allocations: 4.906 kB / 1.103 GB, free: 17.94 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.8725, allocations: 4 kB / 1.103 GB, free: 17.93 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.8726, allocations: 25.34 kB / 1.103 GB, free: 17.93 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003301/0.8729, allocations: 245.1 kB / 1.104 GB, free: 17.67 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.746e-05/0.873, allocations: 23.16 kB / 1.104 GB, free: 17.64 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.873, allocations: 3.984 kB / 1.104 GB, free: 17.64 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.873, allocations: 39.09 kB / 1.104 GB, free: 17.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.873, allocations: 3.938 kB / 1.104 GB, free: 17.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001484/0.8732, allocations: 43.78 kB / 1.104 GB, free: 17.56 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.8732, allocations: 52.47 kB / 1.104 GB, free: 17.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.8734, allocations: 107.4 kB / 1.104 GB, free: 17.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.8734, allocations: 25.7 kB / 1.104 GB, free: 17.37 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.822e-05/0.8734, allocations: 99.89 kB / 1.104 GB, free: 17.27 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.181e-06/0.8735, allocations: 5.938 kB / 1.104 GB, free: 17.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-06/0.8735, allocations: 0 / 1.104 GB, free: 17.27 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.8736, allocations: 314 kB / 1.104 GB, free: 16.96 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.211e-05/0.8737, allocations: 9.594 kB / 1.104 GB, free: 16.96 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.311e-05/0.8737, allocations: 10.83 kB / 1.104 GB, free: 16.96 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.753e-05/0.8738, allocations: 10.55 kB / 1.104 GB, free: 16.96 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.8738, allocations: 7.938 kB / 1.104 GB, free: 16.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001671/0.874, allocations: 55.83 kB / 1.104 GB, free: 16.92 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.874, allocations: 5.188 kB / 1.104 GB, free: 16.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.874, allocations: 1.094 kB / 1.104 GB, free: 16.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.874, allocations: 0 / 1.104 GB, free: 16.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.8741, allocations: 18.3 kB / 1.104 GB, free: 16.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.8741, allocations: 0 / 1.104 GB, free: 16.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.8743, allocations: 11.58 kB / 1.104 GB, free: 16.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.8743, allocations: 3.516 kB / 1.104 GB, free: 16.91 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.821e-05/0.8744, allocations: 113.1 kB / 1.105 GB, free: 16.79 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.8744, allocations: 1.219 kB / 1.105 GB, free: 16.79 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.958e-05/0.8745, allocations: 7.25 kB / 1.105 GB, free: 16.79 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.8745, allocations: 1.125 kB / 1.105 GB, free: 16.79 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.8745, allocations: 3.953 kB / 1.105 GB, free: 16.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.8745, allocations: 2.203 kB / 1.105 GB, free: 16.79 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.8746, allocations: 155.1 kB / 1.105 GB, free: 16.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.8746, allocations: 2.203 kB / 1.105 GB, free: 16.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.585e-05/0.8747, allocations: 6.438 kB / 1.105 GB, free: 16.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.8747, allocations: 1.094 kB / 1.105 GB, free: 16.59 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.8747, allocations: 0 / 1.105 GB, free: 16.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.8747, allocations: 1.219 kB / 1.105 GB, free: 16.59 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.8747, allocations: 0 / 1.105 GB, free: 16.59 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.62e-05/0.8748, allocations: 134.6 kB / 1.105 GB, free: 16.46 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.367e-05/0.8748, allocations: 98.86 kB / 1.105 GB, free: 16.35 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.8749, allocations: 0 / 1.105 GB, free: 16.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.384e-05/0.875, allocations: 2.281 kB / 1.105 GB, free: 16.35 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.768e-05/0.875, allocations: 3.438 kB / 1.105 GB, free: 16.35 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.875, allocations: 3.109 kB / 1.105 GB, free: 16.35 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.791e-05/0.8751, allocations: 90.09 kB / 1.105 GB, free: 16.28 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8751, allocations: 0 / 1.105 GB, free: 16.28 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002449/0.8754, allocations: 19.55 kB / 1.105 GB, free: 16.27 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 (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.0004085/0.8758, allocations: 0.6828 MB / 1.106 GB, free: 15.61 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001295/0.8759, allocations: 20 kB / 1.106 GB, free: 15.61 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.8759, allocations: 4.031 kB / 1.106 GB, free: 15.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.34e-05/0.8759, allocations: 9.406 kB / 1.106 GB, free: 15.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.8762, allocations: 5.438 kB / 1.106 GB, free: 15.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003969/0.8766, allocations: 166.2 kB / 1.106 GB, free: 15.45 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.8768, allocations: 0.6785 MB / 1.107 GB, free: 14.75 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.883e-05/0.8769, allocations: 11.48 kB / 1.107 GB, free: 14.74 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.248e-05/0.8769, allocations: 12.92 kB / 1.107 GB, free: 14.73 MB / 0.698 GB Notification: Performance of SimCode: time 2.11e-07/0.8769, allocations: 4 kB / 1.107 GB, free: 14.73 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01295/0.8899, allocations: 1.381 MB / 1.108 GB, free: 14.58 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001527/0.8901, allocations: 202.7 kB / 1.108 GB, free: 14.34 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.52/2.41, allocations: 9.031 kB / 1.108 GB, free: 14.34 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)