Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.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.ElectricHeater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.644/2.644, allocations: 287.5 MB / 303.2 MB, free: 8.383 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.001311/0.00131, allocations: 178.5 kB / 371.8 MB, free: 10.82 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.242/2.242, allocations: 205.4 MB / 0.6305 GB, free: 10.54 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.0009026/0.0009024, allocations: 104 kB / 0.7438 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005152/0.0005153, allocations: 14.84 kB / 0.8667 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2151, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.64/6.855, allocations: 2.13 GB / 3.11 GB, free: 179 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003375/6.855, allocations: 111.9 kB / 3.11 GB, free: 178.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 11.16/18.02, allocations: 2.147 GB / 5.257 GB, free: 117.1 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.447e-06/18.02, allocations: 0 / 5.257 GB, free: 117.1 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0003698/18.02, allocations: 60 kB / 5.257 GB, free: 117.1 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 356 * Number of variables: 356 Notification: Performance of Generate backend data structure: time 0.01211/18.03, allocations: 3.06 MB / 5.26 GB, free: 115.8 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/18.03, allocations: 10.72 kB / 5.26 GB, free: 115.8 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008079/18.04, allocations: 0.7887 MB / 5.261 GB, free: 115.7 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009006/18.05, allocations: 2.382 MB / 5.263 GB, free: 115.2 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/18.05, allocations: 114.1 kB / 5.263 GB, free: 115.2 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004248/18.05, allocations: 154.1 kB / 5.264 GB, free: 115.2 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004691/18.05, allocations: 1.694 MB / 5.265 GB, free: 115 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.754e-05/18.05, allocations: 4.938 kB / 5.265 GB, free: 115 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002229/18.05, allocations: 60.25 kB / 5.265 GB, free: 115 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-05/18.05, allocations: 51.14 kB / 5.265 GB, free: 115 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004554/18.06, allocations: 1.339 MB / 5.267 GB, free: 114.9 MB / 0.9948 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.01488/18.07, allocations: 7.819 MB / 5.274 GB, free: 110.9 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003638/18.08, allocations: 1.86 MB / 5.276 GB, free: 109.8 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001551/18.08, allocations: 492.7 kB / 5.277 GB, free: 109.8 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001571/18.08, allocations: 0.7575 MB / 5.277 GB, free: 109 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001679/18.08, allocations: 0.538 MB / 5.278 GB, free: 109 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001469/18.08, allocations: 138.1 kB / 5.278 GB, free: 108.9 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=88): time 4.208e-06/18.08, allocations: 0 / 5.278 GB, free: 108.9 MB / 0.9948 GB Notification: Performance of matching and sorting (n=88): time 0.005885/18.09, allocations: 1.542 MB / 5.279 GB, free: 108.7 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.259e-05/18.09, allocations: 172.6 kB / 5.28 GB, free: 108.5 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003213/18.09, allocations: 1.628 MB / 5.281 GB, free: 108.3 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.000351/18.09, allocations: 50.45 kB / 5.281 GB, free: 108.2 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001151/18.1, allocations: 0.973 MB / 5.282 GB, free: 107.9 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005219/18.1, allocations: 307.3 kB / 5.283 GB, free: 107.7 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.538e-05/18.1, allocations: 25.66 kB / 5.283 GB, free: 107.7 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001105/18.1, allocations: 345 kB / 5.283 GB, free: 107.4 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001541/18.1, allocations: 423.7 kB / 5.283 GB, free: 107.4 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001789/18.1, allocations: 0.8142 MB / 5.284 GB, free: 107 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003285/18.1, allocations: 1.174 MB / 5.285 GB, free: 106.6 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.705e-05/18.1, allocations: 3.594 kB / 5.285 GB, free: 106.6 MB / 0.9948 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.00452/18.11, allocations: 1.403 MB / 5.287 GB, free: 106.4 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002409/18.11, allocations: 379.8 kB / 5.287 GB, free: 106 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.238e-05/18.11, allocations: 12.58 kB / 5.287 GB, free: 106 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.67e-05/18.11, allocations: 13.88 kB / 5.287 GB, free: 106 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00195/18.11, allocations: 269.8 kB / 5.287 GB, free: 106 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.602e-05/18.11, allocations: 16.53 kB / 5.287 GB, free: 106 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002724/18.11, allocations: 157.2 kB / 5.287 GB, free: 106 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/18.11, allocations: 57.38 kB / 5.287 GB, free: 106 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/18.11, allocations: 4.75 kB / 5.287 GB, free: 106 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003689/18.12, allocations: 1.215 MB / 5.289 GB, free: 105.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.83e-05/18.12, allocations: 11.53 kB / 5.289 GB, free: 105.9 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/18.12, allocations: 13.66 kB / 5.289 GB, free: 105.9 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001872/18.12, allocations: 262.9 kB / 5.289 GB, free: 105.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.548e-05/18.12, allocations: 19.25 kB / 5.289 GB, free: 105.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002728/18.12, allocations: 161.5 kB / 5.289 GB, free: 105.9 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001479/18.12, allocations: 50.75 kB / 5.289 GB, free: 105.9 MB / 0.9948 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): 134 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.001546/18.12, allocations: 0.5654 MB / 5.29 GB, free: 105.7 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004836/18.12, allocations: 188.8 kB / 5.29 GB, free: 105.6 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003821/18.13, allocations: 1.146 MB / 5.291 GB, free: 105.5 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/18.13, allocations: 7.25 kB / 5.291 GB, free: 105.5 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/18.13, allocations: 3.281 kB / 5.291 GB, free: 105.5 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002993/18.13, allocations: 1.206 MB / 5.292 GB, free: 105.1 MB / 0.9948 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.008131/18.14, allocations: 2.956 MB / 5.295 GB, free: 104.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/18.14, allocations: 3.219 kB / 5.295 GB, free: 104.4 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001627/18.14, allocations: 182.8 kB / 5.295 GB, free: 104.4 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002943/18.14, allocations: 42.53 kB / 5.295 GB, free: 104.4 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/18.14, allocations: 25.34 kB / 5.295 GB, free: 104.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001469/18.14, allocations: 1.423 MB / 5.297 GB, free: 103.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/18.14, allocations: 3.594 kB / 5.297 GB, free: 103.2 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00516/18.15, allocations: 1.725 MB / 5.298 GB, free: 102.9 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001237/18.15, allocations: 349.9 kB / 5.299 GB, free: 102.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004156/18.15, allocations: 21.72 kB / 5.299 GB, free: 102.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002387/18.15, allocations: 151.4 kB / 5.299 GB, free: 102.7 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002432/18.15, allocations: 67.33 kB / 5.299 GB, free: 102.7 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001221/18.15, allocations: 40.28 kB / 5.299 GB, free: 102.7 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.002427/18.15, allocations: 1.092 MB / 5.3 GB, free: 102.5 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7.11e-07/18.15, allocations: 0 / 5.3 GB, free: 102.5 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.007147/18.16, allocations: 1.381 MB / 5.301 GB, free: 102.3 MB / 0.9948 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.x[1],mov.filter.x[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 (88): * Single equations (assignments): 85 * 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.008074/18.17, allocations: 3.945 MB / 5.305 GB, free: 100.8 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.005751/18.18, allocations: 1.815 MB / 5.307 GB, free: 100.6 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/18.18, allocations: 3.844 kB / 5.307 GB, free: 100.6 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001894/18.18, allocations: 0.5928 MB / 5.308 GB, free: 100.5 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007405/18.18, allocations: 0.8177 MB / 5.308 GB, free: 100.5 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01258/18.2, allocations: 4.551 MB / 5.313 GB, free: 98.57 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001375/18.2, allocations: 1.534 MB / 5.314 GB, free: 97.84 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.003889/18.2, allocations: 462.3 kB / 5.315 GB, free: 97.82 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008632/18.2, allocations: 137.5 kB / 5.315 GB, free: 97.81 MB / 0.9948 GB Notification: Performance of SimCode: time 1.192e-06/18.2, allocations: 0 / 5.315 GB, free: 97.81 MB / 0.9948 GB Notification: Performance of Templates: time 0.1508/18.35, allocations: 65.59 MB / 5.379 GB, free: 94.18 MB / 0.9948 GB make -j1 -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.makefile (rm -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe ; mkfifo Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe >> ../files/Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.sim & ./Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe 2>&1)