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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8688/0.8688, allocations: 143.4 MB / 159.2 MB, free: 4.832 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 186 kB / 191.9 MB, free: 5.727 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 222.9 MB / 447.3 MB, free: 5.887 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 99.75 kB / 0.517 GB, free: 3.738 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001889/0.001889, allocations: 283.3 kB / 0.5973 GB, free: 49.39 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 83.88 kB / 0.6885 GB, free: 3.863 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3593, allocations: 81.3 MB / 0.7679 GB, free: 27.68 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002815/0.3621, allocations: 1.696 MB / 0.7696 GB, free: 25.97 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.4975/0.8597, allocations: 149.2 MB / 0.9153 GB, free: 0.6367 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.8599, allocations: 4.438 kB / 0.9153 GB, free: 0.6367 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.86, allocations: 9.047 kB / 0.9153 GB, free: 0.6367 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002225/0.8603, allocations: 43.72 kB / 0.9154 GB, free: 0.6328 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004401/0.8607, allocations: 118.8 kB / 0.9155 GB, free: 0.6289 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002158/0.8609, allocations: 126 kB / 0.9156 GB, free: 0.625 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.8611, allocations: 30.66 kB / 0.9156 GB, free: 0.6133 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002291/0.8634, allocations: 158.4 kB / 0.9158 GB, free: 0.6055 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.8635, allocations: 39 kB / 0.9158 GB, free: 0.6055 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.8635, allocations: 5.219 kB / 0.9158 GB, free: 0.6055 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004711/0.864, allocations: 183.9 kB / 0.916 GB, free: 0.6016 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 5.272e-05/0.8641, allocations: 21.34 kB / 0.916 GB, free: 0.6016 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 7.918e-05/0.8642, allocations: 50.28 kB / 0.9161 GB, free: 0.5938 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003945/0.8646, allocations: 185.8 kB / 0.9163 GB, free: 0.5781 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.8646, allocations: 0 / 0.9163 GB, free: 0.5781 MB / 0.5573 GB Notification: Performance of FrontEnd: time 9.22e-07/0.8646, allocations: 1.062 kB / 0.9163 GB, free: 0.5781 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.8646, allocations: 0 / 0.9163 GB, free: 0.5781 MB / 0.5573 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.0006978/0.8653, allocations: 445.9 kB / 0.9167 GB, free: 16.18 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.8653, allocations: 10.19 kB / 0.9167 GB, free: 16.18 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008769/0.8662, allocations: 82.42 kB / 0.9168 GB, free: 16.17 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.8665, allocations: 208 kB / 0.917 GB, free: 15.96 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.8665, allocations: 6.969 kB / 0.917 GB, free: 15.96 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.8665, allocations: 4.906 kB / 0.917 GB, free: 15.96 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004492/0.867, allocations: 140.6 kB / 0.9171 GB, free: 15.93 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.867, allocations: 1.203 kB / 0.9171 GB, free: 15.93 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.867, allocations: 3.688 kB / 0.9171 GB, free: 15.93 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.867, allocations: 5.75 kB / 0.9171 GB, free: 15.92 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005436/0.8676, allocations: 136.1 kB / 0.9173 GB, free: 15.92 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007201/0.8683, allocations: 418.2 kB / 0.9177 GB, free: 15.63 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006857/0.869, allocations: 252.8 kB / 0.9179 GB, free: 15.51 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002416/0.8693, allocations: 71.05 kB / 0.918 GB, free: 15.5 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.8693, allocations: 0.5938 kB / 0.918 GB, free: 15.5 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.8693, allocations: 36.75 kB / 0.918 GB, free: 15.46 MB / 0.573 GB Notification: Performance of pre-optimization done (n=8): time 1.322e-06/0.8693, allocations: 0 / 0.918 GB, free: 15.46 MB / 0.573 GB Notification: Performance of matching and sorting (n=8): time 0.0007771/0.8701, allocations: 224.8 kB / 0.9182 GB, free: 15.42 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.8701, allocations: 54.03 kB / 0.9183 GB, free: 15.36 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.8703, allocations: 144.8 kB / 0.9184 GB, free: 15.26 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.8703, allocations: 25.7 kB / 0.9184 GB, free: 15.23 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 5.708e-05/0.8703, allocations: 103.8 kB / 0.9185 GB, free: 15.14 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/0.8704, allocations: 29.91 kB / 0.9186 GB, free: 15.12 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.952e-05/0.8704, allocations: 24.62 kB / 0.9186 GB, free: 15.11 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.8e-05/0.8705, allocations: 330.6 kB / 0.9189 GB, free: 14.79 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.8707, allocations: 51.12 kB / 0.9189 GB, free: 14.79 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002362/0.871, allocations: 75.67 kB / 0.919 GB, free: 14.77 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003871/0.8714, allocations: 125 kB / 0.9191 GB, free: 14.75 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.8714, allocations: 0 / 0.9191 GB, free: 14.75 MB / 0.573 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004469/0.8719, allocations: 160.3 kB / 0.9193 GB, free: 14.71 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.8719, allocations: 5.531 kB / 0.9193 GB, free: 14.71 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.8719, allocations: 4 kB / 0.9193 GB, free: 14.71 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.8719, allocations: 0 / 0.9193 GB, free: 14.71 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.8721, allocations: 35.25 kB / 0.9193 GB, free: 14.71 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.8721, allocations: 0.5469 kB / 0.9193 GB, free: 14.71 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.8723, allocations: 20.59 kB / 0.9194 GB, free: 14.71 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.8723, allocations: 0 / 0.9194 GB, free: 14.71 MB / 0.573 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.944e-05/0.8724, allocations: 132.5 kB / 0.9195 GB, free: 14.58 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.502e-05/0.8724, allocations: 12.22 kB / 0.9195 GB, free: 14.57 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.606e-05/0.8725, allocations: 18.23 kB / 0.9195 GB, free: 14.57 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.8725, allocations: 0 / 0.9195 GB, free: 14.57 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.8725, allocations: 2.781 kB / 0.9195 GB, free: 14.57 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.8725, allocations: 4 kB / 0.9195 GB, free: 14.57 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007496/0.8733, allocations: 462.5 kB / 0.92 GB, free: 14.27 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.8733, allocations: 0 / 0.92 GB, free: 14.27 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.8735, allocations: 29.89 kB / 0.92 GB, free: 14.26 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.8735, allocations: 0 / 0.92 GB, free: 14.26 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.8735, allocations: 7.656 kB / 0.92 GB, free: 14.26 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.8735, allocations: 0 / 0.92 GB, free: 14.26 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.8735, allocations: 3.938 kB / 0.92 GB, free: 14.26 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009202/0.8744, allocations: 0.8793 MB / 0.9209 GB, free: 13.54 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.03e-05/0.8745, allocations: 96.31 kB / 0.9209 GB, free: 13.44 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.8745, allocations: 0 / 0.9209 GB, free: 13.44 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.8747, allocations: 20.41 kB / 0.921 GB, free: 13.43 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.277e-05/0.8747, allocations: 9.875 kB / 0.921 GB, free: 13.43 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.8748, allocations: 4.109 kB / 0.921 GB, free: 13.43 MB / 0.573 GB Notification: Performance of sorting global known variables: time 7.38e-05/0.8748, allocations: 109.8 kB / 0.9211 GB, free: 13.36 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8748, allocations: 1.219 kB / 0.9211 GB, free: 13.36 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0003744/0.8752, allocations: 30.81 kB / 0.9211 GB, free: 13.36 MB / 0.573 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.000173/0.8754, allocations: 117.4 kB / 0.9212 GB, free: 13.26 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0004844/0.8759, allocations: 125.7 kB / 0.9213 GB, free: 13.26 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.8759, allocations: 0 / 0.9213 GB, free: 13.26 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002309/0.8761, allocations: 71.27 kB / 0.9214 GB, free: 13.26 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.8765, allocations: 30.77 kB / 0.9214 GB, free: 13.25 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006749/0.8772, allocations: 385.8 kB / 0.9218 GB, free: 12.97 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.8775, allocations: 0.7102 MB / 0.9225 GB, free: 12.27 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001641/0.8776, allocations: 23.67 kB / 0.9225 GB, free: 12.26 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.37e-05/0.8777, allocations: 14.52 kB / 0.9225 GB, free: 12.25 MB / 0.573 GB Notification: Performance of SimCode: time 2.1e-07/0.8777, allocations: 3 kB / 0.9225 GB, free: 12.25 MB / 0.573 GB Notification: Performance of Templates: time 0.004734/0.8824, allocations: 1.812 MB / 0.9243 GB, free: 12.14 MB / 0.573 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)