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.00108/0.00108, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001071/0.001071, allocations: 187.4 kB / 16.25 MB, free: 6.578 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.391/1.391, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.64/1.64, allocations: 292.3 MB / 0.5486 GB, free: 13.6 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.001336/0.001336, allocations: 66.11 kB / 0.6711 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2419, allocations: 114.6 MB / 0.783 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.00271/0.2447, allocations: 1.356 MB / 0.7843 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5376/0.7823, allocations: 145.5 MB / 0.9264 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.686e-05/0.7823, allocations: 1.031 kB / 0.9264 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.713e-05/0.7824, allocations: 1.094 kB / 0.9264 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.034e-05/0.7824, allocations: 3.812 kB / 0.9264 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004017/0.7828, allocations: 106.7 kB / 0.9265 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.435e-05/0.7829, allocations: 26.2 kB / 0.9265 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.997e-05/0.783, allocations: 9.797 kB / 0.9265 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.3e-05/0.783, allocations: 4.625 kB / 0.9265 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.398e-05/0.783, allocations: 6 kB / 0.9265 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.7831, allocations: 0.8438 kB / 0.9265 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003646/0.7834, allocations: 182.6 kB / 0.9267 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.477e-06/0.7835, allocations: 3.656 kB / 0.9267 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.193e-05/0.7835, allocations: 6.125 kB / 0.9267 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.7837, allocations: 118.6 kB / 0.9268 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.7837, allocations: 0.875 kB / 0.9268 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.412e-06/0.7837, allocations: 0 / 0.9268 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.7837, allocations: 4 kB / 0.9268 GB, free: 6.191 MB / 0.7325 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.0004799/0.7842, allocations: 345 kB / 0.9271 GB, free: 21.83 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.7842, allocations: 9.781 kB / 0.9272 GB, free: 21.83 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.4e-05/0.7843, allocations: 31.78 kB / 0.9272 GB, free: 21.79 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005192/0.7848, allocations: 40.25 kB / 0.9272 GB, free: 21.79 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.7849, allocations: 165.2 kB / 0.9274 GB, free: 21.59 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.7849, allocations: 8.781 kB / 0.9274 GB, free: 21.59 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.785, allocations: 2.906 kB / 0.9274 GB, free: 21.59 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.7851, allocations: 50.48 kB / 0.9274 GB, free: 21.55 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.331e-06/0.7851, allocations: 0 / 0.9274 GB, free: 21.55 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.7852, allocations: 3.312 kB / 0.9274 GB, free: 21.55 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.7852, allocations: 1.094 kB / 0.9274 GB, free: 21.55 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.7853, allocations: 15.45 kB / 0.9275 GB, free: 21.55 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003087/0.7856, allocations: 260.8 kB / 0.9277 GB, free: 21.29 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 4.237e-05/0.7856, allocations: 24.55 kB / 0.9277 GB, free: 21.26 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.083e-05/0.7857, allocations: 14.52 kB / 0.9277 GB, free: 21.25 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 7.173e-06/0.7857, allocations: 0.625 kB / 0.9277 GB, free: 21.25 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.7857, allocations: 36.81 kB / 0.9278 GB, free: 21.21 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.7857, allocations: 0 / 0.9278 GB, free: 21.21 MB / 0.7481 GB Notification: Performance of matching and sorting (n=2): time 0.0001319/0.7859, allocations: 41.55 kB / 0.9278 GB, free: 21.18 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.7859, allocations: 52.38 kB / 0.9279 GB, free: 21.11 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.786, allocations: 114.6 kB / 0.928 GB, free: 21.02 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.786, allocations: 25.7 kB / 0.928 GB, free: 20.98 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.7861, allocations: 89.83 kB / 0.9281 GB, free: 20.89 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.645e-06/0.7861, allocations: 5.094 kB / 0.9281 GB, free: 20.89 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.853e-05/0.7861, allocations: 26.84 kB / 0.9281 GB, free: 20.87 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.166e-05/0.7862, allocations: 316.6 kB / 0.9284 GB, free: 20.55 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.134e-05/0.7863, allocations: 12.59 kB / 0.9284 GB, free: 20.55 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.503e-05/0.7864, allocations: 15.42 kB / 0.9284 GB, free: 20.55 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.624e-05/0.7864, allocations: 19.53 kB / 0.9285 GB, free: 20.55 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.7865, allocations: 5.281 kB / 0.9285 GB, free: 20.54 MB / 0.7481 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001764/0.7866, allocations: 57.25 kB / 0.9285 GB, free: 20.51 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.7867, allocations: 8.312 kB / 0.9285 GB, free: 20.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.7867, allocations: 0 / 0.9285 GB, free: 20.51 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.7867, allocations: 0.9688 kB / 0.9285 GB, free: 20.51 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.7868, allocations: 12.31 kB / 0.9285 GB, free: 20.51 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.7868, allocations: 1.281 kB / 0.9285 GB, free: 20.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.787, allocations: 12.91 kB / 0.9286 GB, free: 20.5 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.787, allocations: 6.781 kB / 0.9286 GB, free: 20.5 MB / 0.7481 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.903e-05/0.787, allocations: 108.7 kB / 0.9287 GB, free: 20.39 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/0.7871, allocations: 0.6875 kB / 0.9287 GB, free: 20.39 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.68e-05/0.7871, allocations: 6.969 kB / 0.9287 GB, free: 20.38 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.7871, allocations: 0.9062 kB / 0.9287 GB, free: 20.38 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.7871, allocations: 0 / 0.9287 GB, free: 20.38 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.7871, allocations: 4.75 kB / 0.9287 GB, free: 20.38 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.7873, allocations: 159.2 kB / 0.9288 GB, free: 20.19 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.7873, allocations: 4 kB / 0.9288 GB, free: 20.18 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.473e-05/0.7873, allocations: 2.906 kB / 0.9288 GB, free: 20.18 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.7873, allocations: 2.312 kB / 0.9288 GB, free: 20.18 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-06/0.7873, allocations: 0 / 0.9288 GB, free: 20.18 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.7873, allocations: 2.906 kB / 0.9288 GB, free: 20.18 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.7873, allocations: 0.9375 kB / 0.9288 GB, free: 20.18 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.472e-05/0.7874, allocations: 136.1 kB / 0.929 GB, free: 20.05 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 3.838e-05/0.7875, allocations: 83.92 kB / 0.9291 GB, free: 19.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.7875, allocations: 1.188 kB / 0.9291 GB, free: 19.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.765e-05/0.7876, allocations: 4.672 kB / 0.9291 GB, free: 19.95 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.107e-05/0.7876, allocations: 9.25 kB / 0.9291 GB, free: 19.95 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.7876, allocations: 3.938 kB / 0.9291 GB, free: 19.95 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 8.439e-05/0.7877, allocations: 94.23 kB / 0.9292 GB, free: 19.87 MB / 0.7481 GB Notification: Performance of sort global known variables: time 8.71e-07/0.7877, allocations: 0 / 0.9292 GB, free: 19.87 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002345/0.7879, allocations: 18.56 kB / 0.9292 GB, free: 19.87 MB / 0.7481 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.0003689/0.7883, allocations: 0.6745 MB / 0.9298 GB, free: 19.21 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001281/0.7885, allocations: 25.02 kB / 0.9299 GB, free: 19.21 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.7885, allocations: 0 / 0.9299 GB, free: 19.21 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.084e-05/0.7885, allocations: 8.594 kB / 0.9299 GB, free: 19.21 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.7888, allocations: 11.31 kB / 0.9299 GB, free: 19.2 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003782/0.7892, allocations: 172.2 kB / 0.93 GB, free: 19.04 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002005/0.7894, allocations: 0.6762 MB / 0.9307 GB, free: 18.34 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.22e-05/0.7895, allocations: 7.094 kB / 0.9307 GB, free: 18.34 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3e-05/0.7895, allocations: 12.66 kB / 0.9307 GB, free: 18.33 MB / 0.7481 GB Notification: Performance of SimCode: time 2.11e-07/0.7895, allocations: 0 / 0.9307 GB, free: 18.33 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01087/0.8004, allocations: 1.479 MB / 0.9322 GB, free: 18.11 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/0.8006, allocations: 219.1 kB / 0.9324 GB, free: 17.85 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.681/2.482, allocations: 11.95 kB / 0.9324 GB, free: 17.85 MB / 0.7481 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)