Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="IBPSA_latest_IBPSA_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.00116/0.00116, allocations: 102.9 kB / 16.27 MB, free: 5.93 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.001252/0.001252, allocations: 190.5 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7905/0.7905, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 63.91 kB / 0.4912 GB, free: 7.352 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.347, allocations: 77.92 MB / 0.5673 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002554/0.3496, allocations: 1.274 MB / 0.5685 GB, free: 31.87 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1602/0.5099, allocations: 147.6 MB / 0.7127 GB, free: 5.406 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.061e-05/0.5099, allocations: 7.938 kB / 0.7127 GB, free: 5.398 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.822e-05/0.51, allocations: 0 / 0.7127 GB, free: 5.398 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.109e-05/0.51, allocations: 11.91 kB / 0.7127 GB, free: 5.387 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003866/0.5104, allocations: 107.5 kB / 0.7128 GB, free: 5.281 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.251e-05/0.5105, allocations: 27.8 kB / 0.7129 GB, free: 5.254 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.961e-05/0.5105, allocations: 0 / 0.7129 GB, free: 5.254 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.957e-05/0.5106, allocations: 8 kB / 0.7129 GB, free: 5.246 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.286e-05/0.5106, allocations: 8 kB / 0.7129 GB, free: 5.238 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.077e-06/0.5106, allocations: 3.938 kB / 0.7129 GB, free: 5.234 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003739/0.511, allocations: 175.6 kB / 0.713 GB, free: 5.062 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.057e-05/0.511, allocations: 3.984 kB / 0.7131 GB, free: 5.059 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.311e-05/0.5111, allocations: 11.98 kB / 0.7131 GB, free: 5.047 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.5113, allocations: 102 kB / 0.7132 GB, free: 4.949 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.5113, allocations: 4 kB / 0.7132 GB, free: 4.945 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5113, allocations: 0 / 0.7132 GB, free: 4.945 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.5113, allocations: 0 / 0.7132 GB, free: 4.945 MB / 0.545 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.0002956/0.5116, allocations: 359.3 kB / 0.7135 GB, free: 4.547 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.5116, allocations: 12.62 kB / 0.7135 GB, free: 4.535 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.943e-05/0.5117, allocations: 30.75 kB / 0.7135 GB, free: 4.496 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005253/0.5122, allocations: 32.89 kB / 0.7136 GB, free: 4.465 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.936e-05/0.5123, allocations: 164.1 kB / 0.7137 GB, free: 4.266 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.5123, allocations: 7.938 kB / 0.7137 GB, free: 4.258 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.5123, allocations: 7.984 kB / 0.7137 GB, free: 4.25 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.5125, allocations: 53.59 kB / 0.7138 GB, free: 4.191 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.5125, allocations: 0 / 0.7138 GB, free: 4.191 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.5125, allocations: 0 / 0.7138 GB, free: 4.191 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.5125, allocations: 0 / 0.7138 GB, free: 4.191 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.5127, allocations: 23.97 kB / 0.7138 GB, free: 4.168 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003386/0.513, allocations: 248.9 kB / 0.7141 GB, free: 3.875 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.139e-05/0.5131, allocations: 26.58 kB / 0.7141 GB, free: 3.84 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.268e-05/0.5131, allocations: 12.86 kB / 0.7141 GB, free: 3.824 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.5131, allocations: 3.984 kB / 0.7141 GB, free: 3.82 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.5132, allocations: 30.56 kB / 0.7141 GB, free: 3.781 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.5132, allocations: 4 kB / 0.7141 GB, free: 3.777 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001354/0.5133, allocations: 45.61 kB / 0.7142 GB, free: 3.727 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.5133, allocations: 51.41 kB / 0.7142 GB, free: 3.664 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.5135, allocations: 109.8 kB / 0.7143 GB, free: 3.547 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.5135, allocations: 25.7 kB / 0.7144 GB, free: 3.516 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.868e-05/0.5135, allocations: 96.06 kB / 0.7144 GB, free: 3.418 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.335e-06/0.5135, allocations: 3.906 kB / 0.7145 GB, free: 3.414 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-05/0.5136, allocations: 21.83 kB / 0.7145 GB, free: 3.387 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.56e-05/0.5137, allocations: 314.8 kB / 0.7148 GB, free: 3.07 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.687e-05/0.5138, allocations: 15.92 kB / 0.7148 GB, free: 3.055 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.809e-05/0.5138, allocations: 7.984 kB / 0.7148 GB, free: 3.047 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.268e-05/0.5139, allocations: 24.84 kB / 0.7148 GB, free: 3.02 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5139, allocations: 0 / 0.7148 GB, free: 3.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001825/0.5141, allocations: 57.67 kB / 0.7149 GB, free: 2.957 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.5141, allocations: 4 kB / 0.7149 GB, free: 2.953 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.5141, allocations: 4 kB / 0.7149 GB, free: 2.949 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.5142, allocations: 0 / 0.7149 GB, free: 2.949 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.5143, allocations: 7.984 kB / 0.7149 GB, free: 2.941 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.5143, allocations: 3.938 kB / 0.7149 GB, free: 2.938 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.5144, allocations: 19.86 kB / 0.7149 GB, free: 2.918 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.076e-06/0.5144, allocations: 4 kB / 0.7149 GB, free: 2.914 MB / 0.545 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 6.665e-05/0.5145, allocations: 105.8 kB / 0.715 GB, free: 2.801 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.5146, allocations: 11.91 kB / 0.715 GB, free: 2.789 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.571e-05/0.5146, allocations: 3.125 kB / 0.715 GB, free: 2.789 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.5146, allocations: 0 / 0.715 GB, free: 2.789 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.5146, allocations: 336 / 0.715 GB, free: 2.789 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.5146, allocations: 7.922 kB / 0.715 GB, free: 2.781 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.5147, allocations: 157.7 kB / 0.7152 GB, free: 2.578 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.5147, allocations: 0 / 0.7152 GB, free: 2.578 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.398e-05/0.5148, allocations: 8 kB / 0.7152 GB, free: 2.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.5148, allocations: 7.922 kB / 0.7152 GB, free: 2.562 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-06/0.5148, allocations: 0 / 0.7152 GB, free: 2.562 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.5148, allocations: 0 / 0.7152 GB, free: 2.562 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.5148, allocations: 0 / 0.7152 GB, free: 2.562 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.584e-05/0.5149, allocations: 139.4 kB / 0.7153 GB, free: 2.41 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.512e-05/0.515, allocations: 81.09 kB / 0.7154 GB, free: 2.312 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.515, allocations: 0 / 0.7154 GB, free: 2.312 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.5151, allocations: 8.031 kB / 0.7154 GB, free: 2.305 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.424e-05/0.5151, allocations: 3.938 kB / 0.7154 GB, free: 2.301 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-06/0.5151, allocations: 0 / 0.7154 GB, free: 2.301 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.547e-05/0.5152, allocations: 91.27 kB / 0.7155 GB, free: 2.211 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5152, allocations: 0 / 0.7155 GB, free: 2.211 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000237/0.5155, allocations: 19.98 kB / 0.7155 GB, free: 2.191 MB / 0.545 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.0003849/0.5158, allocations: 0.6813 MB / 0.7162 GB, free: 1.484 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001329/0.516, allocations: 19.92 kB / 0.7162 GB, free: 1.465 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.516, allocations: 0 / 0.7162 GB, free: 1.465 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.363e-05/0.516, allocations: 8 kB / 0.7162 GB, free: 1.457 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.5163, allocations: 16.02 kB / 0.7162 GB, free: 1.441 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004089/0.5167, allocations: 152.7 kB / 0.7164 GB, free: 1.25 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002152/0.517, allocations: 0.6768 MB / 0.717 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.225e-05/0.517, allocations: 11.98 kB / 0.7171 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.457e-05/0.5171, allocations: 11.42 kB / 0.7171 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of SimCode: time 2e-07/0.5171, allocations: 3.938 kB / 0.7171 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01686/0.534, allocations: 1.569 MB / 0.7186 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.024/7.558, allocations: 5.953 kB / 0.7186 GB, free: 15.07 MB / 0.5606 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)