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: translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 108.4 kB / 16.38 MB, free: 6.422 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.0009595/0.0009597, allocations: 190.2 kB / 17.32 MB, free: 5.75 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.208/1.208, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002002/0.002002, allocations: 288.8 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8602/0.8602, allocations: 169.2 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 88.28 kB / 0.6821 GB, free: 7.012 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4174/0.4191, allocations: 86.97 MB / 0.767 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002304/0.4215, allocations: 1.292 MB / 0.7683 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1455/0.567, allocations: 147.6 MB / 0.9124 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.147e-05/0.5671, allocations: 0 / 0.9124 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 2.637e-05/0.5672, allocations: 3.938 kB / 0.9124 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 5.312e-05/0.5672, allocations: 7.922 kB / 0.9124 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004302/0.5677, allocations: 115.5 kB / 0.9125 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 6.736e-05/0.5677, allocations: 27.84 kB / 0.9126 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 4.237e-05/0.5678, allocations: 3.938 kB / 0.9126 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 3.515e-05/0.5678, allocations: 7.938 kB / 0.9126 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 3.482e-05/0.5679, allocations: 4 kB / 0.9126 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.5679, allocations: 0 / 0.9126 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003902/0.5683, allocations: 183.6 kB / 0.9128 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 8.566e-06/0.5683, allocations: 0 / 0.9128 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 2.297e-05/0.5683, allocations: 11.94 kB / 0.9128 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.5686, allocations: 118 kB / 0.9129 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.5686, allocations: 0 / 0.9129 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.492e-06/0.5686, allocations: 0 / 0.9129 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.5686, allocations: 0 / 0.9129 GB, free: 13.97 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.000342/0.5689, allocations: 347.4 kB / 0.9132 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.569, allocations: 12.03 kB / 0.9132 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005447/0.5695, allocations: 36.89 kB / 0.9133 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.5696, allocations: 160.4 kB / 0.9134 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.5697, allocations: 15.92 kB / 0.9134 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.5697, allocations: 0 / 0.9134 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.5698, allocations: 41.67 kB / 0.9135 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.5699, allocations: 3.938 kB / 0.9135 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.5699, allocations: 0 / 0.9135 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.5699, allocations: 0 / 0.9135 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.57, allocations: 27.97 kB / 0.9135 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003374/0.5704, allocations: 252.8 kB / 0.9137 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 5.396e-05/0.5704, allocations: 30.52 kB / 0.9138 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.174e-05/0.5705, allocations: 12.91 kB / 0.9138 GB, free: 12.9 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.5705, allocations: 4 kB / 0.9138 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.5705, allocations: 34.5 kB / 0.9138 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.5705, allocations: 0 / 0.9138 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of matching and sorting (n=2): time 0.0001531/0.5707, allocations: 41.61 kB / 0.9139 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.5707, allocations: 55.41 kB / 0.9139 GB, free: 12.74 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.5708, allocations: 113.8 kB / 0.914 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.5709, allocations: 29.83 kB / 0.9141 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 3.822e-05/0.5709, allocations: 84.14 kB / 0.9141 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 6.322e-06/0.5709, allocations: 7.906 kB / 0.9141 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.571, allocations: 17.7 kB / 0.9142 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.888e-05/0.5711, allocations: 318.8 kB / 0.9145 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.699e-05/0.5711, allocations: 11.98 kB / 0.9145 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.909e-05/0.5712, allocations: 7.984 kB / 0.9145 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.118e-05/0.5713, allocations: 28.78 kB / 0.9145 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5713, allocations: 4 kB / 0.9145 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001803/0.5715, allocations: 53.67 kB / 0.9146 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.5715, allocations: 7.938 kB / 0.9146 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.5715, allocations: 0 / 0.9146 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.5715, allocations: 4 kB / 0.9146 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.757e-05/0.5716, allocations: 7.984 kB / 0.9146 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.5717, allocations: 4 kB / 0.9146 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.5718, allocations: 15.92 kB / 0.9146 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/0.5718, allocations: 0 / 0.9146 GB, free: 11.99 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 7.185e-05/0.5719, allocations: 116.2 kB / 0.9147 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.5719, allocations: 7.906 kB / 0.9147 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.622e-05/0.5719, allocations: 3.125 kB / 0.9147 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.572, allocations: 3.984 kB / 0.9147 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.572, allocations: 4 kB / 0.9147 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.572, allocations: 3.938 kB / 0.9147 GB, free: 11.85 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.5721, allocations: 153.7 kB / 0.9149 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5721, allocations: 0 / 0.9149 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.397e-05/0.5722, allocations: 4 kB / 0.9149 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.5722, allocations: 0 / 0.9149 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.5722, allocations: 0 / 0.9149 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.5722, allocations: 3.938 kB / 0.9149 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.5722, allocations: 0 / 0.9149 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.686e-05/0.5723, allocations: 143.5 kB / 0.915 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 4.32e-05/0.5723, allocations: 77.11 kB / 0.9151 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.5724, allocations: 0 / 0.9151 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.183e-05/0.5725, allocations: 4 kB / 0.9151 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.742e-05/0.5725, allocations: 0 / 0.9151 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.5725, allocations: 11.88 kB / 0.9151 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 8.551e-05/0.5726, allocations: 95.25 kB / 0.9152 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5726, allocations: 4.031 kB / 0.9152 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0002371/0.5728, allocations: 12 kB / 0.9152 GB, free: 11.27 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.0001718/0.573, allocations: 115.2 kB / 0.9153 GB, free: 11.15 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0001495/0.5732, allocations: 19.97 kB / 0.9153 GB, free: 11.13 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5732, allocations: 0 / 0.9153 GB, free: 11.13 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-05/0.5732, allocations: 4 kB / 0.9154 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.5735, allocations: 16 kB / 0.9154 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002836/0.5738, allocations: 152.7 kB / 0.9155 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.574, allocations: 0.6729 MB / 0.9162 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.596e-05/0.5741, allocations: 15.42 kB / 0.9162 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of SimCode: time 3.61e-07/0.5741, allocations: 0 / 0.9162 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of Templates: time 0.002077/0.5762, allocations: 0.8094 MB / 0.917 GB, free: 9.41 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)