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.348/1.348, allocations: 252 MB / 267.3 MB, free: 10.86 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.0009498/0.0009498, allocations: 174.6 kB / 327 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 205.4 MB / 0.578 GB, free: 20.08 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.000702/0.000702, allocations: 84.5 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.0003552, allocations: 10.31 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1853, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001188/0.1865, allocations: 1.02 MB / 0.9019 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1456/0.3321, allocations: 143.8 MB / 1.042 GB, free: 14.02 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.714e-05/0.3322, allocations: 0 / 1.042 GB, free: 14.02 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.067e-05/0.3322, allocations: 3.938 kB / 1.042 GB, free: 14.02 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.041e-05/0.3323, allocations: 11.97 kB / 1.042 GB, free: 14.01 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003439/0.3326, allocations: 99.56 kB / 1.042 GB, free: 13.91 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.727e-05/0.3327, allocations: 19.86 kB / 1.042 GB, free: 13.89 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.481e-05/0.3327, allocations: 0 / 1.042 GB, free: 13.89 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.144e-05/0.3328, allocations: 7.938 kB / 1.042 GB, free: 13.88 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.259e-05/0.3328, allocations: 8 kB / 1.042 GB, free: 13.88 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.3328, allocations: 0 / 1.042 GB, free: 13.88 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004141/0.3332, allocations: 179.7 kB / 1.043 GB, free: 13.7 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.439e-05/0.3333, allocations: 4 kB / 1.043 GB, free: 13.7 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.257e-05/0.3333, allocations: 41.56 kB / 1.043 GB, free: 13.65 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.3335, allocations: 112 kB / 1.043 GB, free: 13.54 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.3335, allocations: 0 / 1.043 GB, free: 13.54 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3335, allocations: 0 / 1.043 GB, free: 13.54 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.3336, allocations: 0 / 1.043 GB, free: 13.54 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.0002935/0.3339, allocations: 343.5 kB / 1.043 GB, free: 13.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.3339, allocations: 12.03 kB / 1.043 GB, free: 13.14 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.722e-05/0.334, allocations: 34.75 kB / 1.043 GB, free: 13.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004935/0.3345, allocations: 32.89 kB / 1.043 GB, free: 13.07 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.3346, allocations: 184 kB / 1.043 GB, free: 12.85 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.3346, allocations: 0 / 1.043 GB, free: 12.85 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.3346, allocations: 0 / 1.043 GB, free: 12.85 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.3348, allocations: 53.61 kB / 1.043 GB, free: 12.79 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.3348, allocations: 0 / 1.043 GB, free: 12.79 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.3348, allocations: 0 / 1.043 GB, free: 12.79 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.3348, allocations: 0 / 1.043 GB, free: 12.79 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.3349, allocations: 19.97 kB / 1.043 GB, free: 12.77 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003278/0.3353, allocations: 260.8 kB / 1.044 GB, free: 12.47 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.893e-05/0.3353, allocations: 34.44 kB / 1.044 GB, free: 12.43 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.969e-05/0.3354, allocations: 8.922 kB / 1.044 GB, free: 12.41 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.833e-06/0.3354, allocations: 0 / 1.044 GB, free: 12.41 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.3354, allocations: 34.56 kB / 1.044 GB, free: 12.37 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.3354, allocations: 0 / 1.044 GB, free: 12.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001259/0.3355, allocations: 45.7 kB / 1.044 GB, free: 12.32 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.3356, allocations: 51.41 kB / 1.044 GB, free: 12.26 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.3357, allocations: 113.8 kB / 1.044 GB, free: 12.14 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.3357, allocations: 25.7 kB / 1.044 GB, free: 12.11 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.2e-05/0.3358, allocations: 88.05 kB / 1.044 GB, free: 12.02 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.28e-06/0.3358, allocations: 3.938 kB / 1.044 GB, free: 12.01 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-06/0.3358, allocations: 0 / 1.044 GB, free: 12.01 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.3359, allocations: 315 kB / 1.044 GB, free: 11.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.077e-05/0.336, allocations: 15.98 kB / 1.044 GB, free: 11.68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.235e-05/0.3361, allocations: 7.984 kB / 1.044 GB, free: 11.67 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.42e-05/0.3361, allocations: 24.84 kB / 1.044 GB, free: 11.64 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3362, allocations: 0 / 1.044 GB, free: 11.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000178/0.3363, allocations: 61.58 kB / 1.045 GB, free: 11.58 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.3364, allocations: 8 kB / 1.045 GB, free: 11.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.3364, allocations: 0 / 1.045 GB, free: 11.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.3364, allocations: 0 / 1.045 GB, free: 11.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.3365, allocations: 11.92 kB / 1.045 GB, free: 11.56 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.3365, allocations: 0 / 1.045 GB, free: 11.56 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.3367, allocations: 15.92 kB / 1.045 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.3367, allocations: 0 / 1.045 GB, free: 11.54 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.663e-05/0.3367, allocations: 113.8 kB / 1.045 GB, free: 11.42 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.3368, allocations: 4 kB / 1.045 GB, free: 11.42 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.638e-05/0.3368, allocations: 3.125 kB / 1.045 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.3368, allocations: 4.312 kB / 1.045 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.3368, allocations: 0 / 1.045 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3368, allocations: 3.938 kB / 1.045 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.337, allocations: 161.6 kB / 1.045 GB, free: 11.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.337, allocations: 0 / 1.045 GB, free: 11.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.421e-05/0.337, allocations: 4 kB / 1.045 GB, free: 11.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.337, allocations: 0 / 1.045 GB, free: 11.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.337, allocations: 4 kB / 1.045 GB, free: 11.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.337, allocations: 3.938 kB / 1.045 GB, free: 11.19 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.337, allocations: 0 / 1.045 GB, free: 11.19 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.435e-05/0.3371, allocations: 143.4 kB / 1.045 GB, free: 11.03 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.066e-05/0.3372, allocations: 81.02 kB / 1.045 GB, free: 10.93 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.3372, allocations: 0 / 1.045 GB, free: 10.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.504e-05/0.3373, allocations: 11.92 kB / 1.045 GB, free: 10.92 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.273e-05/0.3374, allocations: 11.97 kB / 1.045 GB, free: 10.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.3374, allocations: 4 kB / 1.045 GB, free: 10.91 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.254e-05/0.3375, allocations: 87.27 kB / 1.045 GB, free: 10.82 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3375, allocations: 0 / 1.045 GB, free: 10.82 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002142/0.3377, allocations: 16 kB / 1.045 GB, free: 10.8 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.0003952/0.3381, allocations: 0.6851 MB / 1.046 GB, free: 10.09 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001243/0.3382, allocations: 23.92 kB / 1.046 GB, free: 10.07 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3382, allocations: 0 / 1.046 GB, free: 10.07 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.05e-05/0.3382, allocations: 4 kB / 1.046 GB, free: 10.07 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.3385, allocations: 18.48 kB / 1.046 GB, free: 10.05 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003763/0.3389, allocations: 160.3 kB / 1.046 GB, free: 9.852 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.3391, allocations: 0.677 MB / 1.047 GB, free: 9.148 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.343e-05/0.3392, allocations: 4 kB / 1.047 GB, free: 9.145 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.084e-05/0.3393, allocations: 15.44 kB / 1.047 GB, free: 9.129 MB / 0.698 GB Notification: Performance of SimCode: time 2.786e-06/0.3393, allocations: 0 / 1.047 GB, free: 9.129 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01077/0.3501, allocations: 1.391 MB / 1.048 GB, free: 7.906 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002423/0.3503, allocations: 225.4 kB / 1.048 GB, free: 7.652 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.638/1.989, allocations: 3.938 kB / 1.048 GB, free: 7.648 MB / 0.698 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)