Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 1.632/1.632, allocations: 287.4 MB / 302.6 MB, free: 8.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009429/0.0009429, allocations: 182.2 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.788/1.788, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000928/0.0009282, allocations: 96.09 kB / 0.7431 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004435/0.0004436, allocations: 12.2 kB / 0.8662 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2812, allocations: 115.3 MB / 0.9787 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001757/0.283, allocations: 1.009 MB / 0.9797 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.765/1.048, allocations: 134 MB / 1.111 GB, free: 2.059 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.645e-05/1.048, allocations: 0 / 1.111 GB, free: 2.059 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 2.498e-05/1.048, allocations: 9.562 kB / 1.111 GB, free: 2.051 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 6.24e-05/1.048, allocations: 2.25 kB / 1.111 GB, free: 2.051 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003869/1.049, allocations: 105.1 kB / 1.111 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 4.799e-05/1.049, allocations: 19.89 kB / 1.111 GB, free: 2.02 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.36e-05/1.049, allocations: 2.891 kB / 1.111 GB, free: 2.02 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 3.656e-05/1.049, allocations: 3.438 kB / 1.111 GB, free: 2.02 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 3.952e-05/1.049, allocations: 12.39 kB / 1.111 GB, free: 2.016 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/1.049, allocations: 4.844 kB / 1.111 GB, free: 2.012 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003926/1.049, allocations: 172.1 kB / 1.111 GB, free: 2 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 8.306e-06/1.049, allocations: 4.688 kB / 1.111 GB, free: 1.996 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 8.494e-05/1.049, allocations: 31.67 kB / 1.111 GB, free: 17.96 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001574/1.05, allocations: 79.61 kB / 1.111 GB, free: 17.96 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/1.05, allocations: 0 / 1.111 GB, free: 17.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.084e-06/1.05, allocations: 1.406 kB / 1.111 GB, free: 17.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.767e-06/1.05, allocations: 0 / 1.111 GB, free: 17.96 MB / 0.698 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.000296/1.05, allocations: 345.9 kB / 1.111 GB, free: 17.59 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/1.05, allocations: 14.12 kB / 1.111 GB, free: 17.59 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.846e-05/1.05, allocations: 30.75 kB / 1.111 GB, free: 17.55 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005042/1.05, allocations: 38.92 kB / 1.111 GB, free: 17.55 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/1.051, allocations: 163.3 kB / 1.112 GB, free: 17.35 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/1.051, allocations: 10.5 kB / 1.112 GB, free: 17.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/1.051, allocations: 1.375 kB / 1.112 GB, free: 17.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/1.051, allocations: 50.75 kB / 1.112 GB, free: 17.31 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/1.051, allocations: 3.938 kB / 1.112 GB, free: 17.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/1.051, allocations: 2.016 kB / 1.112 GB, free: 17.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/1.051, allocations: 0 / 1.112 GB, free: 17.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/1.051, allocations: 19.77 kB / 1.112 GB, free: 17.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003555/1.051, allocations: 247.5 kB / 1.112 GB, free: 17.04 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.965e-05/1.051, allocations: 28.44 kB / 1.112 GB, free: 17.01 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.473e-05/1.051, allocations: 12.86 kB / 1.112 GB, free: 17 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-06/1.051, allocations: 1.969 kB / 1.112 GB, free: 17 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/1.051, allocations: 36.61 kB / 1.112 GB, free: 16.96 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/1.051, allocations: 0 / 1.112 GB, free: 16.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001492/1.052, allocations: 39.58 kB / 1.112 GB, free: 16.93 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/1.052, allocations: 56.84 kB / 1.112 GB, free: 16.86 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/1.052, allocations: 111.7 kB / 1.112 GB, free: 16.76 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/1.052, allocations: 25.7 kB / 1.112 GB, free: 16.73 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.233e-05/1.052, allocations: 92.8 kB / 1.112 GB, free: 16.64 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.604e-06/1.052, allocations: 5.547 kB / 1.112 GB, free: 16.64 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-06/1.052, allocations: 0.7812 kB / 1.112 GB, free: 16.64 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.466e-05/1.052, allocations: 319.4 kB / 1.113 GB, free: 16.32 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.226e-05/1.052, allocations: 11.95 kB / 1.113 GB, free: 16.32 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.462e-05/1.052, allocations: 13.2 kB / 1.113 GB, free: 16.32 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.587e-05/1.052, allocations: 24.61 kB / 1.113 GB, free: 16.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.052, allocations: 0 / 1.113 GB, free: 16.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001937/1.052, allocations: 56.67 kB / 1.113 GB, free: 16.27 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/1.052, allocations: 9.5 kB / 1.113 GB, free: 16.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/1.052, allocations: 0.6094 kB / 1.113 GB, free: 16.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/1.052, allocations: 3.297 kB / 1.113 GB, free: 16.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/1.053, allocations: 8.781 kB / 1.113 GB, free: 16.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/1.053, allocations: 0 / 1.113 GB, free: 16.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/1.053, allocations: 12.67 kB / 1.113 GB, free: 16.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/1.053, allocations: 2.891 kB / 1.113 GB, free: 16.27 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.426e-05/1.053, allocations: 123.5 kB / 1.113 GB, free: 16.14 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/1.053, allocations: 1.531 kB / 1.113 GB, free: 16.14 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.347e-05/1.053, allocations: 3.969 kB / 1.113 GB, free: 16.14 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/1.053, allocations: 1.594 kB / 1.113 GB, free: 16.14 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/1.053, allocations: 0.6562 kB / 1.113 GB, free: 16.14 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/1.053, allocations: 3.938 kB / 1.113 GB, free: 16.13 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/1.053, allocations: 152.9 kB / 1.113 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/1.053, allocations: 1.75 kB / 1.113 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.493e-05/1.053, allocations: 2.828 kB / 1.113 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/1.053, allocations: 5.031 kB / 1.113 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/1.053, allocations: 0.5625 kB / 1.113 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/1.053, allocations: 4 kB / 1.113 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.053, allocations: 2.859 kB / 1.113 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001033/1.053, allocations: 141.5 kB / 1.113 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.387e-05/1.053, allocations: 82.48 kB / 1.113 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/1.053, allocations: 0.6562 kB / 1.113 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.345e-05/1.053, allocations: 2.922 kB / 1.113 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.363e-05/1.053, allocations: 5.734 kB / 1.113 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/1.053, allocations: 9.531 kB / 1.113 GB, free: 15.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.186e-05/1.054, allocations: 91.48 kB / 1.113 GB, free: 15.62 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.054, allocations: 0 / 1.113 GB, free: 15.62 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002324/1.054, allocations: 12.25 kB / 1.113 GB, free: 15.62 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004076/1.054, allocations: 0.6821 MB / 1.114 GB, free: 14.96 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001336/1.054, allocations: 16.94 kB / 1.114 GB, free: 14.96 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/1.054, allocations: 0 / 1.114 GB, free: 14.96 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.209e-05/1.054, allocations: 12.27 kB / 1.114 GB, free: 14.95 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/1.055, allocations: 10.58 kB / 1.114 GB, free: 14.95 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003973/1.055, allocations: 168.2 kB / 1.114 GB, free: 14.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002078/1.055, allocations: 0.6753 MB / 1.115 GB, free: 14.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.85e-05/1.055, allocations: 8.078 kB / 1.115 GB, free: 14.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/1.055, allocations: 13.88 kB / 1.115 GB, free: 14.09 MB / 0.698 GB Notification: Performance of SimCode: time 7.61e-07/1.055, allocations: 0.875 kB / 1.115 GB, free: 14.09 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01235/1.068, allocations: 1.379 MB / 1.116 GB, free: 13.93 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000165/1.068, allocations: 202.9 kB / 1.116 GB, free: 13.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.417/2.485, allocations: 1.094 kB / 1.116 GB, free: 13.7 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)