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.475/1.475, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0009706/0.0009706, allocations: 174.3 kB / 325.8 MB, free: 2.684 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.695/1.695, allocations: 205 MB / 0.576 GB, free: 21.03 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.0007546/0.0007545, allocations: 78.02 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003027/0.0003028, allocations: 10.84 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.185, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001195/0.1863, allocations: 1.018 MB / 0.8972 GB, free: 67.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1332/0.3194, allocations: 145.4 MB / 1.039 GB, free: 1.117 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.628e-05/0.3195, allocations: 0 / 1.039 GB, free: 1.117 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 2.194e-05/0.3195, allocations: 7.984 kB / 1.039 GB, free: 1.109 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 5.111e-05/0.3196, allocations: 7.938 kB / 1.039 GB, free: 1.102 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/0.32, allocations: 95.61 kB / 1.039 GB, free: 1.008 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 5.015e-05/0.32, allocations: 19.88 kB / 1.039 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.2e-05/0.3201, allocations: 0 / 1.039 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 3.08e-05/0.3201, allocations: 4 kB / 1.039 GB, free: 0.9844 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 3.439e-05/0.3201, allocations: 11.92 kB / 1.039 GB, free: 0.9727 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.3202, allocations: 0 / 1.039 GB, free: 0.9727 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003736/0.3205, allocations: 191.6 kB / 1.039 GB, free: 0.7852 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 9.708e-06/0.3206, allocations: 0 / 1.039 GB, free: 0.7852 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 2.11e-05/0.3206, allocations: 7.938 kB / 1.039 GB, free: 0.7773 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.3208, allocations: 107.8 kB / 1.04 GB, free: 0.6719 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3208, allocations: 0 / 1.04 GB, free: 0.6719 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.384e-06/0.3208, allocations: 4 kB / 1.04 GB, free: 0.668 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.3208, allocations: 0 / 1.04 GB, free: 0.668 MB / 0.6823 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.0002887/0.3211, allocations: 339.5 kB / 1.04 GB, free: 296 kB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.3212, allocations: 12.03 kB / 1.04 GB, free: 284 kB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.305e-05/0.3212, allocations: 38.67 kB / 1.04 GB, free: 236 kB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005221/0.3217, allocations: 36.89 kB / 1.04 GB, free: 200 kB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.3219, allocations: 176.2 kB / 1.04 GB, free: 15.98 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.3219, allocations: 3.938 kB / 1.04 GB, free: 15.98 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.3219, allocations: 0 / 1.04 GB, free: 15.98 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.3221, allocations: 49.67 kB / 1.04 GB, free: 15.92 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.032e-06/0.3221, allocations: 0 / 1.04 GB, free: 15.92 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.3221, allocations: 0 / 1.04 GB, free: 15.92 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3221, allocations: 4 kB / 1.04 GB, free: 15.92 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.3222, allocations: 15.97 kB / 1.04 GB, free: 15.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003325/0.3226, allocations: 256.8 kB / 1.04 GB, free: 15.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.572e-05/0.3226, allocations: 30.56 kB / 1.041 GB, free: 15.56 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.218e-05/0.3227, allocations: 8.922 kB / 1.041 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.234e-06/0.3227, allocations: 0 / 1.041 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.3227, allocations: 34.56 kB / 1.041 GB, free: 15.51 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.3227, allocations: 0 / 1.041 GB, free: 15.51 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001351/0.3228, allocations: 41.64 kB / 1.041 GB, free: 15.46 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.3229, allocations: 59.53 kB / 1.041 GB, free: 15.39 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.323, allocations: 121.7 kB / 1.041 GB, free: 15.26 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.323, allocations: 25.7 kB / 1.041 GB, free: 15.23 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.9e-05/0.3231, allocations: 80.14 kB / 1.041 GB, free: 15.15 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.256e-06/0.3231, allocations: 7.844 kB / 1.041 GB, free: 15.14 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.352e-05/0.3231, allocations: 9.719 kB / 1.041 GB, free: 15.12 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.965e-05/0.3232, allocations: 318.8 kB / 1.041 GB, free: 14.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.903e-05/0.3233, allocations: 11.98 kB / 1.041 GB, free: 14.79 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.542e-05/0.3234, allocations: 11.98 kB / 1.041 GB, free: 14.78 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.035e-05/0.3234, allocations: 20.84 kB / 1.041 GB, free: 14.76 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3234, allocations: 0 / 1.041 GB, free: 14.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001713/0.3236, allocations: 65.52 kB / 1.041 GB, free: 14.69 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.3236, allocations: 6.812 kB / 1.041 GB, free: 14.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3237, allocations: 4 kB / 1.041 GB, free: 14.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.3237, allocations: 0 / 1.041 GB, free: 14.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.848e-05/0.3238, allocations: 11.98 kB / 1.041 GB, free: 14.67 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.3238, allocations: 0 / 1.041 GB, free: 14.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.3239, allocations: 12.25 kB / 1.041 GB, free: 14.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.3239, allocations: 0 / 1.041 GB, free: 14.66 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.288e-05/0.324, allocations: 113.8 kB / 1.041 GB, free: 14.54 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.3241, allocations: 4 kB / 1.041 GB, free: 14.53 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.996e-05/0.3241, allocations: 11.09 kB / 1.041 GB, free: 14.52 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.3241, allocations: 0 / 1.041 GB, free: 14.52 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3241, allocations: 4 kB / 1.041 GB, free: 14.52 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3241, allocations: 3.938 kB / 1.041 GB, free: 14.51 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.3242, allocations: 153.7 kB / 1.042 GB, free: 14.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3243, allocations: 4 kB / 1.042 GB, free: 14.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.191e-05/0.3243, allocations: 0 / 1.042 GB, free: 14.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.3243, allocations: 3.938 kB / 1.042 GB, free: 14.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.3243, allocations: 4 kB / 1.042 GB, free: 14.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3243, allocations: 4 kB / 1.042 GB, free: 14.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3243, allocations: 3.938 kB / 1.042 GB, free: 14.29 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.795e-05/0.3244, allocations: 135.5 kB / 1.042 GB, free: 14.14 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.498e-05/0.3245, allocations: 81.11 kB / 1.042 GB, free: 14.05 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.3245, allocations: 0 / 1.042 GB, free: 14.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.16e-05/0.3246, allocations: 0 / 1.042 GB, free: 14.05 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.516e-05/0.3246, allocations: 7.922 kB / 1.042 GB, free: 14.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.3246, allocations: 11.97 kB / 1.042 GB, free: 14.03 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.251e-05/0.3247, allocations: 91.27 kB / 1.042 GB, free: 13.94 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3247, allocations: 0 / 1.042 GB, free: 13.94 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002132/0.3249, allocations: 16 kB / 1.042 GB, free: 13.92 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.0004052/0.3253, allocations: 0.6812 MB / 1.043 GB, free: 13.21 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001172/0.3255, allocations: 19.98 kB / 1.043 GB, free: 13.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3255, allocations: 0 / 1.043 GB, free: 13.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.181e-05/0.3255, allocations: 7.984 kB / 1.043 GB, free: 13.19 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.3258, allocations: 7.938 kB / 1.043 GB, free: 13.18 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003968/0.3262, allocations: 164 kB / 1.043 GB, free: 12.98 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.3264, allocations: 0.6731 MB / 1.043 GB, free: 12.29 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.505e-05/0.3265, allocations: 11.98 kB / 1.043 GB, free: 12.27 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.798e-05/0.3265, allocations: 15.38 kB / 1.043 GB, free: 12.26 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/0.3266, allocations: 0 / 1.043 GB, free: 12.26 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01052/0.3371, allocations: 1.387 MB / 1.045 GB, free: 11.04 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/0.3373, allocations: 229.5 kB / 1.045 GB, free: 10.79 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.656/1.993, allocations: 1.875 kB / 1.045 GB, free: 10.79 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)