Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.37/2.37, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001377/0.001376, allocations: 174.4 kB / 325.8 MB, free: 2.793 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.416/2.416, allocations: 205.4 MB / 0.5767 GB, free: 20.73 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009122/0.0009117, allocations: 86.3 kB / 0.6812 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004703/0.0004704, allocations: 16 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2071, allocations: 106.3 MB / 0.899 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003435/0.2106, allocations: 1.593 MB / 0.9006 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2311/0.4417, allocations: 141.2 MB / 1.039 GB, free: 2.145 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001941/0.4419, allocations: 0 / 1.039 GB, free: 2.145 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0002118/0.4422, allocations: 19.86 kB / 1.039 GB, free: 2.125 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.000324/0.4425, allocations: 55.56 kB / 1.039 GB, free: 2.07 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009455/0.4435, allocations: 213.8 kB / 1.039 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0004023/0.4439, allocations: 239.1 kB / 1.039 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002091/0.4441, allocations: 54.3 kB / 1.039 GB, free: 1.574 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006548/0.4448, allocations: 187.5 kB / 1.039 GB, free: 1.391 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001771/0.445, allocations: 67.69 kB / 1.039 GB, free: 1.324 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 4.162e-05/0.445, allocations: 8 kB / 1.039 GB, free: 1.316 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005559/0.4456, allocations: 175.6 kB / 1.039 GB, free: 1.145 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 6.496e-05/0.4457, allocations: 35.89 kB / 1.04 GB, free: 1.109 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 7.464e-05/0.4457, allocations: 53.58 kB / 1.04 GB, free: 1.051 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0004907/0.4462, allocations: 191.9 kB / 1.04 GB, free: 0.8633 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4463, allocations: 3.938 kB / 1.04 GB, free: 0.8594 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.054e-06/0.4463, allocations: 0 / 1.04 GB, free: 0.8594 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.4463, allocations: 0 / 1.04 GB, free: 0.8594 MB / 0.6823 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.001276/0.4476, allocations: 492.5 kB / 1.04 GB, free: 340 kB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.4476, allocations: 11.97 kB / 1.04 GB, free: 328 kB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001286/0.4489, allocations: 79.73 kB / 1.04 GB, free: 248 kB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003941/0.4493, allocations: 222.8 kB / 1.041 GB, free: 15.98 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/0.4495, allocations: 41.97 kB / 1.041 GB, free: 15.93 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.166e-05/0.4495, allocations: 16 kB / 1.041 GB, free: 15.92 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008705/0.4504, allocations: 263.3 kB / 1.041 GB, free: 15.63 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.4505, allocations: 4 kB / 1.041 GB, free: 15.63 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.289e-05/0.4505, allocations: 12 kB / 1.041 GB, free: 15.62 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.4505, allocations: 4 kB / 1.041 GB, free: 15.61 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007985/0.4513, allocations: 183.7 kB / 1.041 GB, free: 15.43 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002678/0.454, allocations: 1.18 MB / 1.042 GB, free: 14.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/0.4554, allocations: 206.7 kB / 1.042 GB, free: 13.97 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003232/0.4558, allocations: 80.81 kB / 1.042 GB, free: 13.89 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.052e-05/0.4558, allocations: 3.938 kB / 1.042 GB, free: 13.88 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.4559, allocations: 34.56 kB / 1.043 GB, free: 13.84 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 4.478e-06/0.4559, allocations: 0 / 1.043 GB, free: 13.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=12): time 0.004703/0.4606, allocations: 0.6534 MB / 1.043 GB, free: 13.14 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.4607, allocations: 51.41 kB / 1.043 GB, free: 13.07 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003755/0.4611, allocations: 202.3 kB / 1.043 GB, free: 12.87 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.43e-05/0.4611, allocations: 29.7 kB / 1.043 GB, free: 12.83 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.4613, allocations: 135.5 kB / 1.044 GB, free: 12.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.321e-05/0.4613, allocations: 47.34 kB / 1.044 GB, free: 12.65 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.398e-05/0.4614, allocations: 4 kB / 1.044 GB, free: 12.64 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.4615, allocations: 330.8 kB / 1.044 GB, free: 12.31 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003825/0.4619, allocations: 71.95 kB / 1.044 GB, free: 12.24 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004518/0.4624, allocations: 131.7 kB / 1.044 GB, free: 12.09 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004353/0.4628, allocations: 95.92 kB / 1.044 GB, free: 11.99 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.4629, allocations: 0 / 1.044 GB, free: 11.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00257/0.4654, allocations: 382.8 kB / 1.045 GB, free: 11.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.4655, allocations: 7.938 kB / 1.045 GB, free: 11.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.4655, allocations: 4 kB / 1.045 GB, free: 11.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00194/0.4675, allocations: 169.7 kB / 1.045 GB, free: 11.42 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004072/0.4679, allocations: 35.97 kB / 1.045 GB, free: 11.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008372/0.4763, allocations: 3.034 MB / 1.048 GB, free: 8.086 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/0.4774, allocations: 43.91 kB / 1.048 GB, free: 8.043 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.187e-05/0.4775, allocations: 4 kB / 1.048 GB, free: 8.039 MB / 0.698 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.0003484/0.4779, allocations: 125.8 kB / 1.048 GB, free: 7.906 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/0.4781, allocations: 19.75 kB / 1.048 GB, free: 7.887 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003506/0.4816, allocations: 392.2 kB / 1.048 GB, free: 7.488 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.4817, allocations: 0 / 1.048 GB, free: 7.488 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4817, allocations: 0 / 1.048 GB, free: 7.488 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.4817, allocations: 0 / 1.048 GB, free: 7.488 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008398/0.4826, allocations: 281.4 kB / 1.049 GB, free: 7.164 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.4826, allocations: 0 / 1.049 GB, free: 7.164 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003906/0.483, allocations: 23.98 kB / 1.049 GB, free: 7.141 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002517/0.4856, allocations: 161.5 kB / 1.049 GB, free: 6.977 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.292e-05/0.4857, allocations: 8 kB / 1.049 GB, free: 6.969 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008651/0.4943, allocations: 3.076 MB / 1.052 GB, free: 3.613 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-06/0.4944, allocations: 3.984 kB / 1.052 GB, free: 3.609 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003491/0.4979, allocations: 439 kB / 1.052 GB, free: 3.16 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003127/0.4983, allocations: 112.8 kB / 1.052 GB, free: 3.031 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.446e-05/0.4984, allocations: 11.94 kB / 1.052 GB, free: 3.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007497/0.4991, allocations: 11.98 kB / 1.052 GB, free: 3.008 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/0.4993, allocations: 23.91 kB / 1.052 GB, free: 2.984 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.277e-05/0.4994, allocations: 4 kB / 1.052 GB, free: 2.98 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004308/0.4999, allocations: 155 kB / 1.052 GB, free: 2.828 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.51e-07/0.4999, allocations: 0 / 1.052 GB, free: 2.828 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001/0.5009, allocations: 75.84 kB / 1.053 GB, free: 2.754 MB / 0.698 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.0004008/0.5013, allocations: 115.2 kB / 1.053 GB, free: 2.629 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002616/0.504, allocations: 461.4 kB / 1.053 GB, free: 2.152 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/0.5041, allocations: 3.938 kB / 1.053 GB, free: 2.148 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001771/0.5059, allocations: 353.3 kB / 1.053 GB, free: 1.777 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.5071, allocations: 47.97 kB / 1.053 GB, free: 1.73 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.5095, allocations: 488.2 kB / 1.054 GB, free: 1.23 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005674/0.5102, allocations: 0.7245 MB / 1.055 GB, free: 488 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005683/0.5108, allocations: 33.94 kB / 1.055 GB, free: 456 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.5109, allocations: 19.44 kB / 1.055 GB, free: 436 kB / 0.698 GB Notification: Performance of SimCode: time 1.713e-06/0.511, allocations: 7.938 kB / 1.055 GB, free: 428 kB / 0.698 GB Notification: Performance of Templates: time 0.6739/1.185, allocations: 4.776 MB / 1.059 GB, free: 156.7 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)