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.005683/0.005683, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001372/0.001372, allocations: 195.2 kB / 16.67 MB, free: 5.52 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002146/0.002146, allocations: 287.3 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9455/0.9455, allocations: 169.2 MB / 0.4983 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 95.84 kB / 0.6814 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.4075, allocations: 86.98 MB / 0.7664 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002614/0.4102, allocations: 1.65 MB / 0.768 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1487/0.5589, allocations: 151.6 MB / 0.916 GB, free: 9.953 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.116e-05/0.559, allocations: 4 kB / 0.916 GB, free: 9.949 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.5592, allocations: 15.8 kB / 0.916 GB, free: 9.934 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0002075/0.5594, allocations: 39.72 kB / 0.9161 GB, free: 9.895 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003132/0.5597, allocations: 147.4 kB / 0.9162 GB, free: 9.75 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.5599, allocations: 123.6 kB / 0.9163 GB, free: 9.629 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.56, allocations: 29.38 kB / 0.9163 GB, free: 9.602 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.561, allocations: 170.3 kB / 0.9165 GB, free: 9.457 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 7.375e-05/0.5611, allocations: 47.77 kB / 0.9165 GB, free: 9.41 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.5611, allocations: 8 kB / 0.9166 GB, free: 9.402 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003322/0.5615, allocations: 183.7 kB / 0.9167 GB, free: 9.223 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 3.52e-05/0.5615, allocations: 23.92 kB / 0.9168 GB, free: 9.199 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 5.156e-05/0.5616, allocations: 43.73 kB / 0.9168 GB, free: 9.156 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0002896/0.5619, allocations: 186 kB / 0.917 GB, free: 8.977 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.5619, allocations: 4 kB / 0.917 GB, free: 8.973 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5619, allocations: 3.938 kB / 0.917 GB, free: 8.969 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.5619, allocations: 0 / 0.917 GB, free: 8.969 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.0005784/0.5625, allocations: 450.9 kB / 0.9174 GB, free: 8.48 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.5625, allocations: 8.031 kB / 0.9174 GB, free: 8.473 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009537/0.5635, allocations: 83.94 kB / 0.9175 GB, free: 8.391 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.5637, allocations: 202.8 kB / 0.9177 GB, free: 8.152 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.5637, allocations: 8 kB / 0.9177 GB, free: 8.145 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.5638, allocations: 7.984 kB / 0.9177 GB, free: 8.137 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004144/0.5642, allocations: 137.6 kB / 0.9178 GB, free: 7.996 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.5642, allocations: 0 / 0.9178 GB, free: 7.996 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.5642, allocations: 3.938 kB / 0.9178 GB, free: 7.992 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.5642, allocations: 7.938 kB / 0.9178 GB, free: 7.984 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000515/0.5648, allocations: 135.9 kB / 0.918 GB, free: 7.852 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007085/0.5655, allocations: 408.4 kB / 0.9184 GB, free: 7.402 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000684/0.5662, allocations: 251.7 kB / 0.9186 GB, free: 7.129 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002332/0.5664, allocations: 80.8 kB / 0.9187 GB, free: 7.047 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.5665, allocations: 0 / 0.9187 GB, free: 7.047 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.5665, allocations: 34.56 kB / 0.9187 GB, free: 7.004 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=8): time 9.11e-07/0.5665, allocations: 0 / 0.9187 GB, free: 7.004 MB / 0.6856 GB Notification: Performance of matching and sorting (n=8): time 0.0007539/0.5672, allocations: 213.4 kB / 0.9189 GB, free: 6.789 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.5673, allocations: 55.41 kB / 0.919 GB, free: 6.723 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.5674, allocations: 145.3 kB / 0.9191 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.5674, allocations: 29.7 kB / 0.9191 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 5.669e-05/0.5675, allocations: 108.1 kB / 0.9192 GB, free: 6.43 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.446e-05/0.5675, allocations: 31.69 kB / 0.9193 GB, free: 6.398 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.251e-05/0.5676, allocations: 21.7 kB / 0.9193 GB, free: 6.371 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.5677, allocations: 326.8 kB / 0.9196 GB, free: 6.043 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.5679, allocations: 47.95 kB / 0.9196 GB, free: 5.996 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002265/0.5682, allocations: 82.52 kB / 0.9197 GB, free: 5.906 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004047/0.5686, allocations: 120.8 kB / 0.9198 GB, free: 5.785 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.5686, allocations: 3.938 kB / 0.9198 GB, free: 5.781 MB / 0.6856 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004866/0.5691, allocations: 153.5 kB / 0.92 GB, free: 5.625 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.5691, allocations: 4 kB / 0.92 GB, free: 5.621 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.5691, allocations: 4 kB / 0.92 GB, free: 5.617 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.5691, allocations: 0 / 0.92 GB, free: 5.617 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.5693, allocations: 31.95 kB / 0.92 GB, free: 5.586 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.5693, allocations: 4 kB / 0.92 GB, free: 5.582 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.5695, allocations: 23.83 kB / 0.9201 GB, free: 5.559 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/0.5695, allocations: 0 / 0.9201 GB, free: 5.559 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 9.369e-05/0.5696, allocations: 136 kB / 0.9202 GB, free: 5.418 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-05/0.5697, allocations: 7.906 kB / 0.9202 GB, free: 5.41 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.176e-05/0.5697, allocations: 20.72 kB / 0.9202 GB, free: 5.391 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.5697, allocations: 0 / 0.9202 GB, free: 5.391 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.5697, allocations: 0 / 0.9202 GB, free: 5.391 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.5697, allocations: 0 / 0.9202 GB, free: 5.391 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007936/0.5705, allocations: 462.3 kB / 0.9207 GB, free: 4.883 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.5706, allocations: 0 / 0.9207 GB, free: 4.883 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001853/0.5707, allocations: 31.97 kB / 0.9207 GB, free: 4.852 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.5708, allocations: 3.984 kB / 0.9207 GB, free: 4.848 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.5708, allocations: 3.938 kB / 0.9207 GB, free: 4.844 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.5708, allocations: 3.938 kB / 0.9207 GB, free: 4.84 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5708, allocations: 4 kB / 0.9207 GB, free: 4.836 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005057/0.5713, allocations: 263.9 kB / 0.921 GB, free: 4.562 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 4.627e-05/0.5714, allocations: 85.02 kB / 0.921 GB, free: 4.461 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.5714, allocations: 4 kB / 0.921 GB, free: 4.457 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.5716, allocations: 23.91 kB / 0.9211 GB, free: 4.434 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/0.5716, allocations: 8 kB / 0.9211 GB, free: 4.426 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.5716, allocations: 7.969 kB / 0.9211 GB, free: 4.418 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 6.954e-05/0.5717, allocations: 109.5 kB / 0.9212 GB, free: 4.312 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5717, allocations: 0 / 0.9212 GB, free: 4.312 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0002558/0.572, allocations: 31.94 kB / 0.9212 GB, free: 4.281 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.0001526/0.5721, allocations: 119.2 kB / 0.9213 GB, free: 4.156 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005002/0.5726, allocations: 123.9 kB / 0.9214 GB, free: 4.035 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.5726, allocations: 0 / 0.9214 GB, free: 4.035 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002288/0.5729, allocations: 71.88 kB / 0.9215 GB, free: 3.965 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.5732, allocations: 35.92 kB / 0.9215 GB, free: 3.93 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005244/0.5738, allocations: 223.2 kB / 0.9218 GB, free: 3.684 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.574, allocations: 0.7002 MB / 0.9224 GB, free: 2.957 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001275/0.5741, allocations: 28.41 kB / 0.9225 GB, free: 2.93 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.22e-05/0.5742, allocations: 15.44 kB / 0.9225 GB, free: 2.914 MB / 0.6856 GB Notification: Performance of SimCode: time 3.9e-07/0.5742, allocations: 0 / 0.9225 GB, free: 2.914 MB / 0.6856 GB Notification: Performance of Templates: time 0.004595/0.5788, allocations: 1.956 MB / 0.9244 GB, free: 0.9883 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)