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.0008384/0.0008384, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.0008058/0.0008058, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002387/0.002387, allocations: 281.6 kB / 291.4 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9305/0.9305, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004219/0.000422, allocations: 15.06 kB / 0.598 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.171, allocations: 88.55 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001753/0.1728, allocations: 1.327 MB / 0.6858 GB, free: 14.13 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4959/0.6687, allocations: 137.7 MB / 0.8202 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.346e-05/0.6688, allocations: 1 kB / 0.8202 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.177e-05/0.6689, allocations: 15.45 kB / 0.8202 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001623/0.6691, allocations: 37.45 kB / 0.8203 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002643/0.6694, allocations: 126.2 kB / 0.8204 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.6695, allocations: 106.9 kB / 0.8205 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.734e-05/0.6696, allocations: 22.42 kB / 0.8205 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000268/0.6699, allocations: 118 kB / 0.8206 GB, free: 0.75 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.531e-05/0.6699, allocations: 36.95 kB / 0.8207 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.6699, allocations: 3.562 kB / 0.8207 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002933/0.6702, allocations: 175.3 kB / 0.8208 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.784e-05/0.6703, allocations: 19.3 kB / 0.8208 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.591e-05/0.6703, allocations: 44.52 kB / 0.8209 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.6705, allocations: 129.1 kB / 0.821 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.6705, allocations: 4 kB / 0.821 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.092e-06/0.6705, allocations: 1.125 kB / 0.821 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.812e-06/0.6705, allocations: 0 / 0.821 GB, free: 0.6562 MB / 0.545 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.0005273/0.671, allocations: 432.5 kB / 0.8214 GB, free: 16.26 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.8e-05/0.6711, allocations: 9.719 kB / 0.8214 GB, free: 16.26 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007789/0.6719, allocations: 78.86 kB / 0.8215 GB, free: 16.25 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.6721, allocations: 205.4 kB / 0.8217 GB, free: 16.05 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.6721, allocations: 9.438 kB / 0.8217 GB, free: 16.04 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.6721, allocations: 12.75 kB / 0.8217 GB, free: 16.04 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003544/0.6725, allocations: 149.2 kB / 0.8219 GB, free: 16 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.6725, allocations: 0 / 0.8219 GB, free: 16 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.6725, allocations: 6.469 kB / 0.8219 GB, free: 16 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.6725, allocations: 1.062 kB / 0.8219 GB, free: 16 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004512/0.673, allocations: 158.2 kB / 0.822 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006173/0.6736, allocations: 417 kB / 0.8224 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000582/0.6742, allocations: 259.2 kB / 0.8227 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.6744, allocations: 88.39 kB / 0.8228 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.6744, allocations: 1.031 kB / 0.8228 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.6745, allocations: 39.98 kB / 0.8228 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.6745, allocations: 1.094 kB / 0.8228 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0006647/0.6751, allocations: 242.8 kB / 0.823 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.6752, allocations: 58.91 kB / 0.8231 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.756e-05/0.6753, allocations: 141.1 kB / 0.8232 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.6753, allocations: 30.64 kB / 0.8233 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.229e-05/0.6754, allocations: 102.9 kB / 0.8233 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.6754, allocations: 28.53 kB / 0.8234 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/0.6754, allocations: 0 / 0.8234 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.852e-05/0.6755, allocations: 325.1 kB / 0.8237 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.6757, allocations: 68.38 kB / 0.8238 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.6759, allocations: 90.48 kB / 0.8238 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.6761, allocations: 69.86 kB / 0.8239 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.6761, allocations: 0 / 0.8239 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004162/0.6765, allocations: 180.9 kB / 0.8241 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.6766, allocations: 10.19 kB / 0.8241 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.6766, allocations: 0 / 0.8241 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.6766, allocations: 0 / 0.8241 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.6768, allocations: 37.28 kB / 0.8241 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.6768, allocations: 1.406 kB / 0.8241 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.6769, allocations: 30.8 kB / 0.8242 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.6769, allocations: 7.875 kB / 0.8242 GB, free: 14.76 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.622e-05/0.677, allocations: 119.8 kB / 0.8243 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.122e-05/0.677, allocations: 8.281 kB / 0.8243 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.836e-05/0.6771, allocations: 16.75 kB / 0.8243 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.6771, allocations: 5.594 kB / 0.8243 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.6771, allocations: 0 / 0.8243 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.6771, allocations: 0 / 0.8243 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006826/0.6778, allocations: 489.7 kB / 0.8248 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.6778, allocations: 1.125 kB / 0.8248 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.678, allocations: 37.47 kB / 0.8248 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.678, allocations: 1.094 kB / 0.8248 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.678, allocations: 3.516 kB / 0.8248 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.678, allocations: 6.719 kB / 0.8248 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.678, allocations: 3.984 kB / 0.8248 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000447/0.6785, allocations: 276.6 kB / 0.8251 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.94e-05/0.6785, allocations: 90.61 kB / 0.8252 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.6786, allocations: 1.25 kB / 0.8252 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.6787, allocations: 20.77 kB / 0.8252 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/0.6788, allocations: 14.02 kB / 0.8252 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.6788, allocations: 2.094 kB / 0.8252 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.027e-05/0.6788, allocations: 114.2 kB / 0.8253 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6788, allocations: 0 / 0.8253 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002424/0.6791, allocations: 31.25 kB / 0.8253 GB, free: 13.98 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001494/0.6793, allocations: 123.9 kB / 0.8255 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004257/0.6797, allocations: 143.2 kB / 0.8256 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.6797, allocations: 1.531 kB / 0.8256 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001962/0.6799, allocations: 82.23 kB / 0.8257 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.6802, allocations: 35.12 kB / 0.8257 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004739/0.6807, allocations: 261.8 kB / 0.826 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.681, allocations: 0.705 MB / 0.8267 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001399/0.6811, allocations: 23.73 kB / 0.8267 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.55e-05/0.6812, allocations: 20.89 kB / 0.8267 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of SimCode: time 2.11e-07/0.6812, allocations: 0 / 0.8267 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of Templates: time 0.003866/0.685, allocations: 1.692 MB / 0.8283 GB, free: 12.14 MB / 0.5606 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)