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.001344/0.001344, allocations: 108 kB / 15.61 MB, free: 152 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.001335/0.001336, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.717/1.717, allocations: 205.1 MB / 222.4 MB, free: 4.621 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.75/1.75, 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.001492/0.001492, allocations: 73.64 kB / 0.6716 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2183, allocations: 114.6 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002507/0.2209, allocations: 1.276 MB / 0.7847 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5409/0.7618, allocations: 147.6 MB / 0.9289 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.116e-05/0.7619, allocations: 0 / 0.9289 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.205e-05/0.762, allocations: 0.5156 kB / 0.9289 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.335e-05/0.762, allocations: 11.22 kB / 0.9289 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000401/0.7624, allocations: 118.8 kB / 0.929 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.836e-05/0.7625, allocations: 17.3 kB / 0.929 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.136e-05/0.7625, allocations: 1.781 kB / 0.929 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.997e-05/0.7626, allocations: 15.08 kB / 0.9291 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.899e-05/0.7626, allocations: 5.672 kB / 0.9291 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.937e-06/0.7626, allocations: 0 / 0.9291 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003786/0.763, allocations: 173.4 kB / 0.9292 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.407e-06/0.763, allocations: 5.953 kB / 0.9292 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.082e-05/0.7631, allocations: 13.91 kB / 0.9293 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.7633, allocations: 109.3 kB / 0.9294 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.7633, allocations: 2.719 kB / 0.9294 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.232e-06/0.7633, allocations: 0 / 0.9294 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.7633, allocations: 0 / 0.9294 GB, free: 3.004 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.0004187/0.7637, allocations: 350.4 kB / 0.9297 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.7638, allocations: 11.19 kB / 0.9297 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.089e-05/0.7638, allocations: 31.45 kB / 0.9297 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005107/0.7643, allocations: 44.11 kB / 0.9298 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.7644, allocations: 168.4 kB / 0.9299 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.7644, allocations: 3.938 kB / 0.9299 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.7645, allocations: 3.781 kB / 0.9299 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.7646, allocations: 42.11 kB / 0.93 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.7646, allocations: 3.734 kB / 0.93 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.7646, allocations: 9.625 kB / 0.93 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.7647, allocations: 0 / 0.93 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.7648, allocations: 16.72 kB / 0.93 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003123/0.7651, allocations: 250.7 kB / 0.9303 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 3.968e-05/0.7651, allocations: 28.66 kB / 0.9303 GB, free: 18.06 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.925e-05/0.7652, allocations: 18.64 kB / 0.9303 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.903e-06/0.7652, allocations: 0 / 0.9303 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.7652, allocations: 32.47 kB / 0.9303 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.7652, allocations: 0 / 0.9303 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001282/0.7653, allocations: 42.16 kB / 0.9304 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.7654, allocations: 56.09 kB / 0.9304 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.7655, allocations: 114 kB / 0.9305 GB, free: 17.81 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.7655, allocations: 26.5 kB / 0.9306 GB, free: 17.78 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.522e-05/0.7656, allocations: 87.98 kB / 0.9306 GB, free: 17.69 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.802e-06/0.7656, allocations: 8.562 kB / 0.9306 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.7656, allocations: 20.25 kB / 0.9307 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.401e-05/0.7657, allocations: 315.5 kB / 0.931 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.484e-05/0.7658, allocations: 12.38 kB / 0.931 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.664e-05/0.7659, allocations: 15.52 kB / 0.931 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.649e-05/0.7659, allocations: 23.98 kB / 0.931 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.766, allocations: 0 / 0.931 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001858/0.7661, allocations: 56.06 kB / 0.9311 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.7662, allocations: 13.69 kB / 0.9311 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.7662, allocations: 0.7969 kB / 0.9311 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.7662, allocations: 4 kB / 0.9311 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.935e-05/0.7663, allocations: 10.78 kB / 0.9311 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.7663, allocations: 2.453 kB / 0.9311 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.7664, allocations: 10.86 kB / 0.9311 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.7665, allocations: 4.344 kB / 0.9311 GB, free: 17.29 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 5.935e-05/0.7665, allocations: 107.7 kB / 0.9312 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/0.7666, allocations: 7.344 kB / 0.9312 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.608e-05/0.7666, allocations: 7.125 kB / 0.9312 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.7666, allocations: 0 / 0.9312 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.7666, allocations: 0.7969 kB / 0.9312 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.7666, allocations: 3.938 kB / 0.9312 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.7667, allocations: 159.3 kB / 0.9314 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.7668, allocations: 0 / 0.9314 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.294e-05/0.7668, allocations: 3.578 kB / 0.9314 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.7668, allocations: 0 / 0.9314 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.7668, allocations: 0 / 0.9314 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.7668, allocations: 1.938 kB / 0.9314 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.7668, allocations: 0 / 0.9314 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.7669, allocations: 145 kB / 0.9315 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.127e-05/0.767, allocations: 77.86 kB / 0.9316 GB, free: 16.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.767, allocations: 2.891 kB / 0.9316 GB, free: 16.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.353e-05/0.7671, allocations: 3.688 kB / 0.9316 GB, free: 16.74 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.188e-05/0.7671, allocations: 3.75 kB / 0.9316 GB, free: 16.74 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.7671, allocations: 3.938 kB / 0.9316 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.619e-05/0.7672, allocations: 95.53 kB / 0.9317 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.092e-06/0.7672, allocations: 0 / 0.9317 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002381/0.7675, allocations: 12.22 kB / 0.9317 GB, free: 16.66 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.0003828/0.7679, allocations: 0.6879 MB / 0.9324 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001347/0.768, allocations: 23.14 kB / 0.9324 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.768, allocations: 0 / 0.9324 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.103e-05/0.768, allocations: 3.656 kB / 0.9324 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.7684, allocations: 13.23 kB / 0.9324 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003959/0.7688, allocations: 166.8 kB / 0.9326 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001988/0.769, allocations: 0.6748 MB / 0.9333 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.146e-05/0.769, allocations: 15.88 kB / 0.9333 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.961e-05/0.7691, allocations: 15.3 kB / 0.9333 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.7691, allocations: 0 / 0.9333 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01621/0.7853, allocations: 1.555 MB / 0.9348 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.021/7.807, allocations: 12.89 kB / 0.9348 GB, free: 14.74 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)