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.00141/0.00141, allocations: 109.4 kB / 15.69 MB, free: 128 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.001702/0.001702, allocations: 186.2 kB / 16.62 MB, free: 6.613 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.426/1.426, allocations: 205.1 MB / 222.5 MB, free: 4.57 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.662/1.662, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001453/0.001453, allocations: 68.45 kB / 0.6718 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2332, allocations: 114.6 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002897/0.2362, allocations: 1.283 MB / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6456/0.8818, allocations: 147.6 MB / 0.9291 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.948e-05/0.8819, allocations: 0 / 0.9291 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.792e-05/0.882, allocations: 4.844 kB / 0.9291 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.457e-05/0.8821, allocations: 10.52 kB / 0.9291 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004505/0.8825, allocations: 112.7 kB / 0.9292 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.169e-05/0.8826, allocations: 23.88 kB / 0.9292 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.874e-05/0.8826, allocations: 3.422 kB / 0.9292 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.438e-05/0.8827, allocations: 4.578 kB / 0.9292 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.073e-05/0.8827, allocations: 9.453 kB / 0.9292 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.8828, allocations: 2.625 kB / 0.9292 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004049/0.8832, allocations: 176.1 kB / 0.9294 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.067e-05/0.8832, allocations: 4.391 kB / 0.9294 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.168e-05/0.8832, allocations: 5.438 kB / 0.9294 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.8835, allocations: 117 kB / 0.9295 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.8835, allocations: 0 / 0.9295 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.685e-06/0.8835, allocations: 1.875 kB / 0.9295 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.8835, allocations: 0 / 0.9295 GB, free: 3.086 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.000486/0.884, allocations: 343.9 kB / 0.9298 GB, free: 18.72 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.884, allocations: 10.72 kB / 0.9299 GB, free: 18.72 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.029e-05/0.8841, allocations: 43.11 kB / 0.9299 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005411/0.8846, allocations: 39.33 kB / 0.9299 GB, free: 18.67 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.8848, allocations: 161.8 kB / 0.9301 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.8848, allocations: 9.188 kB / 0.9301 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.8848, allocations: 2.516 kB / 0.9301 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.885, allocations: 50.64 kB / 0.9301 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.885, allocations: 1.344 kB / 0.9301 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.885, allocations: 0.7969 kB / 0.9301 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.885, allocations: 0 / 0.9301 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.8852, allocations: 16.66 kB / 0.9302 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000402/0.8856, allocations: 254.7 kB / 0.9304 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.631e-05/0.8856, allocations: 28.94 kB / 0.9304 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.542e-05/0.8857, allocations: 10.39 kB / 0.9304 GB, free: 18.13 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.8857, allocations: 0 / 0.9304 GB, free: 18.13 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.8857, allocations: 34.59 kB / 0.9305 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.8857, allocations: 1.203 kB / 0.9305 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001874/0.8859, allocations: 46.38 kB / 0.9305 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.886, allocations: 51.53 kB / 0.9306 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.8861, allocations: 111.9 kB / 0.9307 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.8862, allocations: 28.86 kB / 0.9307 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.242e-05/0.8862, allocations: 88.64 kB / 0.9308 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.919e-06/0.8862, allocations: 8.141 kB / 0.9308 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-05/0.8863, allocations: 16.91 kB / 0.9308 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.8864, allocations: 322 kB / 0.9311 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.671e-05/0.8865, allocations: 12.77 kB / 0.9311 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.031e-05/0.8865, allocations: 8.594 kB / 0.9311 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.585e-05/0.8866, allocations: 23.25 kB / 0.9312 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.8867, allocations: 0 / 0.9312 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000202/0.8869, allocations: 59.42 kB / 0.9312 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.8869, allocations: 6.062 kB / 0.9312 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.8869, allocations: 4.984 kB / 0.9312 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.8869, allocations: 0 / 0.9312 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.887, allocations: 10.69 kB / 0.9312 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.887, allocations: 0 / 0.9312 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.8872, allocations: 18.92 kB / 0.9313 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.8872, allocations: 0.6094 kB / 0.9313 GB, free: 17.38 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 8.062e-05/0.8873, allocations: 111.6 kB / 0.9314 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/0.8873, allocations: 7.984 kB / 0.9314 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.637e-05/0.8874, allocations: 9.312 kB / 0.9314 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.8874, allocations: 0 / 0.9314 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.8874, allocations: 0 / 0.9314 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.8874, allocations: 5.062 kB / 0.9314 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.8876, allocations: 152.1 kB / 0.9315 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.8876, allocations: 3.266 kB / 0.9315 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.222e-05/0.8876, allocations: 3.25 kB / 0.9315 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.8876, allocations: 4.547 kB / 0.9315 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.8876, allocations: 0 / 0.9315 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.8876, allocations: 1.094 kB / 0.9315 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.8876, allocations: 8.594 kB / 0.9316 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.8878, allocations: 138.3 kB / 0.9317 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.186e-05/0.8878, allocations: 78.38 kB / 0.9318 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.8878, allocations: 5.234 kB / 0.9318 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.197e-05/0.8879, allocations: 4.328 kB / 0.9318 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.757e-05/0.888, allocations: 0 / 0.9318 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.888, allocations: 7.969 kB / 0.9318 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001024/0.8881, allocations: 90.72 kB / 0.9319 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.062e-06/0.8881, allocations: 0 / 0.9319 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002596/0.8884, allocations: 12.38 kB / 0.9319 GB, free: 16.73 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.0004669/0.8888, allocations: 0.6873 MB / 0.9325 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001563/0.889, allocations: 22.7 kB / 0.9326 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.889, allocations: 0 / 0.9326 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.025e-05/0.889, allocations: 2.719 kB / 0.9326 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.8894, allocations: 13.59 kB / 0.9326 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004943/0.8899, allocations: 166 kB / 0.9327 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.8901, allocations: 0.6741 MB / 0.9334 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.147e-05/0.8902, allocations: 8.984 kB / 0.9334 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.681e-05/0.8903, allocations: 15.58 kB / 0.9334 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.8903, allocations: 0 / 0.9334 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01944/0.9097, allocations: 1.58 MB / 0.935 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.538/8.448, allocations: 6.812 kB / 0.935 GB, free: 14.84 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-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)