Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.351/1.351, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009636/0.0009639, allocations: 172.7 kB / 326.5 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.766/1.766, allocations: 205 MB / 0.5766 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007689/0.0007689, allocations: 87.98 kB / 0.6803 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000325/0.0003251, allocations: 9.375 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2324, allocations: 105.4 MB / 0.8968 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger): time 0.1397/0.3722, allocations: 160.3 MB / 1.053 GB, free: 3.273 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.6118/0.984, allocations: 32.53 MB / 1.085 GB, free: 20.96 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009076/0.9931, allocations: 179.2 kB / 1.085 GB, free: 20.96 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.005689/0.9989, allocations: 1.513 MB / 1.087 GB, free: 20.93 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01569/1.015, allocations: 4.183 MB / 1.091 GB, free: 20.76 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01322/1.028, allocations: 3.977 MB / 1.095 GB, free: 20.62 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01708/1.045, allocations: 10.68 MB / 1.105 GB, free: 20.6 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006238/1.051, allocations: 2.469 MB / 1.108 GB, free: 20.23 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008959/1.06, allocations: 3.167 MB / 1.111 GB, free: 20.2 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005589/1.066, allocations: 2.337 MB / 1.113 GB, free: 19.86 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001353/1.067, allocations: 117.2 kB / 1.113 GB, free: 19.86 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008031/1.075, allocations: 2.328 MB / 1.115 GB, free: 19.66 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001603/1.077, allocations: 0.5718 MB / 1.116 GB, free: 19.51 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.004928/1.082, allocations: 1.637 MB / 1.117 GB, free: 18.94 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.009597/1.091, allocations: 4.77 MB / 1.122 GB, free: 17.95 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/1.091, allocations: 0 / 1.122 GB, free: 17.95 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.316e-06/1.091, allocations: 4 kB / 1.122 GB, free: 17.95 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003076/1.092, allocations: 3.938 kB / 1.122 GB, free: 17.95 MB / 0.698 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.01016/1.102, allocations: 3.311 MB / 1.125 GB, free: 15.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/1.102, allocations: 11.91 kB / 1.125 GB, free: 15.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004309/1.106, allocations: 0.8582 MB / 1.126 GB, free: 15.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007576/1.114, allocations: 2.925 MB / 1.129 GB, free: 14.13 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001314/1.115, allocations: 419.8 kB / 1.129 GB, free: 14.04 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008031/1.116, allocations: 205.5 kB / 1.13 GB, free: 14.04 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00727/1.123, allocations: 2.528 MB / 1.132 GB, free: 13.24 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.648e-05/1.124, allocations: 3.312 kB / 1.132 GB, free: 13.24 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004203/1.124, allocations: 80.53 kB / 1.132 GB, free: 13.18 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.218e-05/1.124, allocations: 49.69 kB / 1.132 GB, free: 13.18 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006086/1.13, allocations: 2.374 MB / 1.135 GB, free: 12.02 MB / 0.698 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.0195/1.15, allocations: 12.66 MB / 1.147 GB, free: 1.023 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003617/1.153, allocations: 1.531 MB / 1.148 GB, free: 304 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001941/1.155, allocations: 0.909 MB / 1.149 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001839/1.157, allocations: 1.826 MB / 1.151 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002287/1.159, allocations: 0.9743 MB / 1.152 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001735/1.161, allocations: 197.6 kB / 1.152 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=127): time 8.536e-06/1.161, allocations: 0 / 1.152 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=127): time 0.008173/1.169, allocations: 3.004 MB / 1.155 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/1.17, allocations: 172.1 kB / 1.155 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006128/1.176, allocations: 2.678 MB / 1.158 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002839/1.176, allocations: 53.7 kB / 1.158 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001641/1.178, allocations: 1.352 MB / 1.159 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005381/1.178, allocations: 436.1 kB / 1.16 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002856/1.178, allocations: 137.6 kB / 1.16 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001083/1.179, allocations: 301.1 kB / 1.16 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002169/1.181, allocations: 0.8393 MB / 1.161 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002634/1.183, allocations: 1.25 MB / 1.162 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004448/1.188, allocations: 1.987 MB / 1.164 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.561e-05/1.188, allocations: 4 kB / 1.164 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.00698/1.195, allocations: 2.59 MB / 1.167 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003272/1.195, allocations: 386.3 kB / 1.167 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.208e-05/1.195, allocations: 11.98 kB / 1.167 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007975/1.196, allocations: 163.6 kB / 1.167 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001937/1.198, allocations: 435.4 kB / 1.168 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001074/1.199, allocations: 1.214 MB / 1.169 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003542/1.203, allocations: 297.1 kB / 1.169 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002678/1.203, allocations: 79.95 kB / 1.169 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/1.203, allocations: 4 kB / 1.169 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005433/1.208, allocations: 2.248 MB / 1.171 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-05/1.209, allocations: 8.5 kB / 1.171 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003467/1.209, allocations: 113.6 kB / 1.172 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001834/1.211, allocations: 427.4 kB / 1.172 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003274/1.214, allocations: 3.285 MB / 1.175 GB, free: 6.688 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003024/1.217, allocations: 283.5 kB / 1.175 GB, free: 6.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002188/1.217, allocations: 83.95 kB / 1.175 GB, free: 6.328 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 8 (TCon_in.nextEventScaled,TCon_in.nextEvent,$PRE.TCon_in.nextEvent,TCon_in.last,TCon_in.b,TCon_in.a,$whenCondition1,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 (181): * Single equations (assignments): 176 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001837/1.219, allocations: 0.7016 MB / 1.176 GB, free: 5.609 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009817/1.22, allocations: 300.2 kB / 1.176 GB, free: 5.312 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006262/1.226, allocations: 2.584 MB / 1.179 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.194e-05/1.226, allocations: 23.94 kB / 1.179 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/1.226, allocations: 0 / 1.179 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004454/1.231, allocations: 2.134 MB / 1.181 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01246/1.243, allocations: 5.229 MB / 1.186 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/1.243, allocations: 0 / 1.186 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001479/1.245, allocations: 319.9 kB / 1.186 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002867/1.245, allocations: 97.67 kB / 1.187 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001485/1.245, allocations: 51.97 kB / 1.187 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008572/1.246, allocations: 1.183 MB / 1.188 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/1.246, allocations: 7.938 kB / 1.188 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008633/1.255, allocations: 3.589 MB / 1.191 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002092/1.257, allocations: 0.6374 MB / 1.192 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009664/1.258, allocations: 39.98 kB / 1.192 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002768/1.261, allocations: 251.6 kB / 1.192 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002084/1.261, allocations: 101.1 kB / 1.192 GB, free: 4.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001855/1.261, allocations: 67.95 kB / 1.192 GB, free: 4.754 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.004218/1.265, allocations: 1.837 MB / 1.194 GB, free: 2.926 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.903e-06/1.265, allocations: 0 / 1.194 GB, free: 2.926 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.006994/1.272, allocations: 1.446 MB / 1.196 GB, free: 1.477 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (144): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 11 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002176/1.275, allocations: 0.7445 MB / 1.196 GB, free: 0.7891 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.008822/1.284, allocations: 3.646 MB / 1.2 GB, free: 13.09 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/1.284, allocations: 5.125 kB / 1.2 GB, free: 13.08 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.002548/1.286, allocations: 1.104 MB / 1.201 GB, free: 11.97 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01028/1.296, allocations: 1.501 MB / 1.202 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01613/1.313, allocations: 6.813 MB / 1.209 GB, free: 3.625 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002121/1.315, allocations: 1.786 MB / 1.211 GB, free: 1.805 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001183/1.316, allocations: 259.3 kB / 1.211 GB, free: 1.551 MB / 0.7605 GB Notification: Performance of SimCode: time 9.01e-07/1.316, allocations: 0 / 1.211 GB, free: 1.551 MB / 0.7605 GB Notification: Performance of Templates: time 0.1106/1.427, allocations: 81.66 MB / 1.291 GB, free: 308 kB / 0.8386 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.sim & ./Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe 2>&1)