Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.563/1.563, allocations: 297.8 MB / 313.7 MB, free: 72 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009703/0.0009703, allocations: 186.7 kB / 384.6 MB, free: 10.8 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.247/1.247, allocations: 223.2 MB / 0.6626 GB, free: 4.277 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000722/0.0007219, allocations: 96.16 kB / 0.7808 GB, free: 50.36 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003389/0.0003389, allocations: 15.28 kB / 0.9088 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5466/0.5469, allocations: 120.3 MB / 1.026 GB, free: 55.94 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.48/4.027, allocations: 1.955 GB / 2.981 GB, free: 265.2 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/4.028, allocations: 114.6 kB / 2.981 GB, free: 265.2 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 6.519/10.55, allocations: 2.166 GB / 5.148 GB, free: 112.3 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.823e-06/10.55, allocations: 0 / 5.148 GB, free: 112.3 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.0003381/10.55, allocations: 58.92 kB / 5.148 GB, free: 112.3 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 355 * Number of variables: 355 Notification: Performance of Generate backend data structure: time 0.01073/10.56, allocations: 3.001 MB / 5.151 GB, free: 111.6 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/10.56, allocations: 9.781 kB / 5.151 GB, free: 111.6 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005015/10.56, allocations: 0.7902 MB / 5.151 GB, free: 111.5 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005173/10.57, allocations: 2.355 MB / 5.154 GB, free: 111 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.341e-05/10.57, allocations: 113.7 kB / 5.154 GB, free: 111 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002212/10.57, allocations: 151.1 kB / 5.154 GB, free: 111 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002915/10.57, allocations: 1.661 MB / 5.156 GB, free: 110.8 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.566e-05/10.57, allocations: 7.438 kB / 5.156 GB, free: 110.8 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001641/10.57, allocations: 58.44 kB / 5.156 GB, free: 110.8 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.799e-05/10.57, allocations: 52.47 kB / 5.156 GB, free: 110.8 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00302/10.57, allocations: 1.353 MB / 5.157 GB, free: 110.8 MB / 1.026 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.009364/10.58, allocations: 7.876 MB / 5.165 GB, free: 106.7 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001999/10.59, allocations: 1.843 MB / 5.166 GB, free: 105.7 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009453/10.59, allocations: 0.5093 MB / 5.167 GB, free: 105.6 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009465/10.59, allocations: 0.7545 MB / 5.168 GB, free: 104.9 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001097/10.59, allocations: 0.5426 MB / 5.168 GB, free: 104.8 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008202/10.59, allocations: 131.1 kB / 5.168 GB, free: 104.8 MB / 1.026 GB Notification: Performance of pre-optimization done (n=90): time 3.426e-06/10.59, allocations: 2.938 kB / 5.168 GB, free: 104.8 MB / 1.026 GB Notification: Performance of matching and sorting (n=90): time 0.003385/10.59, allocations: 1.554 MB / 5.17 GB, free: 104.6 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/10.59, allocations: 120 kB / 5.17 GB, free: 104.4 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001821/10.59, allocations: 1.606 MB / 5.172 GB, free: 104.2 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 7.768e-05/10.59, allocations: 48.83 kB / 5.172 GB, free: 104.2 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006012/10.6, allocations: 0.9606 MB / 5.173 GB, free: 103.9 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001822/10.6, allocations: 314 kB / 5.173 GB, free: 103.8 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.136e-05/10.6, allocations: 23.09 kB / 5.173 GB, free: 103.8 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 6.941e-05/10.6, allocations: 350.1 kB / 5.173 GB, free: 103.5 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007461/10.6, allocations: 408.9 kB / 5.174 GB, free: 103.5 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008852/10.6, allocations: 0.794 MB / 5.174 GB, free: 103 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001641/10.6, allocations: 1.159 MB / 5.176 GB, free: 102.7 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/10.6, allocations: 3.312 kB / 5.176 GB, free: 102.7 MB / 1.026 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002122/10.6, allocations: 1.377 MB / 5.177 GB, free: 102.5 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001383/10.6, allocations: 377.5 kB / 5.177 GB, free: 102.1 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/10.6, allocations: 17.06 kB / 5.177 GB, free: 102.1 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/10.6, allocations: 12.94 kB / 5.177 GB, free: 102.1 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009369/10.6, allocations: 268.5 kB / 5.178 GB, free: 102.1 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.589e-05/10.6, allocations: 21.66 kB / 5.178 GB, free: 102.1 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/10.6, allocations: 152.3 kB / 5.178 GB, free: 102.1 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.583e-05/10.6, allocations: 59.11 kB / 5.178 GB, free: 102.1 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 5.501e-06/10.6, allocations: 3.219 kB / 5.178 GB, free: 102.1 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00186/10.61, allocations: 1.188 MB / 5.179 GB, free: 102 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/10.61, allocations: 9.031 kB / 5.179 GB, free: 102 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/10.61, allocations: 15.09 kB / 5.179 GB, free: 102 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008854/10.61, allocations: 269.2 kB / 5.179 GB, free: 102 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/10.61, allocations: 22.48 kB / 5.179 GB, free: 102 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/10.61, allocations: 157.3 kB / 5.179 GB, free: 102 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.919e-05/10.61, allocations: 50.61 kB / 5.179 GB, free: 102 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,eleHea.on,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 136 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007727/10.61, allocations: 0.5591 MB / 5.18 GB, free: 101.8 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000193/10.61, allocations: 187 kB / 5.18 GB, free: 101.7 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002072/10.61, allocations: 1.16 MB / 5.181 GB, free: 101.6 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/10.61, allocations: 8.5 kB / 5.181 GB, free: 101.6 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/10.61, allocations: 0 / 5.181 GB, free: 101.6 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001594/10.61, allocations: 1.21 MB / 5.182 GB, free: 101.2 MB / 1.026 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 postOpt removeSimpleEquations (simulation): time 0.004502/10.62, allocations: 3.01 MB / 5.185 GB, free: 100.5 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/10.62, allocations: 4.75 kB / 5.185 GB, free: 100.5 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008545/10.62, allocations: 183.8 kB / 5.186 GB, free: 100.5 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001941/10.62, allocations: 48.12 kB / 5.186 GB, free: 100.5 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.084e-05/10.62, allocations: 29.05 kB / 5.186 GB, free: 100.5 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008905/10.62, allocations: 1.422 MB / 5.187 GB, free: 99.27 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/10.62, allocations: 3.719 kB / 5.187 GB, free: 99.27 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002633/10.62, allocations: 1.736 MB / 5.189 GB, free: 98.95 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000605/10.62, allocations: 346.2 kB / 5.189 GB, free: 98.76 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/10.62, allocations: 24.92 kB / 5.189 GB, free: 98.76 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/10.62, allocations: 147 kB / 5.189 GB, free: 98.76 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/10.62, allocations: 67.66 kB / 5.189 GB, free: 98.76 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.277e-05/10.62, allocations: 33.47 kB / 5.189 GB, free: 98.76 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.001338/10.63, allocations: 1.076 MB / 5.19 GB, free: 98.61 MB / 1.026 GB Notification: Performance of sort global known variables: time 2.9e-07/10.63, allocations: 0 / 5.19 GB, free: 98.61 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.003865/10.63, allocations: 1.338 MB / 5.192 GB, free: 98.52 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,eleHea.hea.outCon.T) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,eleHea.on) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006186/10.64, allocations: 3.922 MB / 5.196 GB, free: 97.06 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.003466/10.64, allocations: 1.733 MB / 5.197 GB, free: 96.91 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/10.64, allocations: 0 / 5.197 GB, free: 96.91 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0009563/10.64, allocations: 0.605 MB / 5.198 GB, free: 96.8 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003555/10.64, allocations: 0.8044 MB / 5.199 GB, free: 96.77 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00662/10.65, allocations: 4.481 MB / 5.203 GB, free: 94.88 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009988/10.65, allocations: 1.527 MB / 5.204 GB, free: 94.15 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.001984/10.65, allocations: 479.8 kB / 5.205 GB, free: 94.13 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003352/10.65, allocations: 138.6 kB / 5.205 GB, free: 94.12 MB / 1.026 GB Notification: Performance of SimCode: time 1.764e-06/10.65, allocations: 0 / 5.205 GB, free: 94.12 MB / 1.026 GB Notification: Performance of Templates: time 0.09055/10.74, allocations: 65.12 MB / 5.269 GB, free: 92.06 MB / 1.026 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe 2>&1)