Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 105.1 kB / 16.41 MB, free: 6.449 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.001307/0.001308, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.304/1.304, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002024/0.002024, allocations: 286.3 kB / 291.5 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8868/0.8868, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 95.84 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3928/0.3946, allocations: 86.97 MB / 0.767 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002636/0.3973, allocations: 1.64 MB / 0.7686 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1504/0.5477, allocations: 151.6 MB / 0.9166 GB, free: 10.1 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.5479, allocations: 0 / 0.9166 GB, free: 10.1 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.5481, allocations: 19.73 kB / 0.9167 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0002546/0.5484, allocations: 51.62 kB / 0.9167 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004203/0.5488, allocations: 143.4 kB / 0.9169 GB, free: 9.887 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.549, allocations: 123.6 kB / 0.917 GB, free: 9.766 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.5491, allocations: 29.38 kB / 0.917 GB, free: 9.738 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001172/0.5503, allocations: 160.6 kB / 0.9172 GB, free: 9.605 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 7.307e-05/0.5504, allocations: 47.77 kB / 0.9172 GB, free: 9.559 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.5504, allocations: 8 kB / 0.9172 GB, free: 9.551 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003709/0.5508, allocations: 187.6 kB / 0.9174 GB, free: 9.367 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 3.982e-05/0.5508, allocations: 19.92 kB / 0.9174 GB, free: 9.348 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 5.128e-05/0.5509, allocations: 43.73 kB / 0.9174 GB, free: 9.305 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0003442/0.5512, allocations: 190.1 kB / 0.9176 GB, free: 9.121 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.5513, allocations: 0 / 0.9176 GB, free: 9.121 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.163e-06/0.5513, allocations: 0 / 0.9176 GB, free: 9.121 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.5513, allocations: 0 / 0.9176 GB, free: 9.121 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000618/0.5519, allocations: 450.9 kB / 0.9181 GB, free: 8.633 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.5519, allocations: 12.03 kB / 0.9181 GB, free: 8.621 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000888/0.5528, allocations: 75.94 kB / 0.9181 GB, free: 8.547 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.5531, allocations: 214.7 kB / 0.9183 GB, free: 8.297 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.5531, allocations: 4 kB / 0.9183 GB, free: 8.293 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.5531, allocations: 8 kB / 0.9184 GB, free: 8.285 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004059/0.5535, allocations: 133.5 kB / 0.9185 GB, free: 8.148 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.792e-06/0.5535, allocations: 0 / 0.9185 GB, free: 8.148 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.5536, allocations: 8 kB / 0.9185 GB, free: 8.141 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.5536, allocations: 7.938 kB / 0.9185 GB, free: 8.133 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005222/0.5541, allocations: 138.8 kB / 0.9186 GB, free: 8 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007282/0.5548, allocations: 420.3 kB / 0.919 GB, free: 7.539 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006757/0.5555, allocations: 255.7 kB / 0.9193 GB, free: 7.262 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002298/0.5558, allocations: 72.8 kB / 0.9193 GB, free: 7.188 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.5558, allocations: 4 kB / 0.9193 GB, free: 7.184 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.5558, allocations: 34.56 kB / 0.9194 GB, free: 7.141 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.5558, allocations: 0 / 0.9194 GB, free: 7.141 MB / 0.6856 GB Notification: Performance of matching and sorting (n=8): time 0.0007617/0.5566, allocations: 217.4 kB / 0.9196 GB, free: 6.922 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.5566, allocations: 55.39 kB / 0.9196 GB, free: 6.855 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.5568, allocations: 149.3 kB / 0.9198 GB, free: 6.703 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.5568, allocations: 25.7 kB / 0.9198 GB, free: 6.672 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 5.347e-05/0.5568, allocations: 100.1 kB / 0.9199 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.5569, allocations: 27.7 kB / 0.9199 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-05/0.5569, allocations: 29.7 kB / 0.92 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.657e-05/0.557, allocations: 322.8 kB / 0.9203 GB, free: 6.184 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.5573, allocations: 59.92 kB / 0.9203 GB, free: 6.125 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002283/0.5575, allocations: 82.52 kB / 0.9204 GB, free: 6.035 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004017/0.5579, allocations: 112.8 kB / 0.9205 GB, free: 5.922 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.5579, allocations: 0 / 0.9205 GB, free: 5.922 MB / 0.6856 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004731/0.5584, allocations: 161.5 kB / 0.9207 GB, free: 5.758 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.5584, allocations: 8 kB / 0.9207 GB, free: 5.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.5584, allocations: 0 / 0.9207 GB, free: 5.75 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.5584, allocations: 0 / 0.9207 GB, free: 5.75 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/0.5586, allocations: 27.97 kB / 0.9207 GB, free: 5.723 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.5587, allocations: 4 kB / 0.9207 GB, free: 5.719 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.5588, allocations: 19.83 kB / 0.9207 GB, free: 5.699 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.5588, allocations: 7.984 kB / 0.9207 GB, free: 5.691 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 (8): * Single equations (assignments): 8 * 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 8.618e-05/0.5589, allocations: 121.8 kB / 0.9208 GB, free: 5.562 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.555e-05/0.559, allocations: 7.906 kB / 0.9209 GB, free: 5.555 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.912e-05/0.559, allocations: 16.7 kB / 0.9209 GB, free: 5.539 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.559, allocations: 4 kB / 0.9209 GB, free: 5.535 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.559, allocations: 0 / 0.9209 GB, free: 5.535 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.559, allocations: 4 kB / 0.9209 GB, free: 5.531 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007603/0.5598, allocations: 458.3 kB / 0.9213 GB, free: 5.027 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.5598, allocations: 8 kB / 0.9213 GB, free: 5.02 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/0.56, allocations: 27.91 kB / 0.9213 GB, free: 4.992 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.56, allocations: 0 / 0.9213 GB, free: 4.992 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.56, allocations: 4 kB / 0.9213 GB, free: 4.988 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.5601, allocations: 3.938 kB / 0.9214 GB, free: 4.984 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5601, allocations: 0 / 0.9214 GB, free: 4.984 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005018/0.5606, allocations: 271.1 kB / 0.9216 GB, free: 4.703 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 4.442e-05/0.5606, allocations: 85.02 kB / 0.9217 GB, free: 4.602 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.5607, allocations: 0 / 0.9217 GB, free: 4.602 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.5608, allocations: 23.91 kB / 0.9217 GB, free: 4.578 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.5609, allocations: 19.97 kB / 0.9217 GB, free: 4.559 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.5609, allocations: 0 / 0.9217 GB, free: 4.559 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 6.871e-05/0.561, allocations: 117.5 kB / 0.9218 GB, free: 4.445 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/0.561, allocations: 0 / 0.9218 GB, free: 4.445 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0002674/0.5612, allocations: 27.94 kB / 0.9219 GB, free: 4.418 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 (8): * Single equations (assignments): 8 * 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.0001522/0.5614, allocations: 115.2 kB / 0.922 GB, free: 4.297 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004846/0.5619, allocations: 124.5 kB / 0.9221 GB, free: 4.176 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.5619, allocations: 0 / 0.9221 GB, free: 4.176 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002281/0.5621, allocations: 67.94 kB / 0.9222 GB, free: 4.109 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.5625, allocations: 33.39 kB / 0.9222 GB, free: 4.078 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005518/0.563, allocations: 252.9 kB / 0.9224 GB, free: 3.797 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.5633, allocations: 0.708 MB / 0.9231 GB, free: 3.062 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.56e-05/0.5634, allocations: 15.44 kB / 0.9231 GB, free: 3.047 MB / 0.6856 GB Notification: Performance of SimCode: time 2e-07/0.5634, allocations: 0 / 0.9231 GB, free: 3.047 MB / 0.6856 GB Notification: Performance of Templates: time 0.00321/0.5666, allocations: 1.715 MB / 0.9248 GB, free: 1.34 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)