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.556/1.556, allocations: 252 MB / 267.6 MB, free: 10.92 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.0009546/0.0009545, allocations: 173.5 kB / 327.3 MB, free: 2.211 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.754/1.754, allocations: 205.4 MB / 0.5783 GB, free: 20.23 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.0007928/0.0007924, allocations: 90.3 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003859/0.0003858, allocations: 13.27 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2691, allocations: 106.3 MB / 0.9008 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger): time 0.1327/0.4019, allocations: 149.5 MB / 1.047 GB, free: 10.02 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.7198/1.122, allocations: 30.25 MB / 1.076 GB, free: 26.22 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00982/1.132, allocations: 168.9 kB / 1.077 GB, free: 26.22 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.007048/1.139, allocations: 1.236 MB / 1.078 GB, free: 26.2 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01651/1.155, allocations: 3.464 MB / 1.081 GB, free: 26.05 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01405/1.169, allocations: 3.207 MB / 1.084 GB, free: 25.93 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.02166/1.191, allocations: 9.235 MB / 1.093 GB, free: 25.91 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006204/1.197, allocations: 2.186 MB / 1.095 GB, free: 25.64 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01021/1.208, allocations: 2.918 MB / 1.098 GB, free: 25.27 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006555/1.214, allocations: 2.189 MB / 1.1 GB, free: 24.74 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001289/1.216, allocations: 118 kB / 1.1 GB, free: 24.74 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008199/1.224, allocations: 1.898 MB / 1.102 GB, free: 24.57 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001805/1.226, allocations: 0.5349 MB / 1.103 GB, free: 24.43 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002481/1.228, allocations: 0.7203 MB / 1.104 GB, free: 24.28 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.009245/1.237, allocations: 4.656 MB / 1.108 GB, free: 23.95 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.838e-06/1.237, allocations: 0 / 1.108 GB, free: 23.95 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.819e-06/1.237, allocations: 0 / 1.108 GB, free: 23.95 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002121/1.238, allocations: 0 / 1.108 GB, free: 23.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.009281/1.247, allocations: 3.352 MB / 1.111 GB, free: 22.18 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/1.247, allocations: 10.25 kB / 1.111 GB, free: 22.18 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004148/1.251, allocations: 0.8573 MB / 1.112 GB, free: 21.95 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007016/1.258, allocations: 2.807 MB / 1.115 GB, free: 21.23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001333/1.26, allocations: 422.9 kB / 1.115 GB, free: 21.13 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008427/1.26, allocations: 199.1 kB / 1.116 GB, free: 21.13 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005786/1.266, allocations: 2.521 MB / 1.118 GB, free: 20.42 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.069e-05/1.266, allocations: 3.594 kB / 1.118 GB, free: 20.42 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002136/1.267, allocations: 81.09 kB / 1.118 GB, free: 20.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.918e-05/1.267, allocations: 52.89 kB / 1.118 GB, free: 20.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00659/1.273, allocations: 2.36 MB / 1.12 GB, free: 20.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.01884/1.292, allocations: 12.66 MB / 1.133 GB, free: 11.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003494/1.296, allocations: 1.528 MB / 1.134 GB, free: 11.64 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001866/1.298, allocations: 0.8995 MB / 1.135 GB, free: 11.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001425/1.299, allocations: 1.819 MB / 1.137 GB, free: 9.461 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002104/1.301, allocations: 0.972 MB / 1.138 GB, free: 9.164 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002033/1.303, allocations: 194.1 kB / 1.138 GB, free: 9.07 MB / 0.698 GB Notification: Performance of pre-optimization done (n=127): time 5.971e-06/1.303, allocations: 0 / 1.138 GB, free: 9.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=127): time 0.008091/1.311, allocations: 2.994 MB / 1.141 GB, free: 8.184 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.593e-05/1.311, allocations: 171.8 kB / 1.141 GB, free: 7.996 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004753/1.316, allocations: 2.654 MB / 1.144 GB, free: 7.332 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004592/1.317, allocations: 55.58 kB / 1.144 GB, free: 7.301 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001301/1.318, allocations: 1.349 MB / 1.145 GB, free: 6.805 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000518/1.318, allocations: 433.7 kB / 1.146 GB, free: 6.492 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.791e-05/1.319, allocations: 35.41 kB / 1.146 GB, free: 6.488 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001136/1.319, allocations: 365.5 kB / 1.146 GB, free: 6.164 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002066/1.321, allocations: 0.8192 MB / 1.147 GB, free: 6.023 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002215/1.323, allocations: 1.23 MB / 1.148 GB, free: 5.43 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002109/1.325, allocations: 0.946 MB / 1.149 GB, free: 5.262 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/1.325, allocations: 9.906 kB / 1.149 GB, free: 5.258 MB / 0.698 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.006218/1.331, allocations: 2.567 MB / 1.151 GB, free: 4.598 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002454/1.332, allocations: 383.3 kB / 1.152 GB, free: 4.145 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-05/1.332, allocations: 6.531 kB / 1.152 GB, free: 4.145 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007487/1.332, allocations: 156 kB / 1.152 GB, free: 4.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001766/1.334, allocations: 426.3 kB / 1.152 GB, free: 3.992 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006806/1.335, allocations: 1.21 MB / 1.153 GB, free: 2.914 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003206/1.338, allocations: 298.4 kB / 1.154 GB, free: 2.812 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000196/1.338, allocations: 83.42 kB / 1.154 GB, free: 2.801 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/1.338, allocations: 2.5 kB / 1.154 GB, free: 2.801 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005033/1.343, allocations: 2.242 MB / 1.156 GB, free: 1.316 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.618e-05/1.343, allocations: 12 kB / 1.156 GB, free: 1.305 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003473/1.344, allocations: 104 kB / 1.156 GB, free: 1.215 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001726/1.346, allocations: 436.4 kB / 1.157 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003434/1.349, allocations: 3.273 MB / 1.16 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003542/1.353, allocations: 283.8 kB / 1.16 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000352/1.353, allocations: 81.39 kB / 1.16 GB, free: 13.26 MB / 0.7136 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 ($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 (181): * Single equations (assignments): 176 * 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.00229/1.355, allocations: 0.7175 MB / 1.161 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001215/1.356, allocations: 300.2 kB / 1.161 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006939/1.363, allocations: 2.582 MB / 1.164 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.802e-05/1.363, allocations: 19.98 kB / 1.164 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/1.363, allocations: 0 / 1.164 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004714/1.368, allocations: 2.118 MB / 1.166 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01468/1.383, allocations: 5.208 MB / 1.171 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.089e-05/1.383, allocations: 7.984 kB / 1.171 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001655/1.385, allocations: 322.9 kB / 1.171 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003303/1.385, allocations: 104.4 kB / 1.171 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001535/1.385, allocations: 46.28 kB / 1.171 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001018/1.386, allocations: 1.186 MB / 1.172 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/1.386, allocations: 4 kB / 1.172 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008343/1.395, allocations: 3.57 MB / 1.176 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002342/1.397, allocations: 0.67 MB / 1.177 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001061/1.398, allocations: 32.31 kB / 1.177 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003086/1.401, allocations: 251.4 kB / 1.177 GB, free: 408 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002302/1.401, allocations: 97.86 kB / 1.177 GB, free: 324 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002274/1.402, allocations: 75.77 kB / 1.177 GB, free: 264 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.005578/1.407, allocations: 1.812 MB / 1.179 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.21e-07/1.407, allocations: 0 / 1.179 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.007418/1.415, allocations: 1.445 MB / 1.18 GB, free: 13.64 MB / 0.7292 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 (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.002292/1.417, allocations: 0.736 MB / 1.181 GB, free: 13 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.008868/1.426, allocations: 3.62 MB / 1.184 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/1.426, allocations: 1.125 kB / 1.184 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002497/1.428, allocations: 1.097 MB / 1.186 GB, free: 8.945 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009248/1.438, allocations: 1.495 MB / 1.187 GB, free: 7.465 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01732/1.455, allocations: 6.695 MB / 1.194 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002483/1.457, allocations: 1.789 MB / 1.195 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001285/1.459, allocations: 259.3 kB / 1.196 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of SimCode: time 1.333e-06/1.459, allocations: 0 / 1.196 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of Templates: time 0.1185/1.577, allocations: 81.68 MB / 1.275 GB, free: 13.44 MB / 0.823 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)