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.0008689/0.000869, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009409/0.0009407, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.928/1.928, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.84/1.84, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005654/0.0005656, allocations: 13 kB / 0.6738 GB, free: 26.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3057, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.00144/0.3071, allocations: 1.009 MB / 0.7884 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.7604/1.068, allocations: 134.1 MB / 0.9193 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.403e-05/1.068, allocations: 0 / 0.9193 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.512e-05/1.068, allocations: 2.391 kB / 0.9193 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.782e-05/1.068, allocations: 9.75 kB / 0.9193 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004106/1.068, allocations: 96.59 kB / 0.9194 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.229e-05/1.068, allocations: 24.78 kB / 0.9194 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.805e-05/1.068, allocations: 2.672 kB / 0.9194 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.717e-05/1.068, allocations: 5.922 kB / 0.9194 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.356e-05/1.068, allocations: 9.453 kB / 0.9194 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/1.068, allocations: 0 / 0.9194 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004373/1.069, allocations: 175.8 kB / 0.9196 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.375e-06/1.069, allocations: 4.406 kB / 0.9196 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002582/1.069, allocations: 28.14 kB / 0.9196 GB, free: 21.89 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001695/1.069, allocations: 80.94 kB / 0.9197 GB, free: 21.88 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.433e-06/1.069, allocations: 0 / 0.9197 GB, free: 21.88 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.956e-06/1.069, allocations: 5.641 kB / 0.9197 GB, free: 21.88 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.871e-06/1.069, allocations: 0 / 0.9197 GB, free: 21.88 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.0003212/1.07, allocations: 345.7 kB / 0.9201 GB, free: 21.52 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/1.07, allocations: 9.312 kB / 0.9201 GB, free: 21.52 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.025e-05/1.07, allocations: 32.41 kB / 0.9201 GB, free: 21.48 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006593/1.07, allocations: 41.25 kB / 0.9201 GB, free: 21.47 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/1.071, allocations: 165.6 kB / 0.9203 GB, free: 21.27 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/1.071, allocations: 0.9688 kB / 0.9203 GB, free: 21.27 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/1.071, allocations: 4.094 kB / 0.9203 GB, free: 21.27 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/1.071, allocations: 51.17 kB / 0.9203 GB, free: 21.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/1.071, allocations: 2.734 kB / 0.9203 GB, free: 21.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/1.071, allocations: 0 / 0.9203 GB, free: 21.23 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/1.071, allocations: 2.172 kB / 0.9203 GB, free: 21.23 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/1.071, allocations: 24.55 kB / 0.9204 GB, free: 21.23 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005141/1.072, allocations: 253.2 kB / 0.9206 GB, free: 20.96 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.149e-05/1.072, allocations: 25.44 kB / 0.9206 GB, free: 20.94 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.819e-05/1.072, allocations: 8.734 kB / 0.9206 GB, free: 20.93 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/1.072, allocations: 1.188 kB / 0.9206 GB, free: 20.93 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/1.072, allocations: 36.69 kB / 0.9207 GB, free: 20.89 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/1.072, allocations: 0 / 0.9207 GB, free: 20.89 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0002105/1.072, allocations: 41.44 kB / 0.9207 GB, free: 20.86 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/1.072, allocations: 58.67 kB / 0.9208 GB, free: 20.79 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/1.072, allocations: 110.6 kB / 0.9209 GB, free: 20.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/1.072, allocations: 26.27 kB / 0.9209 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.73e-05/1.072, allocations: 89.42 kB / 0.921 GB, free: 20.57 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.459e-05/1.072, allocations: 13.39 kB / 0.921 GB, free: 20.57 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-06/1.072, allocations: 0 / 0.921 GB, free: 20.57 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001503/1.073, allocations: 312.8 kB / 0.9213 GB, free: 20.25 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.893e-05/1.073, allocations: 9.125 kB / 0.9213 GB, free: 20.25 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.645e-05/1.073, allocations: 12.62 kB / 0.9213 GB, free: 20.25 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.245e-05/1.073, allocations: 14.39 kB / 0.9213 GB, free: 20.25 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.073, allocations: 4 kB / 0.9213 GB, free: 20.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002116/1.073, allocations: 58.56 kB / 0.9214 GB, free: 20.21 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.11e-05/1.073, allocations: 5.719 kB / 0.9214 GB, free: 20.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/1.073, allocations: 2.781 kB / 0.9214 GB, free: 20.21 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/1.073, allocations: 2.625 kB / 0.9214 GB, free: 20.21 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/1.073, allocations: 9.906 kB / 0.9214 GB, free: 20.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/1.073, allocations: 3.953 kB / 0.9214 GB, free: 20.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/1.073, allocations: 12.3 kB / 0.9214 GB, free: 20.21 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/1.073, allocations: 2.469 kB / 0.9214 GB, free: 20.21 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001047/1.074, allocations: 112.7 kB / 0.9215 GB, free: 20.09 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/1.074, allocations: 0.9688 kB / 0.9215 GB, free: 20.09 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.015e-05/1.074, allocations: 4.859 kB / 0.9216 GB, free: 20.09 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/1.074, allocations: 1.438 kB / 0.9216 GB, free: 20.09 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/1.074, allocations: 2.656 kB / 0.9216 GB, free: 20.09 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/1.074, allocations: 3.953 kB / 0.9216 GB, free: 20.08 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/1.074, allocations: 157.1 kB / 0.9217 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/1.074, allocations: 0 / 0.9217 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.857e-05/1.074, allocations: 5.062 kB / 0.9217 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/1.074, allocations: 0.9844 kB / 0.9217 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/1.074, allocations: 1.688 kB / 0.9217 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/1.074, allocations: 0.625 kB / 0.9217 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/1.074, allocations: 0.75 kB / 0.9217 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/1.074, allocations: 140.9 kB / 0.9219 GB, free: 19.75 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.162e-05/1.074, allocations: 89.62 kB / 0.9219 GB, free: 19.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/1.074, allocations: 1.391 kB / 0.9219 GB, free: 19.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.793e-05/1.074, allocations: 6.719 kB / 0.9219 GB, free: 19.65 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.296e-05/1.074, allocations: 0.6094 kB / 0.9219 GB, free: 19.65 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/1.074, allocations: 4 kB / 0.9219 GB, free: 19.65 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001028/1.074, allocations: 92.36 kB / 0.922 GB, free: 19.58 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/1.074, allocations: 0 / 0.922 GB, free: 19.58 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003209/1.075, allocations: 16.62 kB / 0.9221 GB, free: 19.57 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 (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.0006368/1.075, allocations: 0.6822 MB / 0.9227 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001449/1.076, allocations: 17.97 kB / 0.9227 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.076, allocations: 4.031 kB / 0.9227 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.394e-05/1.076, allocations: 8.609 kB / 0.9227 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/1.076, allocations: 6.516 kB / 0.9228 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004306/1.076, allocations: 170 kB / 0.9229 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/1.077, allocations: 0.676 MB / 0.9236 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.803e-05/1.077, allocations: 6.906 kB / 0.9236 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.157e-05/1.077, allocations: 10.59 kB / 0.9236 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/1.077, allocations: 7.828 kB / 0.9236 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01275/1.089, allocations: 1.375 MB / 0.9249 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001656/1.09, allocations: 205.2 kB / 0.9251 GB, free: 17.65 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.686/2.776, allocations: 3.375 kB / 0.9251 GB, free: 17.65 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/linux/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) Environment - environmentSimulation: