Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001604/0.001604, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001941/0.001941, allocations: 189.2 kB / 16.25 MB, free: 6.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 205.1 MB / 222.1 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6332/0.6332, allocations: 95.47 MB / 364.9 MB, free: 10.07 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 68.52 kB / 444.8 MB, free: 9.988 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3933, allocations: 69.07 MB / 0.5019 GB, free: 17.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003052/0.3964, allocations: 1.791 MB / 0.5036 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006837/0.3971, allocations: 399.7 kB / 0.504 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.69e-05/0.3972, allocations: 4 kB / 0.504 GB, free: 15.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.864e-05/0.3973, allocations: 3.938 kB / 0.504 GB, free: 15.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001077/0.3974, allocations: 27.77 kB / 0.504 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005221/0.3979, allocations: 83.77 kB / 0.5041 GB, free: 15.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.3982, allocations: 115.5 kB / 0.5042 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001907/0.3984, allocations: 35.06 kB / 0.5043 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.472e-05/0.3984, allocations: 43.84 kB / 0.5043 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.742e-05/0.3986, allocations: 55.77 kB / 0.5044 GB, free: 14.99 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.619e-05/0.3986, allocations: 8 kB / 0.5044 GB, free: 14.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.3987, allocations: 39.97 kB / 0.5044 GB, free: 14.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.167e-05/0.3988, allocations: 23.91 kB / 0.5044 GB, free: 14.92 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.327e-05/0.3988, allocations: 47.73 kB / 0.5045 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.3991, allocations: 119.6 kB / 0.5046 GB, free: 14.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.031e-05/0.3991, allocations: 7.984 kB / 0.5046 GB, free: 14.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.777e-06/0.3991, allocations: 0 / 0.5046 GB, free: 14.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.3992, allocations: 0 / 0.5046 GB, free: 14.75 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009105/0.4001, allocations: 423 kB / 0.505 GB, free: 14.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/0.4001, allocations: 11.98 kB / 0.505 GB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004052/0.4005, allocations: 40.8 kB / 0.505 GB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.4008, allocations: 207.9 kB / 0.5052 GB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.4008, allocations: 4.375 kB / 0.5052 GB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.4008, allocations: 8.375 kB / 0.5053 GB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.4011, allocations: 142.4 kB / 0.5054 GB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.4011, allocations: 192 / 0.5054 GB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.4011, allocations: 11.94 kB / 0.5054 GB, free: 13.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.4012, allocations: 0 / 0.5054 GB, free: 13.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002356/0.4014, allocations: 87.88 kB / 0.5055 GB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007549/0.4022, allocations: 0.708 MB / 0.5062 GB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.4024, allocations: 86.62 kB / 0.5063 GB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.4025, allocations: 40.81 kB / 0.5063 GB, free: 12.81 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.4025, allocations: 4 kB / 0.5063 GB, free: 12.81 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.4026, allocations: 34.56 kB / 0.5063 GB, free: 12.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.4026, allocations: 0 / 0.5063 GB, free: 12.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.001167/0.4037, allocations: 311.3 kB / 0.5066 GB, free: 12.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.4038, allocations: 51.41 kB / 0.5067 GB, free: 12.37 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.4039, allocations: 168.6 kB / 0.5068 GB, free: 12.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.4039, allocations: 25.7 kB / 0.5069 GB, free: 12.17 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.865e-05/0.404, allocations: 108.2 kB / 0.507 GB, free: 12.06 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.404, allocations: 19.72 kB / 0.507 GB, free: 12.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.637e-05/0.404, allocations: 29.7 kB / 0.507 GB, free: 12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.131e-05/0.4041, allocations: 322.8 kB / 0.5073 GB, free: 11.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.4042, allocations: 31.97 kB / 0.5074 GB, free: 11.65 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.4043, allocations: 68.27 kB / 0.5074 GB, free: 11.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.4045, allocations: 116.1 kB / 0.5075 GB, free: 11.44 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4045, allocations: 0 / 0.5075 GB, free: 11.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006455/0.4052, allocations: 202.2 kB / 0.5077 GB, free: 11.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.4052, allocations: 10.66 kB / 0.5077 GB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.4052, allocations: 0 / 0.5077 GB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005437/0.4058, allocations: 68.86 kB / 0.5078 GB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.4059, allocations: 31.91 kB / 0.5078 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/0.4074, allocations: 1.509 MB / 0.5093 GB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.4075, allocations: 15.91 kB / 0.5093 GB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.4075, allocations: 3.984 kB / 0.5093 GB, free: 9.445 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 7.296e-05/0.4076, allocations: 121.8 kB / 0.5094 GB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/0.4076, allocations: 7.906 kB / 0.5094 GB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006642/0.4083, allocations: 223.7 kB / 0.5097 GB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.4083, allocations: 0 / 0.5097 GB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.4083, allocations: 0 / 0.5097 GB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.4083, allocations: 0 / 0.5097 GB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.4085, allocations: 217.4 kB / 0.5099 GB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4086, allocations: 0 / 0.5099 GB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.4087, allocations: 31.84 kB / 0.5099 GB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003463/0.409, allocations: 60.75 kB / 0.51 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.409, allocations: 4 kB / 0.51 GB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001277/0.4103, allocations: 1.529 MB / 0.5115 GB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.4103, allocations: 0 / 0.5115 GB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006371/0.411, allocations: 284.1 kB / 0.5117 GB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.925e-05/0.4111, allocations: 100.9 kB / 0.5118 GB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.4111, allocations: 4 kB / 0.5118 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.4112, allocations: 15.94 kB / 0.5118 GB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.493e-05/0.4113, allocations: 7.984 kB / 0.5118 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.597e-06/0.4113, allocations: 7.922 kB / 0.5119 GB, free: 6.598 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.79e-05/0.4114, allocations: 120.9 kB / 0.512 GB, free: 6.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4114, allocations: 4 kB / 0.512 GB, free: 6.477 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002763/0.4117, allocations: 28 kB / 0.512 GB, free: 6.449 MB / 382.1 MB 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 (9): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001308/0.4118, allocations: 104 kB / 0.5121 GB, free: 6.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005534/0.4124, allocations: 222.5 kB / 0.5123 GB, free: 6.109 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4124, allocations: 0 / 0.5123 GB, free: 6.109 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000286/0.4127, allocations: 182.8 kB / 0.5125 GB, free: 5.918 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.413, allocations: 35.47 kB / 0.5125 GB, free: 5.887 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005674/0.4136, allocations: 287.1 kB / 0.5128 GB, free: 5.578 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001833/0.4138, allocations: 0.7124 MB / 0.5135 GB, free: 4.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.098e-05/0.4139, allocations: 16.95 kB / 0.5135 GB, free: 4.824 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.416e-05/0.414, allocations: 15.44 kB / 0.5135 GB, free: 4.809 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.414, allocations: 0 / 0.5135 GB, free: 4.809 MB / 382.1 MB Notification: Performance of Templates: time 0.004755/0.4187, allocations: 2.387 MB / 0.5159 GB, free: 2.449 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)