Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.652/1.652, allocations: 288.4 MB / 303.7 MB, free: 8.168 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001045/0.001044, allocations: 168.6 kB / 372.3 MB, free: 10.17 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.565/1.565, allocations: 205.4 MB / 0.631 GB, free: 9.902 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007885/0.0007884, allocations: 99.16 kB / 0.7444 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004053/0.0004054, allocations: 19.81 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2174, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger): time 0.6419/0.8593, allocations: 149.6 MB / 1.126 GB, free: 16.95 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.04596/0.9053, allocations: 30.31 MB / 1.156 GB, free: 11.91 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009002/0.9143, allocations: 177 kB / 1.156 GB, free: 11.82 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.006418/0.9208, allocations: 1.23 MB / 1.157 GB, free: 11.14 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01575/0.9366, allocations: 3.638 MB / 1.161 GB, free: 8.273 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01399/0.9506, allocations: 3.256 MB / 1.164 GB, free: 6.105 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01828/0.9689, allocations: 9.352 MB / 1.173 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007631/0.9766, allocations: 2.478 MB / 1.175 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01021/0.9868, allocations: 3.135 MB / 1.179 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006208/0.9931, allocations: 2.175 MB / 1.181 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.00154/0.9946, allocations: 120.9 kB / 1.181 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008414/1.003, allocations: 2.227 MB / 1.183 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.002214/1.005, allocations: 0.5401 MB / 1.183 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.005511/1.011, allocations: 1.591 MB / 1.185 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.008824/1.02, allocations: 4.805 MB / 1.19 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/1.02, allocations: 4 kB / 1.19 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.813e-06/1.02, allocations: 0 / 1.19 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000199/1.02, allocations: 0 / 1.19 GB, free: 5.859 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.008395/1.028, allocations: 3.324 MB / 1.193 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.792e-05/1.028, allocations: 9.844 kB / 1.193 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003873/1.032, allocations: 0.8574 MB / 1.194 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006712/1.039, allocations: 2.916 MB / 1.197 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001301/1.04, allocations: 423.5 kB / 1.197 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000534/1.041, allocations: 207.9 kB / 1.197 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005178/1.046, allocations: 2.526 MB / 1.2 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.019e-05/1.046, allocations: 4 kB / 1.2 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001945/1.046, allocations: 80 kB / 1.2 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.449e-05/1.046, allocations: 51.94 kB / 1.2 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005438/1.052, allocations: 2.368 MB / 1.202 GB, free: 10.02 MB / 0.7292 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02027/1.072, allocations: 12.65 MB / 1.215 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003728/1.076, allocations: 1.556 MB / 1.216 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001987/1.078, allocations: 0.9402 MB / 1.217 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001989/1.08, allocations: 1.825 MB / 1.219 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002218/1.082, allocations: 0.9975 MB / 1.22 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001955/1.084, allocations: 198.5 kB / 1.22 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=132): time 4.969e-06/1.084, allocations: 0 / 1.22 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of matching and sorting (n=132): time 0.007457/1.092, allocations: 3.069 MB / 1.223 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/1.092, allocations: 171.5 kB / 1.223 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004316/1.096, allocations: 2.641 MB / 1.226 GB, free: 0.5312 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.000204/1.096, allocations: 53.7 kB / 1.226 GB, free: 484 kB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001294/1.098, allocations: 1.344 MB / 1.227 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.000455/1.098, allocations: 449.4 kB / 1.227 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.371e-05/1.098, allocations: 28 kB / 1.227 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001919/1.098, allocations: 373.8 kB / 1.228 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002023/1.1, allocations: 0.8355 MB / 1.229 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002307/1.103, allocations: 1.233 MB / 1.23 GB, free: 12.06 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003967/1.107, allocations: 1.963 MB / 1.232 GB, free: 9.977 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/1.107, allocations: 4 kB / 1.232 GB, free: 9.973 MB / 0.7605 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.006233/1.113, allocations: 2.578 MB / 1.234 GB, free: 7.371 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003436/1.113, allocations: 362.2 kB / 1.235 GB, free: 6.906 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-05/1.113, allocations: 15.98 kB / 1.235 GB, free: 6.891 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007966/1.114, allocations: 161.5 kB / 1.235 GB, free: 6.727 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002037/1.116, allocations: 427.4 kB / 1.235 GB, free: 6.309 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00127/1.118, allocations: 1.202 MB / 1.236 GB, free: 5.055 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00396/1.122, allocations: 303.5 kB / 1.237 GB, free: 4.758 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003065/1.122, allocations: 83.95 kB / 1.237 GB, free: 4.676 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/1.122, allocations: 4 kB / 1.237 GB, free: 4.672 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005715/1.128, allocations: 2.263 MB / 1.239 GB, free: 2.395 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.113e-05/1.128, allocations: 12.06 kB / 1.239 GB, free: 2.383 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000449/1.128, allocations: 105.7 kB / 1.239 GB, free: 2.273 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00191/1.13, allocations: 435.4 kB / 1.239 GB, free: 1.848 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003663/1.134, allocations: 3.285 MB / 1.243 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003021/1.137, allocations: 283.6 kB / 1.243 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002573/1.137, allocations: 83.95 kB / 1.243 GB, free: 13.92 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,$PRE.TCon_in.nextEvent,TCon_in.nextEvent,TCon_in.nextEventScaled,hex1.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 177 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001873/1.139, allocations: 0.7026 MB / 1.244 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008431/1.14, allocations: 300.2 kB / 1.244 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006602/1.146, allocations: 2.675 MB / 1.247 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.755e-05/1.146, allocations: 23.98 kB / 1.247 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/1.146, allocations: 0 / 1.247 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004459/1.151, allocations: 2.164 MB / 1.249 GB, free: 7.984 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01292/1.164, allocations: 5.391 MB / 1.254 GB, free: 2.453 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/1.164, allocations: 3.984 kB / 1.254 GB, free: 2.449 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001564/1.166, allocations: 327.7 kB / 1.254 GB, free: 2.129 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003091/1.166, allocations: 113.5 kB / 1.254 GB, free: 2.012 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001532/1.166, allocations: 51.97 kB / 1.254 GB, free: 1.961 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000923/1.167, allocations: 1.191 MB / 1.256 GB, free: 0.7188 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.735e-05/1.167, allocations: 4 kB / 1.256 GB, free: 0.7148 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008143/1.175, allocations: 3.651 MB / 1.259 GB, free: 12.98 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002414/1.178, allocations: 0.6802 MB / 1.26 GB, free: 12.28 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001006/1.179, allocations: 36 kB / 1.26 GB, free: 12.25 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002862/1.181, allocations: 259.6 kB / 1.26 GB, free: 11.99 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002557/1.182, allocations: 109 kB / 1.26 GB, free: 11.89 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002467/1.182, allocations: 67.95 kB / 1.26 GB, free: 11.82 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.004444/1.186, allocations: 1.806 MB / 1.262 GB, free: 10.02 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2e-07/1.186, allocations: 0 / 1.262 GB, free: 10.02 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.007469/1.194, allocations: 1.466 MB / 1.264 GB, free: 8.555 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 6 (hex1.thrWayVal.vol.dynBal.U,hex1.thrWayVal.filter.x[1],hex1.thrWayVal.filter.x[2],hex1.con.I.y,TSen1.T,TSen2.T) * Number of discrete variables: 6 ($whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled) * Number of discrete states: 6 (TCon_in.nextEvent,TCon_in.last,TCon_in.nextEventScaled,TCon_in.b,TCon_in.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 11 * 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 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002239/1.196, allocations: 0.7507 MB / 1.264 GB, free: 7.812 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.009221/1.205, allocations: 3.681 MB / 1.268 GB, free: 4.07 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/1.206, allocations: 0 / 1.268 GB, free: 4.07 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.00269/1.208, allocations: 1.121 MB / 1.269 GB, free: 2.938 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01126/1.22, allocations: 1.463 MB / 1.27 GB, free: 1.484 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01712/1.237, allocations: 6.75 MB / 1.277 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002115/1.239, allocations: 1.794 MB / 1.279 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.003962/1.243, allocations: 0.7083 MB / 1.279 GB, free: 8.176 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007555/1.244, allocations: 239.4 kB / 1.28 GB, free: 7.945 MB / 0.8073 GB Notification: Performance of SimCode: time 1.233e-06/1.244, allocations: 0 / 1.28 GB, free: 7.945 MB / 0.8073 GB Notification: Performance of Templates: time 0.1079/1.352, allocations: 59.31 MB / 1.338 GB, free: 13.11 MB / 0.8698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.makefile (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.sim & ./Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe 2>&1)