Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.709/2.709, allocations: 287.5 MB / 302.4 MB, free: 8.223 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.001471/0.001471, allocations: 181.9 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.225/2.225, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.001074/0.001074, allocations: 82.38 kB / 0.743 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006876/0.0006879, allocations: 11.16 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.239, allocations: 115.3 MB / 0.9784 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger): time 0.9511/1.19, allocations: 149.5 MB / 1.124 GB, free: 16.82 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.06576/1.256, allocations: 30.31 MB / 1.154 GB, free: 12.32 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009655/1.266, allocations: 172.9 kB / 1.154 GB, free: 12.23 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.007451/1.273, allocations: 1.232 MB / 1.155 GB, free: 11.55 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01848/1.292, allocations: 3.417 MB / 1.159 GB, free: 9.57 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01721/1.309, allocations: 3.224 MB / 1.162 GB, free: 7.5 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.02042/1.33, allocations: 9.264 MB / 1.171 GB, free: 1.938 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007396/1.337, allocations: 2.187 MB / 1.173 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01186/1.349, allocations: 2.962 MB / 1.176 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007119/1.356, allocations: 2.181 MB / 1.178 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.001475/1.358, allocations: 116.3 kB / 1.178 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009671/1.367, allocations: 1.9 MB / 1.18 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001974/1.369, allocations: 0.545 MB / 1.181 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.002469/1.372, allocations: 0.7162 MB / 1.181 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.01091/1.383, allocations: 4.69 MB / 1.186 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/1.383, allocations: 0 / 1.186 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.196e-06/1.383, allocations: 0 / 1.186 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002053/1.383, allocations: 0 / 1.186 GB, free: 8.48 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.01188/1.395, allocations: 3.362 MB / 1.189 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/1.395, allocations: 10.22 kB / 1.189 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006732/1.402, allocations: 0.8557 MB / 1.19 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01047/1.412, allocations: 2.809 MB / 1.193 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002627/1.415, allocations: 419.6 kB / 1.193 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009219/1.416, allocations: 207.9 kB / 1.193 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01001/1.426, allocations: 2.534 MB / 1.196 GB, free: 172 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.004e-05/1.426, allocations: 0 / 1.196 GB, free: 172 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004063/1.427, allocations: 84 kB / 1.196 GB, free: 88 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-05/1.427, allocations: 48 kB / 1.196 GB, free: 40 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01128/1.438, allocations: 2.372 MB / 1.198 GB, free: 13.66 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.03369/1.472, allocations: 12.67 MB / 1.211 GB, free: 72 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007002/1.479, allocations: 1.554 MB / 1.212 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004025/1.483, allocations: 0.9326 MB / 1.213 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002867/1.486, allocations: 1.828 MB / 1.215 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004388/1.49, allocations: 0.9995 MB / 1.216 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002311/1.493, allocations: 194.6 kB / 1.216 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=132): time 9.447e-06/1.493, allocations: 4 kB / 1.216 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of matching and sorting (n=132): time 0.01505/1.508, allocations: 3.053 MB / 1.219 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001498/1.508, allocations: 175.5 kB / 1.219 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007047/1.515, allocations: 2.626 MB / 1.222 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0005083/1.516, allocations: 65.7 kB / 1.222 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.002047/1.518, allocations: 1.348 MB / 1.223 GB, free: 2.766 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008361/1.519, allocations: 449.4 kB / 1.223 GB, free: 2.32 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001785/1.519, allocations: 32 kB / 1.224 GB, free: 2.289 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002326/1.519, allocations: 365.9 kB / 1.224 GB, free: 1.926 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003922/1.523, allocations: 0.8394 MB / 1.225 GB, free: 1.086 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004603/1.528, allocations: 1.225 MB / 1.226 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004408/1.532, allocations: 0.9645 MB / 1.227 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.682e-05/1.532, allocations: 4 kB / 1.227 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.01209/1.544, allocations: 2.578 MB / 1.229 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003761/1.545, allocations: 358 kB / 1.23 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.119e-05/1.545, allocations: 19.91 kB / 1.23 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001222/1.546, allocations: 153.5 kB / 1.23 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004043/1.55, allocations: 439.4 kB / 1.23 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001411/1.552, allocations: 1.206 MB / 1.231 GB, free: 9.812 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005216/1.557, allocations: 291.6 kB / 1.232 GB, free: 9.527 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006237/1.557, allocations: 79.95 kB / 1.232 GB, free: 9.449 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/1.558, allocations: 4 kB / 1.232 GB, free: 9.445 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01031/1.568, allocations: 2.267 MB / 1.234 GB, free: 7.164 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.502e-05/1.568, allocations: 8 kB / 1.234 GB, free: 7.156 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006018/1.569, allocations: 118.1 kB / 1.234 GB, free: 7.035 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003878/1.572, allocations: 427.4 kB / 1.235 GB, free: 6.617 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004975/1.577, allocations: 3.289 MB / 1.238 GB, free: 3.047 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004812/1.582, allocations: 280.8 kB / 1.238 GB, free: 2.773 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004391/1.583, allocations: 83.95 kB / 1.238 GB, free: 2.691 MB / 0.7605 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.002356/1.585, allocations: 0.7054 MB / 1.239 GB, free: 1.969 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00101/1.586, allocations: 300.2 kB / 1.239 GB, free: 1.672 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01051/1.597, allocations: 2.684 MB / 1.242 GB, free: 15 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.82e-05/1.597, allocations: 23.98 kB / 1.242 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/1.597, allocations: 0 / 1.242 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008114/1.605, allocations: 2.152 MB / 1.244 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0179/1.623, allocations: 5.399 MB / 1.249 GB, free: 7.227 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.617e-05/1.623, allocations: 4 kB / 1.249 GB, free: 7.223 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002986/1.626, allocations: 324 kB / 1.249 GB, free: 6.906 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004508/1.626, allocations: 109.5 kB / 1.25 GB, free: 6.793 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002367/1.627, allocations: 51.97 kB / 1.25 GB, free: 6.742 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001183/1.628, allocations: 1.179 MB / 1.251 GB, free: 5.512 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.246e-06/1.628, allocations: 4 kB / 1.251 GB, free: 5.508 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01358/1.642, allocations: 3.667 MB / 1.254 GB, free: 1.762 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002463/1.644, allocations: 0.6764 MB / 1.255 GB, free: 1.062 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007989/1.645, allocations: 36 kB / 1.255 GB, free: 1.027 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004202/1.649, allocations: 259.5 kB / 1.255 GB, free: 0.7734 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003261/1.649, allocations: 109.1 kB / 1.255 GB, free: 0.668 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002966/1.65, allocations: 71.95 kB / 1.255 GB, free: 0.5977 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.005093/1.655, allocations: 1.806 MB / 1.257 GB, free: 14.8 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7.81e-07/1.655, allocations: 0 / 1.257 GB, free: 14.8 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.007863/1.663, allocations: 1.454 MB / 1.259 GB, free: 13.34 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.002413/1.665, allocations: 0.7301 MB / 1.259 GB, free: 12.62 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01432/1.68, allocations: 3.674 MB / 1.263 GB, free: 8.895 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/1.68, allocations: 4 kB / 1.263 GB, free: 8.891 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.004394/1.684, allocations: 1.124 MB / 1.264 GB, free: 7.758 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01344/1.698, allocations: 1.481 MB / 1.265 GB, free: 6.297 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02368/1.721, allocations: 6.754 MB / 1.272 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002245/1.724, allocations: 1.794 MB / 1.274 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.005618/1.729, allocations: 0.6998 MB / 1.274 GB, free: 13 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001217/1.731, allocations: 243.3 kB / 1.275 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of SimCode: time 1.102e-06/1.731, allocations: 4 kB / 1.275 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of Templates: time 0.1648/1.895, allocations: 57.98 MB / 1.331 GB, free: 3.281 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.makefile (rm -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; mkfifo Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe >> ../files/Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.sim & ./Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe 2>&1)