Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.001391, allocations: 199.2 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001976/0.001976, allocations: 278.8 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8836/0.8836, allocations: 169.2 MB / 0.4977 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 98.8 kB / 0.5946 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.194, allocations: 86.99 MB / 0.6796 GB, free: 1.047 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002135/0.1961, allocations: 1.335 MB / 0.6809 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4781/0.6743, allocations: 145.3 MB / 0.8228 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.087e-05/0.6743, allocations: 0 / 0.8228 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.82e-05/0.6744, allocations: 0 / 0.8228 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.026e-05/0.6744, allocations: 14.33 kB / 0.8228 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/0.6748, allocations: 101.1 kB / 0.8229 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.339e-05/0.6748, allocations: 15.78 kB / 0.8229 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.815e-05/0.6749, allocations: 6.047 kB / 0.8229 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.188e-05/0.6749, allocations: 7.469 kB / 0.8229 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.09e-05/0.6749, allocations: 7.594 kB / 0.8229 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.6749, allocations: 1.438 kB / 0.8229 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003542/0.6753, allocations: 179.7 kB / 0.8231 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.376e-06/0.6753, allocations: 1.312 kB / 0.8231 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.122e-05/0.6753, allocations: 8.344 kB / 0.8231 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.6755, allocations: 120 kB / 0.8232 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.6756, allocations: 3.938 kB / 0.8232 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6756, allocations: 0 / 0.8232 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.6756, allocations: 1.219 kB / 0.8232 GB, free: 1.125 MB / 0.5606 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.0003282/0.6759, allocations: 346.5 kB / 0.8236 GB, free: 16.76 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.676, allocations: 8.75 kB / 0.8236 GB, free: 16.76 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.599e-05/0.676, allocations: 32.16 kB / 0.8236 GB, free: 16.72 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005249/0.6765, allocations: 42.34 kB / 0.8236 GB, free: 16.72 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.6766, allocations: 166.8 kB / 0.8238 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.256e-06/0.6766, allocations: 5.094 kB / 0.8238 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.6767, allocations: 1.406 kB / 0.8238 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.6768, allocations: 50.41 kB / 0.8239 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.6768, allocations: 5.781 kB / 0.8239 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.6768, allocations: 2.391 kB / 0.8239 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.6769, allocations: 1.562 kB / 0.8239 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.677, allocations: 14.84 kB / 0.8239 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003002/0.6773, allocations: 251.5 kB / 0.8241 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.445e-05/0.6773, allocations: 27.52 kB / 0.8241 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.134e-05/0.6774, allocations: 14.95 kB / 0.8242 GB, free: 16.17 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.366e-06/0.6774, allocations: 0.5 kB / 0.8242 GB, free: 16.17 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.6774, allocations: 34.42 kB / 0.8242 GB, free: 16.13 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/0.6774, allocations: 3.984 kB / 0.8242 GB, free: 16.13 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0001331/0.6775, allocations: 39.48 kB / 0.8242 GB, free: 16.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.6776, allocations: 52 kB / 0.8243 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.6777, allocations: 118.2 kB / 0.8244 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.6777, allocations: 25.7 kB / 0.8244 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.454e-05/0.6778, allocations: 89.05 kB / 0.8245 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.332e-06/0.6778, allocations: 5.188 kB / 0.8245 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.6778, allocations: 21.58 kB / 0.8245 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.231e-05/0.6779, allocations: 319.8 kB / 0.8248 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.708e-05/0.678, allocations: 22.53 kB / 0.8249 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.794e-05/0.6781, allocations: 8.25 kB / 0.8249 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.26e-05/0.6781, allocations: 22.86 kB / 0.8249 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.6782, allocations: 0 / 0.8249 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001819/0.6783, allocations: 56.95 kB / 0.8249 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.6784, allocations: 5.312 kB / 0.8249 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.6784, allocations: 4.562 kB / 0.8249 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.6784, allocations: 0.5 kB / 0.8249 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.6785, allocations: 11.09 kB / 0.825 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.6785, allocations: 0 / 0.825 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.6787, allocations: 15.8 kB / 0.825 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.6787, allocations: 5.219 kB / 0.825 GB, free: 15.41 MB / 0.5762 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 6.362e-05/0.6788, allocations: 112.4 kB / 0.8251 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.6788, allocations: 7.328 kB / 0.8251 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.587e-05/0.6788, allocations: 4.25 kB / 0.8251 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.6788, allocations: 0.5938 kB / 0.8251 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.6788, allocations: 0.5625 kB / 0.8251 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.6788, allocations: 3.938 kB / 0.8251 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.6789, allocations: 154.2 kB / 0.8252 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.679, allocations: 0 / 0.8252 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.582e-05/0.679, allocations: 4.188 kB / 0.8253 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.679, allocations: 0.9688 kB / 0.8253 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-06/0.679, allocations: 0 / 0.8253 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.679, allocations: 0.5312 kB / 0.8253 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.679, allocations: 4.531 kB / 0.8253 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.554e-05/0.6791, allocations: 142.4 kB / 0.8254 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.983e-05/0.6792, allocations: 84.55 kB / 0.8255 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.6792, allocations: 0.5 kB / 0.8255 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.949e-05/0.6793, allocations: 4.797 kB / 0.8255 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.383e-05/0.6793, allocations: 1.062 kB / 0.8255 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.6793, allocations: 8.719 kB / 0.8255 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.435e-05/0.6794, allocations: 89.14 kB / 0.8256 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6794, allocations: 0 / 0.8256 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002373/0.6797, allocations: 14.25 kB / 0.8256 GB, free: 14.78 MB / 0.5762 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.0003671/0.68, allocations: 0.684 MB / 0.8263 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001224/0.6802, allocations: 24.77 kB / 0.8263 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.6802, allocations: 0 / 0.8263 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.379e-05/0.6802, allocations: 3.875 kB / 0.8263 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.6805, allocations: 11.84 kB / 0.8263 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003816/0.6809, allocations: 163.8 kB / 0.8264 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001919/0.6811, allocations: 0.6749 MB / 0.8271 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.394e-05/0.6812, allocations: 14.92 kB / 0.8271 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.873e-05/0.6812, allocations: 11.59 kB / 0.8271 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of SimCode: time 3.2e-07/0.6812, allocations: 1 kB / 0.8271 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.00991/0.6911, allocations: 1.46 MB / 0.8286 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001461/0.6913, allocations: 227.1 kB / 0.8288 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.612/2.303, allocations: 4.969 kB / 0.8288 GB, free: 12.77 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)