Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.000948/0.000948, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.0009326/0.0009328, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9913/0.9913, allocations: 143.3 MB / 434.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003554, allocations: 12 kB / 0.5159 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.1933, allocations: 83.41 MB / 0.5974 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.00131/0.1947, allocations: 0.994 MB / 0.5983 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4749/0.6696, allocations: 124.8 MB / 0.7202 GB, free: 6.777 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.241e-05/0.6697, allocations: 0 / 0.7202 GB, free: 6.777 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.691e-05/0.6697, allocations: 0.5156 kB / 0.7202 GB, free: 6.777 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.109e-05/0.6698, allocations: 10.66 kB / 0.7202 GB, free: 6.77 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004972/0.6703, allocations: 102.5 kB / 0.7203 GB, free: 6.719 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.318e-05/0.6704, allocations: 15.83 kB / 0.7203 GB, free: 6.711 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.512e-05/0.6704, allocations: 3.094 kB / 0.7204 GB, free: 6.711 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.549e-05/0.6705, allocations: 8.188 kB / 0.7204 GB, free: 6.707 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.668e-05/0.6705, allocations: 11.94 kB / 0.7204 GB, free: 6.699 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.6705, allocations: 1.188 kB / 0.7204 GB, free: 6.699 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005051/0.671, allocations: 182.5 kB / 0.7205 GB, free: 6.656 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.307e-05/0.6711, allocations: 11.47 kB / 0.7206 GB, free: 6.648 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.051e-05/0.6711, allocations: 27.83 kB / 0.7206 GB, free: 6.617 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.6713, allocations: 75.59 kB / 0.7207 GB, free: 6.605 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.6713, allocations: 0 / 0.7207 GB, free: 6.605 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.462e-06/0.6713, allocations: 0 / 0.7207 GB, free: 6.605 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.6713, allocations: 1.281 kB / 0.7207 GB, free: 6.605 MB / 0.545 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.0003192/0.6716, allocations: 348.4 kB / 0.721 GB, free: 6.242 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.6717, allocations: 9.438 kB / 0.721 GB, free: 6.242 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.773e-05/0.6717, allocations: 38.5 kB / 0.721 GB, free: 6.195 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005521/0.6723, allocations: 34.98 kB / 0.7211 GB, free: 6.195 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.6724, allocations: 165.2 kB / 0.7212 GB, free: 6 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.083e-06/0.6724, allocations: 0.9688 kB / 0.7212 GB, free: 6 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.6725, allocations: 9.766 kB / 0.7212 GB, free: 5.992 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.6726, allocations: 47.91 kB / 0.7213 GB, free: 5.957 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.6727, allocations: 1 kB / 0.7213 GB, free: 5.957 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.6727, allocations: 0 / 0.7213 GB, free: 5.957 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.6727, allocations: 6 kB / 0.7213 GB, free: 5.953 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.6728, allocations: 17.28 kB / 0.7213 GB, free: 5.953 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003838/0.6732, allocations: 259.4 kB / 0.7216 GB, free: 5.672 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.429e-05/0.6733, allocations: 24.34 kB / 0.7216 GB, free: 5.648 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.386e-06/0.6733, allocations: 0 / 0.7216 GB, free: 5.648 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.6733, allocations: 32.22 kB / 0.7216 GB, free: 5.609 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.6733, allocations: 0 / 0.7216 GB, free: 5.609 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001581/0.6735, allocations: 45.66 kB / 0.7216 GB, free: 5.57 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.6735, allocations: 57.12 kB / 0.7217 GB, free: 5.504 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.6737, allocations: 116.2 kB / 0.7218 GB, free: 5.395 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.6737, allocations: 26.92 kB / 0.7218 GB, free: 5.363 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.951e-05/0.6738, allocations: 84.66 kB / 0.7219 GB, free: 5.277 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.038e-05/0.6738, allocations: 11.02 kB / 0.7219 GB, free: 5.27 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-06/0.6738, allocations: 0 / 0.7219 GB, free: 5.27 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.6739, allocations: 316.2 kB / 0.7222 GB, free: 4.953 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.741e-05/0.674, allocations: 13.84 kB / 0.7222 GB, free: 4.949 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.822e-05/0.674, allocations: 9.047 kB / 0.7223 GB, free: 4.949 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.281e-05/0.6741, allocations: 8.828 kB / 0.7223 GB, free: 4.949 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.6741, allocations: 0 / 0.7223 GB, free: 4.949 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001949/0.6743, allocations: 57.81 kB / 0.7223 GB, free: 4.914 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.6744, allocations: 8.812 kB / 0.7223 GB, free: 4.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.6744, allocations: 5.625 kB / 0.7223 GB, free: 4.906 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.6744, allocations: 0 / 0.7223 GB, free: 4.906 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.6745, allocations: 9.516 kB / 0.7223 GB, free: 4.906 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.6745, allocations: 1.062 kB / 0.7223 GB, free: 4.906 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.6747, allocations: 12.06 kB / 0.7224 GB, free: 4.902 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.6747, allocations: 5.703 kB / 0.7224 GB, free: 4.898 MB / 0.545 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 8.699e-05/0.6748, allocations: 108.7 kB / 0.7225 GB, free: 4.785 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.448e-05/0.6748, allocations: 5.031 kB / 0.7225 GB, free: 4.781 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.579e-05/0.6749, allocations: 5.328 kB / 0.7225 GB, free: 4.781 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.6749, allocations: 0 / 0.7225 GB, free: 4.781 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.6749, allocations: 1.062 kB / 0.7225 GB, free: 4.781 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.6749, allocations: 0.6094 kB / 0.7225 GB, free: 4.781 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.6751, allocations: 157.5 kB / 0.7226 GB, free: 4.586 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.6751, allocations: 0.6094 kB / 0.7226 GB, free: 4.586 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.775e-05/0.6751, allocations: 3.625 kB / 0.7226 GB, free: 4.586 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.6751, allocations: 6.203 kB / 0.7226 GB, free: 4.582 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.6751, allocations: 0 / 0.7226 GB, free: 4.582 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.6751, allocations: 0 / 0.7226 GB, free: 4.582 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.6751, allocations: 5.062 kB / 0.7226 GB, free: 4.578 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.6753, allocations: 143.7 kB / 0.7228 GB, free: 4.434 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.428e-05/0.6754, allocations: 90.44 kB / 0.7229 GB, free: 4.332 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.6754, allocations: 0.9688 kB / 0.7229 GB, free: 4.332 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.665e-05/0.6755, allocations: 2.406 kB / 0.7229 GB, free: 4.332 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.554e-05/0.6755, allocations: 1.953 kB / 0.7229 GB, free: 4.332 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.6755, allocations: 6.625 kB / 0.7229 GB, free: 4.328 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.959e-05/0.6756, allocations: 90.5 kB / 0.723 GB, free: 4.25 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6756, allocations: 0 / 0.723 GB, free: 4.25 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002653/0.6759, allocations: 13.02 kB / 0.723 GB, free: 4.25 MB / 0.545 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.0004937/0.6764, allocations: 0.6902 MB / 0.7236 GB, free: 3.574 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000138/0.6765, allocations: 20.17 kB / 0.7237 GB, free: 3.57 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6765, allocations: 1.062 kB / 0.7237 GB, free: 3.57 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.191e-05/0.6766, allocations: 4.047 kB / 0.7237 GB, free: 3.57 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.6768, allocations: 12.3 kB / 0.7237 GB, free: 3.566 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004539/0.6773, allocations: 167.7 kB / 0.7238 GB, free: 3.41 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.6776, allocations: 0.679 MB / 0.7245 GB, free: 2.715 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.998e-05/0.6776, allocations: 7.703 kB / 0.7245 GB, free: 2.711 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.783e-05/0.6777, allocations: 11.27 kB / 0.7245 GB, free: 2.703 MB / 0.545 GB Notification: Performance of SimCode: time 1.844e-06/0.6777, allocations: 0 / 0.7245 GB, free: 2.703 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01183/0.6895, allocations: 1.389 MB / 0.7259 GB, free: 2.59 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/0.6898, allocations: 204.8 kB / 0.7261 GB, free: 2.352 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.678/2.368, allocations: 3.656 kB / 0.7261 GB, free: 2.352 MB / 0.545 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) Environment - environmentSimulation: