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.473/1.473, allocations: 252 MB / 267 MB, free: 10.96 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.00112/0.00112, allocations: 189 kB / 326.6 MB, free: 2.195 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.014/2.014, allocations: 205.4 MB / 0.5777 GB, free: 20.25 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.0007406/0.0007408, allocations: 99.53 kB / 0.6823 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003597/0.0003596, allocations: 11 kB / 0.7965 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2389, allocations: 106.4 MB / 0.9003 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001149/0.2401, allocations: 1.005 MB / 0.9013 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1361/0.3762, allocations: 134.1 MB / 1.032 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.536e-05/0.3763, allocations: 0 / 1.032 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 2.437e-05/0.3763, allocations: 0 / 1.032 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 5.451e-05/0.3764, allocations: 7.922 kB / 1.032 GB, free: 8.281 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004445/0.3768, allocations: 103.5 kB / 1.032 GB, free: 8.18 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 5.978e-05/0.3769, allocations: 19.88 kB / 1.032 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.249e-05/0.377, allocations: 3.984 kB / 1.032 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 3.78e-05/0.377, allocations: 8 kB / 1.032 GB, free: 8.148 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.286e-05/0.3771, allocations: 4 kB / 1.032 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.3771, allocations: 0 / 1.032 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004458/0.3775, allocations: 175.6 kB / 1.033 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 7.785e-06/0.3775, allocations: 0 / 1.033 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 3.38e-05/0.3776, allocations: 33.7 kB / 1.033 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.3778, allocations: 80.08 kB / 1.033 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.3778, allocations: 4 kB / 1.033 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3778, allocations: 0 / 1.033 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.3778, allocations: 0 / 1.033 GB, free: 7.852 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.0003117/0.3781, allocations: 339.4 kB / 1.033 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.3781, allocations: 8.031 kB / 1.033 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.499e-05/0.3782, allocations: 34.56 kB / 1.033 GB, free: 7.422 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000557/0.3787, allocations: 43.91 kB / 1.033 GB, free: 7.379 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.3789, allocations: 167 kB / 1.033 GB, free: 7.176 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-06/0.3789, allocations: 0 / 1.033 GB, free: 7.176 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.3789, allocations: 0 / 1.033 GB, free: 7.176 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.3791, allocations: 45.67 kB / 1.033 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.3791, allocations: 0 / 1.033 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.3791, allocations: 7.984 kB / 1.033 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.3791, allocations: 3.984 kB / 1.033 GB, free: 7.113 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.3793, allocations: 19.94 kB / 1.033 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003728/0.3796, allocations: 256.8 kB / 1.034 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.145e-05/0.3797, allocations: 30.44 kB / 1.034 GB, free: 6.754 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.246e-05/0.3797, allocations: 12.92 kB / 1.034 GB, free: 6.738 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.396e-06/0.3798, allocations: 0 / 1.034 GB, free: 6.738 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.3798, allocations: 34.56 kB / 1.034 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.3798, allocations: 4 kB / 1.034 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001504/0.3799, allocations: 45.59 kB / 1.034 GB, free: 6.641 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.38, allocations: 51.41 kB / 1.034 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.3801, allocations: 113.8 kB / 1.034 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.3802, allocations: 25.7 kB / 1.034 GB, free: 6.426 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.715e-05/0.3802, allocations: 88.27 kB / 1.034 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.022e-05/0.3802, allocations: 11.83 kB / 1.034 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/0.3802, allocations: 0 / 1.034 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.3803, allocations: 314.8 kB / 1.034 GB, free: 6.008 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.024e-05/0.3804, allocations: 11.98 kB / 1.034 GB, free: 5.996 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.347e-05/0.3805, allocations: 7.984 kB / 1.034 GB, free: 5.988 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.788e-05/0.3806, allocations: 15.98 kB / 1.034 GB, free: 5.973 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.3806, allocations: 4 kB / 1.034 GB, free: 5.969 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001806/0.3808, allocations: 57.67 kB / 1.034 GB, free: 5.906 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.3808, allocations: 4 kB / 1.034 GB, free: 5.902 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3808, allocations: 0 / 1.034 GB, free: 5.902 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.3808, allocations: 3.938 kB / 1.034 GB, free: 5.898 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.3809, allocations: 15.94 kB / 1.034 GB, free: 5.883 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3809, allocations: 0 / 1.034 GB, free: 5.883 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.3811, allocations: 19.89 kB / 1.034 GB, free: 5.863 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.3811, allocations: 0 / 1.034 GB, free: 5.863 MB / 0.6823 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 0.0001041/0.3812, allocations: 109.8 kB / 1.034 GB, free: 5.746 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/0.3813, allocations: 0 / 1.034 GB, free: 5.746 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.016e-05/0.3813, allocations: 7.125 kB / 1.034 GB, free: 5.738 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.3813, allocations: 3.984 kB / 1.034 GB, free: 5.734 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3813, allocations: 7.953 kB / 1.034 GB, free: 5.727 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3813, allocations: 0 / 1.034 GB, free: 5.727 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.3815, allocations: 153.7 kB / 1.035 GB, free: 5.527 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.3815, allocations: 0 / 1.035 GB, free: 5.527 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.51e-05/0.3815, allocations: 0 / 1.035 GB, free: 5.527 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3815, allocations: 0 / 1.035 GB, free: 5.527 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.3815, allocations: 4 kB / 1.035 GB, free: 5.523 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3815, allocations: 0 / 1.035 GB, free: 5.523 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3815, allocations: 0 / 1.035 GB, free: 5.523 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.998e-05/0.3816, allocations: 143.4 kB / 1.035 GB, free: 5.367 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.028e-05/0.3817, allocations: 85.14 kB / 1.035 GB, free: 5.266 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.3817, allocations: 0 / 1.035 GB, free: 5.266 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.911e-05/0.3818, allocations: 3.984 kB / 1.035 GB, free: 5.262 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.631e-05/0.3818, allocations: 8.266 kB / 1.035 GB, free: 5.254 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.3818, allocations: 0 / 1.035 GB, free: 5.254 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.66e-05/0.3819, allocations: 95.25 kB / 1.035 GB, free: 5.16 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.703e-06/0.382, allocations: 0 / 1.035 GB, free: 5.16 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002305/0.3822, allocations: 23.89 kB / 1.035 GB, free: 5.137 MB / 0.6823 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.0003966/0.3826, allocations: 0.685 MB / 1.036 GB, free: 4.426 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001238/0.3827, allocations: 19.92 kB / 1.036 GB, free: 4.406 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3827, allocations: 0 / 1.036 GB, free: 4.406 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.317e-05/0.3828, allocations: 8.031 kB / 1.036 GB, free: 4.398 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.3831, allocations: 9.688 kB / 1.036 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004182/0.3835, allocations: 164.2 kB / 1.036 GB, free: 4.188 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.3837, allocations: 0.6809 MB / 1.037 GB, free: 3.48 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.118e-05/0.3838, allocations: 8.062 kB / 1.037 GB, free: 3.473 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.967e-05/0.3838, allocations: 7.438 kB / 1.037 GB, free: 3.465 MB / 0.6823 GB Notification: Performance of SimCode: time 2.31e-07/0.3838, allocations: 0 / 1.037 GB, free: 3.465 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01134/0.3952, allocations: 1.384 MB / 1.038 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/0.3954, allocations: 214.2 kB / 1.038 GB, free: 2.02 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.509/1.904, allocations: 4 kB / 1.038 GB, free: 2.016 MB / 0.6823 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)