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 1.703/1.703, allocations: 287.5 MB / 302.6 MB, free: 8.234 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.001036/0.001036, allocations: 172.7 kB / 371.2 MB, free: 10.84 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.691/1.691, allocations: 205.4 MB / 0.6298 GB, free: 10.59 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.0008163/0.0008166, allocations: 88.81 kB / 0.7432 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005682/0.0005683, allocations: 12.14 kB / 0.8661 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2777, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger): time 0.6734/0.9512, allocations: 149.6 MB / 1.125 GB, free: 16.79 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.04423/0.9955, allocations: 30.31 MB / 1.154 GB, free: 12.21 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008927/1.004, allocations: 173 kB / 1.154 GB, free: 12.12 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.005934/1.01, allocations: 1.228 MB / 1.156 GB, free: 11.45 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01379/1.024, allocations: 3.419 MB / 1.159 GB, free: 9.457 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01273/1.037, allocations: 3.211 MB / 1.162 GB, free: 7.375 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01792/1.055, allocations: 9.364 MB / 1.171 GB, free: 1.758 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009055/1.064, allocations: 2.469 MB / 1.174 GB, free: 244 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.011/1.075, allocations: 2.962 MB / 1.177 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007212/1.082, allocations: 2.181 MB / 1.179 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.002191/1.085, allocations: 119 kB / 1.179 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00909/1.094, allocations: 1.905 MB / 1.181 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001727/1.095, allocations: 0.535 MB / 1.181 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.002504/1.098, allocations: 0.7231 MB / 1.182 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00888/1.107, allocations: 4.692 MB / 1.187 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.183e-05/1.107, allocations: 0 / 1.187 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.256e-06/1.107, allocations: 0 / 1.187 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002962/1.107, allocations: 0 / 1.187 GB, free: 8.109 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.0108/1.118, allocations: 3.328 MB / 1.19 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/1.118, allocations: 8.906 kB / 1.19 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004333/1.123, allocations: 0.8557 MB / 1.191 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008533/1.131, allocations: 2.915 MB / 1.193 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001442/1.133, allocations: 427.5 kB / 1.194 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009421/1.134, allocations: 203.9 kB / 1.194 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007908/1.141, allocations: 2.534 MB / 1.197 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.509e-05/1.142, allocations: 3.938 kB / 1.197 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005455/1.142, allocations: 84 kB / 1.197 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.36e-05/1.142, allocations: 48 kB / 1.197 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006622/1.149, allocations: 2.365 MB / 1.199 GB, free: 13.05 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.02235/1.171, allocations: 12.66 MB / 1.211 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003942/1.175, allocations: 1.559 MB / 1.213 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002221/1.178, allocations: 0.9326 MB / 1.214 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00191/1.179, allocations: 1.824 MB / 1.216 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002491/1.182, allocations: 1.005 MB / 1.217 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001969/1.184, allocations: 198.5 kB / 1.217 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=132): time 8.516e-06/1.184, allocations: 0 / 1.217 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of matching and sorting (n=132): time 0.008552/1.193, allocations: 3.057 MB / 1.22 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/1.193, allocations: 175.5 kB / 1.22 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006129/1.199, allocations: 2.637 MB / 1.222 GB, free: 3.574 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0004185/1.199, allocations: 57.7 kB / 1.223 GB, free: 3.512 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001649/1.201, allocations: 1.337 MB / 1.224 GB, free: 2.16 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006767/1.202, allocations: 461.3 kB / 1.224 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002345/1.202, allocations: 32 kB / 1.224 GB, free: 1.672 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002037/1.202, allocations: 361.9 kB / 1.225 GB, free: 1.312 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002322/1.205, allocations: 0.8394 MB / 1.225 GB, free: 484 kB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002611/1.207, allocations: 1.233 MB / 1.227 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004435/1.212, allocations: 1.967 MB / 1.229 GB, free: 13.01 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.531e-05/1.212, allocations: 0 / 1.229 GB, free: 13.01 MB / 0.7605 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.007242/1.219, allocations: 2.577 MB / 1.231 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002987/1.219, allocations: 366.1 kB / 1.231 GB, free: 9.941 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.857e-05/1.219, allocations: 8 kB / 1.231 GB, free: 9.934 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007946/1.22, allocations: 149.6 kB / 1.232 GB, free: 9.781 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002021/1.222, allocations: 435.4 kB / 1.232 GB, free: 9.355 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001086/1.223, allocations: 1.214 MB / 1.233 GB, free: 8.09 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003434/1.227, allocations: 304.4 kB / 1.234 GB, free: 7.793 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003214/1.227, allocations: 79.95 kB / 1.234 GB, free: 7.715 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/1.227, allocations: 4 kB / 1.234 GB, free: 7.711 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0058/1.233, allocations: 2.259 MB / 1.236 GB, free: 5.438 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.434e-05/1.233, allocations: 8.5 kB / 1.236 GB, free: 5.43 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004267/1.233, allocations: 113.6 kB / 1.236 GB, free: 5.312 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001898/1.235, allocations: 435.4 kB / 1.236 GB, free: 4.887 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003558/1.239, allocations: 3.281 MB / 1.24 GB, free: 1.324 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00326/1.242, allocations: 279.8 kB / 1.24 GB, free: 1.051 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003799/1.243, allocations: 83.95 kB / 1.24 GB, free: 0.9688 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.002097/1.245, allocations: 0.7154 MB / 1.241 GB, free: 244 kB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001067/1.246, allocations: 304.3 kB / 1.241 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007003/1.253, allocations: 2.673 MB / 1.243 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-05/1.253, allocations: 20 kB / 1.243 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/1.253, allocations: 0 / 1.243 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004649/1.257, allocations: 2.16 MB / 1.246 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01336/1.271, allocations: 5.391 MB / 1.251 GB, free: 5.508 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.658e-05/1.271, allocations: 8.031 kB / 1.251 GB, free: 5.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001671/1.273, allocations: 331.5 kB / 1.251 GB, free: 5.176 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003466/1.273, allocations: 101.6 kB / 1.251 GB, free: 5.07 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001992/1.273, allocations: 51.97 kB / 1.251 GB, free: 5.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009172/1.274, allocations: 1.183 MB / 1.252 GB, free: 3.785 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.467e-06/1.274, allocations: 7.938 kB / 1.252 GB, free: 3.777 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008636/1.283, allocations: 3.659 MB / 1.256 GB, free: 36 kB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002399/1.285, allocations: 0.6763 MB / 1.257 GB, free: 15.34 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001108/1.286, allocations: 32 kB / 1.257 GB, free: 15.3 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003104/1.29, allocations: 263.6 kB / 1.257 GB, free: 15.05 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002496/1.29, allocations: 105 kB / 1.257 GB, free: 14.95 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002738/1.29, allocations: 71.94 kB / 1.257 GB, free: 14.88 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.004599/1.295, allocations: 1.802 MB / 1.259 GB, free: 13.08 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5.31e-07/1.295, allocations: 4 kB / 1.259 GB, free: 13.08 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.008012/1.303, allocations: 1.462 MB / 1.26 GB, free: 11.61 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.002315/1.305, allocations: 0.7314 MB / 1.261 GB, free: 10.89 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.009711/1.315, allocations: 3.669 MB / 1.265 GB, free: 7.164 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.299e-05/1.315, allocations: 4 kB / 1.265 GB, free: 7.16 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.002764/1.318, allocations: 1.121 MB / 1.266 GB, free: 6.027 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01059/1.328, allocations: 1.48 MB / 1.267 GB, free: 4.57 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01674/1.345, allocations: 6.75 MB / 1.274 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001672/1.347, allocations: 1.794 MB / 1.276 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.004142/1.351, allocations: 0.7036 MB / 1.276 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000754/1.352, allocations: 243.3 kB / 1.276 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of SimCode: time 1.132e-06/1.352, allocations: 0 / 1.276 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of Templates: time 0.112/1.464, allocations: 58.53 MB / 1.334 GB, free: 1.023 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)