Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.575/1.575, allocations: 288.4 MB / 303.6 MB, free: 8.09 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.0009292/0.0009292, allocations: 183 kB / 372.3 MB, free: 10.1 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.468/1.468, allocations: 205.4 MB / 0.631 GB, free: 9.84 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.000818/0.0008181, allocations: 108.9 kB / 0.7444 GB, free: 5.746 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004003/0.0004004, allocations: 17.78 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2249, allocations: 115.3 MB / 0.9802 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001339/0.2263, allocations: 1.002 MB / 0.9812 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6638/0.8901, allocations: 134.1 MB / 1.112 GB, free: 2.797 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.117e-05/0.8902, allocations: 0 / 1.112 GB, free: 2.797 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 2.641e-05/0.8902, allocations: 2.172 kB / 1.112 GB, free: 2.797 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 5.616e-05/0.8903, allocations: 4.594 kB / 1.112 GB, free: 2.793 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004052/0.8907, allocations: 110.5 kB / 1.112 GB, free: 2.766 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 5.817e-05/0.8908, allocations: 16.67 kB / 1.112 GB, free: 2.758 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.064e-05/0.8908, allocations: 7.125 kB / 1.112 GB, free: 2.758 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 3.921e-05/0.8909, allocations: 4.391 kB / 1.112 GB, free: 2.758 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.4e-05/0.8909, allocations: 8.156 kB / 1.112 GB, free: 2.754 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.8909, allocations: 1.125 kB / 1.112 GB, free: 2.754 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004271/0.8914, allocations: 172.6 kB / 1.112 GB, free: 2.742 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.052e-05/0.8914, allocations: 0.8438 kB / 1.112 GB, free: 2.742 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.8914, allocations: 39.5 kB / 1.112 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.8916, allocations: 80.09 kB / 1.113 GB, free: 2.699 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.8916, allocations: 4 kB / 1.113 GB, free: 2.695 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8916, allocations: 0 / 1.113 GB, free: 2.695 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.8916, allocations: 0 / 1.113 GB, free: 2.695 MB / 0.6823 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.0004032/0.8921, allocations: 347.6 kB / 1.113 GB, free: 18.33 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.8921, allocations: 12.66 kB / 1.113 GB, free: 18.33 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.346e-05/0.8921, allocations: 32.77 kB / 1.113 GB, free: 18.29 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005427/0.8927, allocations: 41.56 kB / 1.113 GB, free: 18.28 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.8928, allocations: 162.6 kB / 1.113 GB, free: 18.09 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.8928, allocations: 8.625 kB / 1.113 GB, free: 18.08 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.8928, allocations: 4.688 kB / 1.113 GB, free: 18.08 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.893, allocations: 43.92 kB / 1.113 GB, free: 18.05 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.8931, allocations: 0.7969 kB / 1.113 GB, free: 18.05 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.8931, allocations: 4 kB / 1.113 GB, free: 18.05 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.8931, allocations: 0 / 1.113 GB, free: 18.05 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.8932, allocations: 20.38 kB / 1.113 GB, free: 18.04 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003565/0.8936, allocations: 251.7 kB / 1.113 GB, free: 17.78 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.878e-05/0.8936, allocations: 26.28 kB / 1.113 GB, free: 17.75 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.354e-05/0.8937, allocations: 15.27 kB / 1.113 GB, free: 17.74 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.095e-06/0.8937, allocations: 4 kB / 1.113 GB, free: 17.74 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.8937, allocations: 32.81 kB / 1.113 GB, free: 17.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.8937, allocations: 0 / 1.113 GB, free: 17.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001487/0.8939, allocations: 43.5 kB / 1.114 GB, free: 17.66 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.8939, allocations: 53.34 kB / 1.114 GB, free: 17.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.8941, allocations: 108.4 kB / 1.114 GB, free: 17.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.8941, allocations: 29.64 kB / 1.114 GB, free: 17.47 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.248e-05/0.8941, allocations: 97.3 kB / 1.114 GB, free: 17.38 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.604e-06/0.8941, allocations: 4.516 kB / 1.114 GB, free: 17.37 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-06/0.8942, allocations: 1.781 kB / 1.114 GB, free: 17.37 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.8943, allocations: 315.9 kB / 1.114 GB, free: 17.05 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.382e-05/0.8943, allocations: 11.95 kB / 1.114 GB, free: 17.05 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.379e-05/0.8944, allocations: 10.53 kB / 1.114 GB, free: 17.05 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.888e-05/0.8945, allocations: 23.91 kB / 1.114 GB, free: 17.04 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.8945, allocations: 0 / 1.114 GB, free: 17.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001838/0.8947, allocations: 58.05 kB / 1.114 GB, free: 17.01 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.8947, allocations: 7.75 kB / 1.114 GB, free: 17.01 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.8947, allocations: 0 / 1.114 GB, free: 17.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.8947, allocations: 2.328 kB / 1.114 GB, free: 17.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.8948, allocations: 13.47 kB / 1.114 GB, free: 17.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.8949, allocations: 2.938 kB / 1.114 GB, free: 17.01 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.895, allocations: 14.17 kB / 1.114 GB, free: 17 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.895, allocations: 2.484 kB / 1.114 GB, free: 17 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 8.969e-05/0.8951, allocations: 116.1 kB / 1.114 GB, free: 16.88 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.8951, allocations: 1.469 kB / 1.114 GB, free: 16.88 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.061e-05/0.8952, allocations: 3.828 kB / 1.114 GB, free: 16.88 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.8952, allocations: 0.7031 kB / 1.114 GB, free: 16.88 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.8952, allocations: 1.5 kB / 1.114 GB, free: 16.88 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.8952, allocations: 11.88 kB / 1.114 GB, free: 16.87 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.8953, allocations: 152.4 kB / 1.115 GB, free: 16.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.8953, allocations: 1.219 kB / 1.115 GB, free: 16.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.337e-05/0.8954, allocations: 3.453 kB / 1.115 GB, free: 16.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.8954, allocations: 0 / 1.115 GB, free: 16.68 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.8954, allocations: 1.859 kB / 1.115 GB, free: 16.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.8954, allocations: 2.281 kB / 1.115 GB, free: 16.68 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.8954, allocations: 0 / 1.115 GB, free: 16.68 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.8955, allocations: 149.8 kB / 1.115 GB, free: 16.54 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.72e-05/0.8956, allocations: 81.23 kB / 1.115 GB, free: 16.44 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.8956, allocations: 5.578 kB / 1.115 GB, free: 16.44 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.367e-05/0.8957, allocations: 3.672 kB / 1.115 GB, free: 16.44 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.526e-05/0.8957, allocations: 1.125 kB / 1.115 GB, free: 16.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.8957, allocations: 4.594 kB / 1.115 GB, free: 16.43 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.874e-05/0.8958, allocations: 90.72 kB / 1.115 GB, free: 16.36 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.8958, allocations: 0 / 1.115 GB, free: 16.36 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002288/0.8961, allocations: 16.16 kB / 1.115 GB, free: 16.36 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.0004455/0.8965, allocations: 0.6791 MB / 1.116 GB, free: 15.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001351/0.8967, allocations: 22.31 kB / 1.116 GB, free: 15.69 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.8967, allocations: 4.031 kB / 1.116 GB, free: 15.69 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.42e-05/0.8967, allocations: 8 kB / 1.116 GB, free: 15.69 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.897, allocations: 13.3 kB / 1.116 GB, free: 15.68 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004433/0.8974, allocations: 164.8 kB / 1.116 GB, free: 15.54 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.8977, allocations: 0.6751 MB / 1.116 GB, free: 14.84 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.704e-05/0.8978, allocations: 14.95 kB / 1.116 GB, free: 14.83 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.741e-05/0.8979, allocations: 18.92 kB / 1.116 GB, free: 14.81 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/0.8979, allocations: 1.75 kB / 1.116 GB, free: 14.81 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01252/0.9104, allocations: 1.37 MB / 1.118 GB, free: 14.68 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001787/0.9106, allocations: 214.4 kB / 1.118 GB, free: 14.44 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.544/2.454, allocations: 0 / 1.118 GB, free: 14.44 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)