Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001012/0.001012, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.703/1.703, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.768/1.768, allocations: 292.6 MB / 0.5497 GB, free: 14.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005746/0.0005747, allocations: 15.06 kB / 0.6735 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2665, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.00256/0.2691, allocations: 1.559 MB / 0.7886 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.7244/0.9936, allocations: 130.9 MB / 0.9165 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001971/0.9939, allocations: 4.438 kB / 0.9165 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001911/0.9941, allocations: 18.12 kB / 0.9165 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003432/0.9944, allocations: 69.42 kB / 0.9165 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009593/0.9954, allocations: 224.7 kB / 0.9168 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002717/0.9957, allocations: 158.2 kB / 0.9169 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002273/0.9959, allocations: 56.3 kB / 0.917 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004492/0.9963, allocations: 154.6 kB / 0.9171 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.9965, allocations: 72.56 kB / 0.9172 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.858e-05/0.9966, allocations: 4.969 kB / 0.9172 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004494/0.997, allocations: 177.4 kB / 0.9174 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.655e-05/0.9971, allocations: 34.02 kB / 0.9174 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003855/0.9975, allocations: 57.36 kB / 0.9174 GB, free: 21.83 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003357/0.9978, allocations: 192 kB / 0.9176 GB, free: 21.82 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.9978, allocations: 0 / 0.9176 GB, free: 21.82 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.604e-06/0.9979, allocations: 0 / 0.9176 GB, free: 21.82 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.9979, allocations: 1.031 kB / 0.9176 GB, free: 21.82 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001023/0.9989, allocations: 491 kB / 0.9181 GB, free: 21.41 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.999, allocations: 9.438 kB / 0.9181 GB, free: 21.41 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009/0.9999, allocations: 85.48 kB / 0.9182 GB, free: 21.39 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/1, allocations: 217.6 kB / 0.9184 GB, free: 21.19 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.706e-05/1, allocations: 41.06 kB / 0.9184 GB, free: 21.16 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.045e-05/1, allocations: 16.5 kB / 0.9185 GB, free: 21.16 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005762/1.001, allocations: 267.7 kB / 0.9187 GB, free: 21.06 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/1.001, allocations: 4.984 kB / 0.9187 GB, free: 21.05 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/1.001, allocations: 5.875 kB / 0.9187 GB, free: 21.05 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/1.001, allocations: 4.406 kB / 0.9187 GB, free: 21.05 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004422/1.001, allocations: 182.6 kB / 0.9189 GB, free: 21.05 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001988/1.003, allocations: 1.183 MB / 0.9201 GB, free: 20.16 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007523/1.004, allocations: 209.2 kB / 0.9203 GB, free: 20.14 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/1.004, allocations: 6.188 kB / 0.9203 GB, free: 20.14 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/1.004, allocations: 36.98 kB / 0.9203 GB, free: 20.09 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/1.004, allocations: 0 / 0.9203 GB, free: 20.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12): time 0.00286/1.007, allocations: 0.6434 MB / 0.9209 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001339/1.007, allocations: 55.91 kB / 0.921 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003095/1.008, allocations: 202.2 kB / 0.9212 GB, free: 19.67 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.873e-05/1.008, allocations: 32.83 kB / 0.9212 GB, free: 19.64 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/1.008, allocations: 135.7 kB / 0.9213 GB, free: 19.53 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.933e-05/1.008, allocations: 37.16 kB / 0.9214 GB, free: 19.5 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.765e-05/1.008, allocations: 6.188 kB / 0.9214 GB, free: 19.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001973/1.008, allocations: 328.8 kB / 0.9217 GB, free: 19.19 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002491/1.008, allocations: 74.61 kB / 0.9218 GB, free: 19.19 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002838/1.009, allocations: 137.9 kB / 0.9219 GB, free: 19.11 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002662/1.009, allocations: 85.72 kB / 0.922 GB, free: 19.11 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.009, allocations: 0 / 0.922 GB, free: 19.11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001575/1.011, allocations: 384.5 kB / 0.9223 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/1.011, allocations: 8.203 kB / 0.9223 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/1.011, allocations: 0 / 0.9223 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001131/1.012, allocations: 170.1 kB / 0.9225 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/1.012, allocations: 41.14 kB / 0.9225 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00561/1.018, allocations: 3.049 MB / 0.9255 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004224/1.018, allocations: 37.59 kB / 0.9256 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.064e-05/1.018, allocations: 17.23 kB / 0.9256 GB, free: 16.41 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000211/1.018, allocations: 134.9 kB / 0.9257 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.053e-05/1.018, allocations: 10.66 kB / 0.9257 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/1.02, allocations: 384 kB / 0.9261 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/1.02, allocations: 2.688 kB / 0.9261 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/1.02, allocations: 0 / 0.9261 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/1.02, allocations: 11.88 kB / 0.9261 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004103/1.02, allocations: 283.5 kB / 0.9264 GB, free: 16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/1.02, allocations: 0 / 0.9264 GB, free: 16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/1.02, allocations: 26.09 kB / 0.9264 GB, free: 16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009457/1.021, allocations: 164.3 kB / 0.9265 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/1.021, allocations: 4.781 kB / 0.9265 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004605/1.026, allocations: 3.098 MB / 0.9296 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.026, allocations: 0 / 0.9296 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001963/1.028, allocations: 452.6 kB / 0.93 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000179/1.028, allocations: 107.7 kB / 0.9301 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.904e-05/1.028, allocations: 4.25 kB / 0.9301 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004314/1.029, allocations: 21.11 kB / 0.9301 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/1.029, allocations: 17.02 kB / 0.9301 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-05/1.029, allocations: 6.516 kB / 0.9302 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002833/1.029, allocations: 149.9 kB / 0.9303 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.01e-07/1.029, allocations: 0 / 0.9303 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000771/1.03, allocations: 71.39 kB / 0.9304 GB, free: 13.03 MB / 0.7325 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 (12): * Single equations (assignments): 10 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.000394/1.03, allocations: 124.7 kB / 0.9305 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001388/1.032, allocations: 450.6 kB / 0.9309 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/1.032, allocations: 0 / 0.9309 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009326/1.033, allocations: 365.7 kB / 0.9313 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005229/1.033, allocations: 56.47 kB / 0.9313 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/1.035, allocations: 470 kB / 0.9318 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004918/1.035, allocations: 0.7377 MB / 0.9325 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002846/1.035, allocations: 36.31 kB / 0.9325 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.583e-05/1.035, allocations: 22.92 kB / 0.9325 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of SimCode: time 3.31e-07/1.035, allocations: 0 / 0.9325 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.01386/1.049, allocations: 4.796 MB / 0.9372 GB, free: 11.21 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) Environment - environmentSimulation: