Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="BuildingSystems_BuildingSystems_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.006718/0.006718, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001162/0.001162, allocations: 193.6 kB / 16.67 MB, free: 5.969 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.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002246/0.002246, allocations: 297.4 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9796/0.9796, allocations: 169.2 MB / 0.4983 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 95.84 kB / 0.681 GB, free: 7.461 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4817/0.4836, allocations: 86.97 MB / 0.7659 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002571/0.4862, allocations: 1.286 MB / 0.7672 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1555/0.6417, allocations: 147.6 MB / 0.9113 GB, free: 14.33 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.013e-05/0.6418, allocations: 0 / 0.9113 GB, free: 14.33 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 2.653e-05/0.6419, allocations: 7.938 kB / 0.9113 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 5.166e-05/0.6419, allocations: 7.922 kB / 0.9114 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004246/0.6424, allocations: 115.5 kB / 0.9115 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 6.237e-05/0.6424, allocations: 19.86 kB / 0.9115 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 4.812e-05/0.6425, allocations: 3.984 kB / 0.9115 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 3.456e-05/0.6425, allocations: 4 kB / 0.9115 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 3.555e-05/0.6426, allocations: 11.94 kB / 0.9115 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.6426, allocations: 0 / 0.9115 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003832/0.643, allocations: 179.7 kB / 0.9117 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 9.718e-06/0.643, allocations: 0 / 0.9117 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 2.503e-05/0.643, allocations: 11.94 kB / 0.9117 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.6432, allocations: 120.8 kB / 0.9118 GB, free: 13.87 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.6432, allocations: 0 / 0.9118 GB, free: 13.87 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.402e-06/0.6433, allocations: 3.938 kB / 0.9118 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.6433, allocations: 0 / 0.9118 GB, free: 13.86 MB / 0.6856 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.0003321/0.6436, allocations: 351.2 kB / 0.9121 GB, free: 13.47 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.6436, allocations: 8.031 kB / 0.9121 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.787e-05/0.6437, allocations: 34.75 kB / 0.9122 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005279/0.6442, allocations: 32.89 kB / 0.9122 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.6443, allocations: 176 kB / 0.9124 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.6444, allocations: 0 / 0.9124 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.6444, allocations: 0 / 0.9124 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.6445, allocations: 53.66 kB / 0.9124 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.6446, allocations: 3.938 kB / 0.9124 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.6446, allocations: 0 / 0.9124 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.6446, allocations: 4 kB / 0.9124 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.6447, allocations: 27.89 kB / 0.9125 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003248/0.6451, allocations: 248.9 kB / 0.9127 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 5.388e-05/0.6451, allocations: 26.58 kB / 0.9127 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.325e-05/0.6451, allocations: 12.91 kB / 0.9127 GB, free: 12.74 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 9.388e-06/0.6452, allocations: 0 / 0.9127 GB, free: 12.74 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.6452, allocations: 34.5 kB / 0.9128 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.6452, allocations: 0 / 0.9128 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of matching and sorting (n=2): time 0.0001497/0.6453, allocations: 41.7 kB / 0.9128 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.6454, allocations: 51.53 kB / 0.9129 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.6455, allocations: 117.8 kB / 0.913 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.6456, allocations: 29.7 kB / 0.913 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 4.583e-05/0.6456, allocations: 84.09 kB / 0.9131 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 6.772e-06/0.6456, allocations: 4 kB / 0.9131 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.161e-05/0.6457, allocations: 21.66 kB / 0.9131 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.552e-05/0.6458, allocations: 314.8 kB / 0.9134 GB, free: 12 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.714e-05/0.6458, allocations: 19.92 kB / 0.9134 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.704e-05/0.6459, allocations: 7.984 kB / 0.9134 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.896e-05/0.646, allocations: 28.78 kB / 0.9135 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.646, allocations: 0 / 0.9135 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001773/0.6462, allocations: 53.67 kB / 0.9135 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.6462, allocations: 8 kB / 0.9135 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.6462, allocations: 4 kB / 0.9135 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.6462, allocations: 0 / 0.9135 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.6463, allocations: 11.98 kB / 0.9135 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.6464, allocations: 0 / 0.9135 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.6465, allocations: 11.92 kB / 0.9135 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.6465, allocations: 0 / 0.9135 GB, free: 11.84 MB / 0.6856 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.749e-05/0.6466, allocations: 112.2 kB / 0.9137 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.6466, allocations: 7.938 kB / 0.9137 GB, free: 11.72 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.626e-05/0.6466, allocations: 7.125 kB / 0.9137 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.6466, allocations: 0 / 0.9137 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.6467, allocations: 3.984 kB / 0.9137 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.6467, allocations: 7.938 kB / 0.9137 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.6468, allocations: 149.7 kB / 0.9138 GB, free: 11.51 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.6468, allocations: 4 kB / 0.9138 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.197e-05/0.6468, allocations: 4 kB / 0.9138 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.6468, allocations: 0 / 0.9138 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.6469, allocations: 0 / 0.9138 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.6469, allocations: 4 kB / 0.9138 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.6469, allocations: 4 kB / 0.9138 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.976e-05/0.647, allocations: 139.4 kB / 0.914 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 4.186e-05/0.647, allocations: 77.11 kB / 0.914 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.647, allocations: 7.938 kB / 0.9141 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.185e-05/0.6471, allocations: 0 / 0.9141 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.047e-05/0.6472, allocations: 4.266 kB / 0.9141 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.6472, allocations: 8.031 kB / 0.9141 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 8.576e-05/0.6473, allocations: 99.17 kB / 0.9142 GB, free: 11.13 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6473, allocations: 4 kB / 0.9142 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0002326/0.6475, allocations: 15.94 kB / 0.9142 GB, free: 11.11 MB / 0.6856 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.0004356/0.648, allocations: 0.6773 MB / 0.9148 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0001375/0.6481, allocations: 19.92 kB / 0.9149 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.6481, allocations: 0 / 0.9149 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-05/0.6481, allocations: 15.92 kB / 0.9149 GB, free: 10.37 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.6485, allocations: 15.23 kB / 0.9149 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004292/0.6489, allocations: 156.8 kB / 0.915 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.6491, allocations: 0.6729 MB / 0.9157 GB, free: 9.465 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 5.952e-05/0.6492, allocations: 8 kB / 0.9157 GB, free: 9.457 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.184e-05/0.6492, allocations: 11.42 kB / 0.9157 GB, free: 9.445 MB / 0.6856 GB Notification: Performance of SimCode: time 2.2e-07/0.6492, allocations: 0 / 0.9157 GB, free: 9.445 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01605/0.6653, allocations: 1.602 MB / 0.9173 GB, free: 7.992 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.232/7.897, allocations: 14.92 kB / 0.9173 GB, free: 7.98 MB / 0.6856 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)