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.001037/0.001037, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001123/0.001123, allocations: 193.3 kB / 16.25 MB, free: 6.617 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.254/1.254, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001973/0.001973, allocations: 278.2 kB / 290.3 MB, free: 2.164 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9201/0.9201, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001621, allocations: 91.64 kB / 0.5948 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1705, allocations: 86.97 MB / 0.6797 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002573/0.1731, allocations: 1.346 MB / 0.681 GB, free: 15.63 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4749/0.648, allocations: 145.5 MB / 0.8231 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.621e-05/0.6481, allocations: 3.938 kB / 0.8231 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.98e-05/0.6482, allocations: 4 kB / 0.8231 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.401e-05/0.6482, allocations: 10.88 kB / 0.8231 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004215/0.6487, allocations: 104.5 kB / 0.8232 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.265e-05/0.6487, allocations: 18.73 kB / 0.8232 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.827e-05/0.6488, allocations: 2.094 kB / 0.8232 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.435e-05/0.6488, allocations: 10.75 kB / 0.8233 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.608e-05/0.6489, allocations: 13.58 kB / 0.8233 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.207e-06/0.6489, allocations: 0.5312 kB / 0.8233 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004126/0.6493, allocations: 178.3 kB / 0.8234 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.178e-05/0.6493, allocations: 2.797 kB / 0.8234 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.264e-05/0.6494, allocations: 8.5 kB / 0.8234 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002388/0.6496, allocations: 113 kB / 0.8236 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.6496, allocations: 0 / 0.8236 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6496, allocations: 0.5312 kB / 0.8236 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.6496, allocations: 0 / 0.8236 GB, free: 0.7773 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.0003596/0.65, allocations: 353 kB / 0.8239 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.65, allocations: 9.531 kB / 0.8239 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.936e-05/0.6501, allocations: 35.97 kB / 0.8239 GB, free: 16.37 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005621/0.6506, allocations: 34.75 kB / 0.824 GB, free: 16.37 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.6508, allocations: 169.3 kB / 0.8241 GB, free: 16.16 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.6508, allocations: 7.812 kB / 0.8241 GB, free: 16.16 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.6508, allocations: 1.594 kB / 0.8241 GB, free: 16.16 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.651, allocations: 49.39 kB / 0.8242 GB, free: 16.12 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.651, allocations: 0.5625 kB / 0.8242 GB, free: 16.12 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.651, allocations: 3.5 kB / 0.8242 GB, free: 16.12 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.651, allocations: 1.125 kB / 0.8242 GB, free: 16.12 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.6512, allocations: 19.73 kB / 0.8242 GB, free: 16.12 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003715/0.6515, allocations: 251.7 kB / 0.8244 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.464e-05/0.6516, allocations: 24.2 kB / 0.8245 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.782e-05/0.6516, allocations: 15.03 kB / 0.8245 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.408e-06/0.6516, allocations: 0.5938 kB / 0.8245 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.6517, allocations: 31.22 kB / 0.8245 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.6517, allocations: 0 / 0.8245 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0001562/0.6518, allocations: 42.73 kB / 0.8246 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.6519, allocations: 58.27 kB / 0.8246 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.6521, allocations: 109.1 kB / 0.8247 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.6521, allocations: 29.52 kB / 0.8247 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.113e-05/0.6521, allocations: 88.48 kB / 0.8248 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.817e-06/0.6521, allocations: 5.438 kB / 0.8248 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-05/0.6522, allocations: 21.83 kB / 0.8249 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.751e-05/0.6523, allocations: 318.3 kB / 0.8252 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.775e-05/0.6524, allocations: 13.02 kB / 0.8252 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.054e-05/0.6524, allocations: 11.48 kB / 0.8252 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.832e-05/0.6525, allocations: 29.19 kB / 0.8252 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6525, allocations: 0.5312 kB / 0.8252 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001939/0.6527, allocations: 63.08 kB / 0.8253 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.6528, allocations: 7.281 kB / 0.8253 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.6528, allocations: 4.781 kB / 0.8253 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.6528, allocations: 0 / 0.8253 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.6529, allocations: 11.16 kB / 0.8253 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.6529, allocations: 0.625 kB / 0.8253 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.6531, allocations: 12.16 kB / 0.8253 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.6531, allocations: 1.062 kB / 0.8253 GB, free: 15.06 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 7.404e-05/0.6532, allocations: 110.7 kB / 0.8254 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.6532, allocations: 8.875 kB / 0.8254 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.969e-05/0.6532, allocations: 3.656 kB / 0.8254 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.6532, allocations: 0.6562 kB / 0.8254 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.6532, allocations: 1.062 kB / 0.8254 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.6533, allocations: 10.55 kB / 0.8254 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.6534, allocations: 151 kB / 0.8256 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.6534, allocations: 0 / 0.8256 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.526e-05/0.6534, allocations: 6.875 kB / 0.8256 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.6534, allocations: 0.5 kB / 0.8256 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.6534, allocations: 0.5938 kB / 0.8256 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.738e-06/0.6535, allocations: 7.547 kB / 0.8256 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.6535, allocations: 1.344 kB / 0.8256 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.6536, allocations: 138.9 kB / 0.8257 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.619e-05/0.6536, allocations: 78.67 kB / 0.8258 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.6537, allocations: 0.5625 kB / 0.8258 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.891e-05/0.6538, allocations: 7.734 kB / 0.8258 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.455e-05/0.6538, allocations: 0.8125 kB / 0.8258 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.553e-06/0.6538, allocations: 12.06 kB / 0.8258 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.954e-05/0.6539, allocations: 91.11 kB / 0.8259 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6539, allocations: 0.7188 kB / 0.8259 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002611/0.6542, allocations: 11.91 kB / 0.8259 GB, free: 14.43 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.0004922/0.6547, allocations: 0.6863 MB / 0.8266 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001574/0.6548, allocations: 17.5 kB / 0.8266 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6549, allocations: 0 / 0.8266 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.065e-05/0.6549, allocations: 17.7 kB / 0.8266 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004508/0.6553, allocations: 10.25 kB / 0.8266 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004731/0.6558, allocations: 162.9 kB / 0.8268 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.6561, allocations: 0.6748 MB / 0.8275 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.691e-05/0.6561, allocations: 10.16 kB / 0.8275 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.226e-05/0.6562, allocations: 15.64 kB / 0.8275 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of SimCode: time 2.1e-07/0.6562, allocations: 0 / 0.8275 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01163/0.6678, allocations: 1.508 MB / 0.8289 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002199/0.6681, allocations: 229.6 kB / 0.8292 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.744/2.412, allocations: 1.219 kB / 0.8292 GB, free: 12.4 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)