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.005277/0.005277, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001082/0.001082, allocations: 188.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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002013/0.002014, allocations: 286.1 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9099/0.9099, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 95.86 kB / 0.681 GB, free: 16 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1556, allocations: 86.97 MB / 0.7659 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002202/0.1578, allocations: 1.291 MB / 0.7672 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5095/0.6673, allocations: 147.6 MB / 0.9113 GB, free: 14.3 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.878e-05/0.6674, allocations: 0 / 0.9113 GB, free: 14.3 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 1.886e-05/0.6675, allocations: 0 / 0.9113 GB, free: 14.3 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 6.343e-05/0.6675, allocations: 7.922 kB / 0.9113 GB, free: 14.29 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004519/0.668, allocations: 122.5 kB / 0.9115 GB, free: 14.18 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 6.947e-05/0.6681, allocations: 22.06 kB / 0.9115 GB, free: 14.16 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 5.357e-05/0.6681, allocations: 8 kB / 0.9115 GB, free: 14.15 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 3.8e-05/0.6682, allocations: 7.984 kB / 0.9115 GB, free: 14.14 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 3.903e-05/0.6682, allocations: 4 kB / 0.9115 GB, free: 14.14 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.6682, allocations: 0 / 0.9115 GB, free: 14.14 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004103/0.6687, allocations: 174 kB / 0.9117 GB, free: 13.97 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 1.535e-05/0.6687, allocations: 7.984 kB / 0.9117 GB, free: 13.96 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 2.288e-05/0.6687, allocations: 4 kB / 0.9117 GB, free: 13.96 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.6689, allocations: 114.6 kB / 0.9118 GB, free: 13.85 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.6689, allocations: 0 / 0.9118 GB, free: 13.85 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.693e-06/0.669, allocations: 0 / 0.9118 GB, free: 13.85 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.669, allocations: 0 / 0.9118 GB, free: 13.85 MB / 0.67 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.0003788/0.6694, allocations: 352 kB / 0.9121 GB, free: 13.46 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.6694, allocations: 11.97 kB / 0.9121 GB, free: 13.45 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.829e-05/0.6694, allocations: 38.67 kB / 0.9122 GB, free: 13.4 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005598/0.67, allocations: 44.89 kB / 0.9122 GB, free: 13.36 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.6701, allocations: 160.4 kB / 0.9124 GB, free: 13.16 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.6702, allocations: 3.938 kB / 0.9124 GB, free: 13.16 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.6702, allocations: 1.594 kB / 0.9124 GB, free: 13.16 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.6704, allocations: 49.64 kB / 0.9124 GB, free: 13.1 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.6704, allocations: 4 kB / 0.9124 GB, free: 13.1 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.6704, allocations: 0 / 0.9124 GB, free: 13.1 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.6704, allocations: 0 / 0.9124 GB, free: 13.1 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.6705, allocations: 19.98 kB / 0.9124 GB, free: 13.08 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/0.6709, allocations: 256.8 kB / 0.9127 GB, free: 12.78 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 5.867e-05/0.671, allocations: 22.58 kB / 0.9127 GB, free: 12.75 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.247e-05/0.671, allocations: 8.922 kB / 0.9127 GB, free: 12.73 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 6.603e-06/0.671, allocations: 4 kB / 0.9127 GB, free: 12.73 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.671, allocations: 38.56 kB / 0.9128 GB, free: 12.68 MB / 0.67 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.671, allocations: 0 / 0.9128 GB, free: 12.68 MB / 0.67 GB Notification: Performance of matching and sorting (n=2): time 0.0001523/0.6712, allocations: 45.53 kB / 0.9128 GB, free: 12.63 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.6712, allocations: 51.41 kB / 0.9128 GB, free: 12.57 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.6714, allocations: 117.8 kB / 0.913 GB, free: 12.45 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.6714, allocations: 29.83 kB / 0.913 GB, free: 12.41 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 3.868e-05/0.6714, allocations: 80.14 kB / 0.9131 GB, free: 12.33 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 9.779e-06/0.6715, allocations: 9.859 kB / 0.9131 GB, free: 12.32 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.276e-05/0.6715, allocations: 25.69 kB / 0.9131 GB, free: 12.29 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.6716, allocations: 318.8 kB / 0.9134 GB, free: 11.97 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.284e-05/0.6717, allocations: 8.859 kB / 0.9134 GB, free: 11.96 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.19e-05/0.6718, allocations: 8 kB / 0.9134 GB, free: 11.95 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.803e-05/0.6718, allocations: 24.84 kB / 0.9134 GB, free: 11.93 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.6719, allocations: 0 / 0.9134 GB, free: 11.93 MB / 0.67 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001749/0.672, allocations: 65.59 kB / 0.9135 GB, free: 11.86 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.6721, allocations: 4 kB / 0.9135 GB, free: 11.85 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.6721, allocations: 0 / 0.9135 GB, free: 11.85 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.6721, allocations: 0 / 0.9135 GB, free: 11.85 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.6722, allocations: 13.05 kB / 0.9135 GB, free: 11.84 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.6722, allocations: 4 kB / 0.9135 GB, free: 11.84 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.6724, allocations: 11.84 kB / 0.9135 GB, free: 11.82 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.6724, allocations: 15.92 kB / 0.9135 GB, free: 11.81 MB / 0.67 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 7.387e-05/0.6725, allocations: 106.5 kB / 0.9136 GB, free: 11.7 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.6725, allocations: 0 / 0.9136 GB, free: 11.7 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.831e-05/0.6725, allocations: 3.125 kB / 0.9137 GB, free: 11.7 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.6725, allocations: 4 kB / 0.9137 GB, free: 11.69 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.6726, allocations: 4 kB / 0.9137 GB, free: 11.69 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.6726, allocations: 3.938 kB / 0.9137 GB, free: 11.68 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.6727, allocations: 157.9 kB / 0.9138 GB, free: 11.48 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.6727, allocations: 1.875 kB / 0.9138 GB, free: 11.48 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.289e-05/0.6728, allocations: 0 / 0.9138 GB, free: 11.48 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.6728, allocations: 4 kB / 0.9138 GB, free: 11.48 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-06/0.6728, allocations: 0 / 0.9138 GB, free: 11.48 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.6728, allocations: 0 / 0.9138 GB, free: 11.48 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6728, allocations: 7.922 kB / 0.9138 GB, free: 11.47 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.6729, allocations: 139.5 kB / 0.914 GB, free: 11.32 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 5.309e-05/0.673, allocations: 81.11 kB / 0.914 GB, free: 11.22 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.673, allocations: 3.984 kB / 0.914 GB, free: 11.21 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.72e-05/0.6731, allocations: 4 kB / 0.914 GB, free: 11.21 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.267e-05/0.6731, allocations: 4 kB / 0.914 GB, free: 11.21 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.6731, allocations: 3.938 kB / 0.9141 GB, free: 11.2 MB / 0.67 GB Notification: Performance of sorting global known variables: time 8.59e-05/0.6732, allocations: 87.27 kB / 0.9141 GB, free: 11.12 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6732, allocations: 4.031 kB / 0.9141 GB, free: 11.11 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0002441/0.6735, allocations: 16 kB / 0.9142 GB, free: 11.1 MB / 0.67 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.0004431/0.6739, allocations: 0.6811 MB / 0.9148 GB, free: 10.39 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0001454/0.6741, allocations: 24.02 kB / 0.9148 GB, free: 10.37 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6741, allocations: 0 / 0.9148 GB, free: 10.37 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 9.067e-06/0.6741, allocations: 4 kB / 0.9148 GB, free: 10.36 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.6744, allocations: 23.75 kB / 0.9149 GB, free: 10.34 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004177/0.6749, allocations: 146.7 kB / 0.915 GB, free: 10.16 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.6751, allocations: 0.6768 MB / 0.9157 GB, free: 9.457 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 5.194e-05/0.6752, allocations: 8 kB / 0.9157 GB, free: 9.449 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.252e-05/0.6752, allocations: 19.44 kB / 0.9157 GB, free: 9.43 MB / 0.67 GB Notification: Performance of SimCode: time 1.653e-06/0.6752, allocations: 0 / 0.9157 GB, free: 9.43 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0172/0.6924, allocations: 1.612 MB / 0.9173 GB, free: 7.98 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.993/7.686, allocations: 23.69 kB / 0.9173 GB, free: 7.961 MB / 0.67 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)