Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001192, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 192.2 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.35/1.35, allocations: 205.1 MB / 222.4 MB, free: 4.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.586/1.586, allocations: 292.3 MB / 0.5489 GB, free: 12.82 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 74.86 kB / 0.6716 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2476, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002733/0.2503, allocations: 1.295 MB / 0.7847 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6502/0.9006, allocations: 147.6 MB / 0.9289 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.439e-05/0.9007, allocations: 3.719 kB / 0.9289 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.276e-05/0.9007, allocations: 0.5625 kB / 0.9289 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.066e-05/0.9008, allocations: 7.766 kB / 0.9289 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004329/0.9012, allocations: 117.4 kB / 0.929 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.449e-05/0.9013, allocations: 19.62 kB / 0.9291 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.357e-05/0.9013, allocations: 5.75 kB / 0.9291 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.357e-05/0.9014, allocations: 6.453 kB / 0.9291 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.799e-05/0.9014, allocations: 9.969 kB / 0.9291 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.9014, allocations: 0 / 0.9291 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003951/0.9018, allocations: 171.6 kB / 0.9292 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.167e-05/0.9019, allocations: 4.734 kB / 0.9292 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.411e-05/0.9019, allocations: 6.828 kB / 0.9292 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.9021, allocations: 118.7 kB / 0.9294 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.9021, allocations: 4 kB / 0.9294 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.805e-06/0.9021, allocations: 0 / 0.9294 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.9022, allocations: 5.031 kB / 0.9294 GB, free: 2.961 MB / 0.7169 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.0004576/0.9026, allocations: 346.4 kB / 0.9297 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.9027, allocations: 12.34 kB / 0.9297 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.168e-05/0.9027, allocations: 30.75 kB / 0.9297 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005541/0.9033, allocations: 42.08 kB / 0.9298 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.9034, allocations: 164.4 kB / 0.9299 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.9034, allocations: 4.594 kB / 0.9299 GB, free: 18.35 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.9034, allocations: 2.656 kB / 0.9299 GB, free: 18.35 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.9036, allocations: 45.66 kB / 0.93 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.9036, allocations: 3.688 kB / 0.93 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.9036, allocations: 0 / 0.93 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.9036, allocations: 0 / 0.93 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.9038, allocations: 25.94 kB / 0.93 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.9041, allocations: 251.7 kB / 0.9303 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.162e-05/0.9042, allocations: 25.44 kB / 0.9303 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.856e-05/0.9042, allocations: 8.172 kB / 0.9303 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.9042, allocations: 0 / 0.9303 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.9043, allocations: 37.59 kB / 0.9303 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.9043, allocations: 0 / 0.9303 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001454/0.9044, allocations: 44.38 kB / 0.9304 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.9044, allocations: 57.88 kB / 0.9304 GB, free: 17.87 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.9046, allocations: 108.5 kB / 0.9305 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.9046, allocations: 26.36 kB / 0.9306 GB, free: 17.74 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.389e-05/0.9047, allocations: 97.25 kB / 0.9306 GB, free: 17.65 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.276e-06/0.9047, allocations: 7.625 kB / 0.9307 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-05/0.9047, allocations: 17.59 kB / 0.9307 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.095e-05/0.9048, allocations: 319.4 kB / 0.931 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.707e-05/0.9049, allocations: 9.141 kB / 0.931 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.803e-05/0.9049, allocations: 8.516 kB / 0.931 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.294e-05/0.905, allocations: 31.64 kB / 0.931 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.905, allocations: 0 / 0.931 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001835/0.9052, allocations: 60.09 kB / 0.9311 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.9053, allocations: 6.062 kB / 0.9311 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.9053, allocations: 0.8125 kB / 0.9311 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.9053, allocations: 1.75 kB / 0.9311 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.9054, allocations: 11.48 kB / 0.9311 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.9054, allocations: 0 / 0.9311 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.9056, allocations: 15.06 kB / 0.9311 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.9056, allocations: 3.594 kB / 0.9311 GB, free: 17.25 MB / 0.7325 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.946e-05/0.9056, allocations: 111 kB / 0.9312 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.9057, allocations: 1.703 kB / 0.9312 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.938e-05/0.9057, allocations: 6.312 kB / 0.9312 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.9057, allocations: 0.6875 kB / 0.9312 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.9057, allocations: 0 / 0.9312 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.9057, allocations: 5.703 kB / 0.9312 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.9059, allocations: 162.5 kB / 0.9314 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.9059, allocations: 0 / 0.9314 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.466e-05/0.9059, allocations: 5.438 kB / 0.9314 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.9059, allocations: 3.938 kB / 0.9314 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-06/0.9059, allocations: 0.6562 kB / 0.9314 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.9059, allocations: 0 / 0.9314 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.9059, allocations: 2.531 kB / 0.9314 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.256e-05/0.906, allocations: 139 kB / 0.9315 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.156e-05/0.9061, allocations: 78.52 kB / 0.9316 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.9061, allocations: 3.094 kB / 0.9316 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.934e-05/0.9062, allocations: 2.797 kB / 0.9316 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.566e-05/0.9062, allocations: 3.812 kB / 0.9316 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.9062, allocations: 7.578 kB / 0.9316 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.688e-05/0.9063, allocations: 85.55 kB / 0.9317 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9063, allocations: 0 / 0.9317 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000249/0.9066, allocations: 21.59 kB / 0.9317 GB, free: 16.62 MB / 0.7325 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.000399/0.907, allocations: 0.685 MB / 0.9324 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001382/0.9071, allocations: 18.98 kB / 0.9324 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.9072, allocations: 4.031 kB / 0.9324 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.384e-05/0.9072, allocations: 8.797 kB / 0.9324 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.9075, allocations: 14.14 kB / 0.9324 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003988/0.9079, allocations: 157.8 kB / 0.9326 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/0.9082, allocations: 0.6745 MB / 0.9332 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.253e-05/0.9082, allocations: 6.781 kB / 0.9333 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.962e-05/0.9083, allocations: 15.44 kB / 0.9333 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.9083, allocations: 0 / 0.9333 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01647/0.9247, allocations: 1.569 MB / 0.9348 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.232/8.157, allocations: 17.28 kB / 0.9348 GB, free: 14.7 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)