Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.621/1.621, allocations: 289.9 MB / 297.4 MB, free: 6.332 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.001136/0.001136, allocations: 172.9 kB / 366.7 MB, free: 1.652 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.858/1.858, allocations: 205.2 MB / 0.626 GB, free: 7.16 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009075/0.0009072, allocations: 94.78 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.784e-05/1.796e-05, allocations: 4 kB / 0.8597 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6882/0.6882, allocations: 116.3 MB / 0.9733 GB, free: 76.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.259/5.948, allocations: 2.131 GB / 3.104 GB, free: 341.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/5.948, allocations: 101 kB / 3.104 GB, free: 341.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.596/13.54, allocations: 2.148 GB / 5.252 GB, free: 13.64 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.803e-06/13.54, allocations: 0 / 5.252 GB, free: 13.64 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0004682/13.55, allocations: 59.98 kB / 5.252 GB, free: 13.58 MB / 0.9792 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.008331/13.55, allocations: 2.552 MB / 5.255 GB, free: 10.97 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 6.036e-05/13.55, allocations: 8.031 kB / 5.255 GB, free: 10.96 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00633/13.56, allocations: 0.8009 MB / 5.256 GB, free: 10.16 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008243/13.57, allocations: 2.335 MB / 5.258 GB, free: 7.777 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001686/13.57, allocations: 44.34 kB / 5.258 GB, free: 7.734 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008493/13.57, allocations: 95.95 kB / 5.258 GB, free: 7.641 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003817/13.57, allocations: 1.13 MB / 5.259 GB, free: 6.508 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004592/13.58, allocations: 1.396 MB / 5.261 GB, free: 5.023 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.804e-05/13.58, allocations: 0 / 5.261 GB, free: 5.023 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003396/13.58, allocations: 4 kB / 5.261 GB, free: 5.02 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.524e-05/13.58, allocations: 54.64 kB / 5.261 GB, free: 4.965 MB / 0.9792 GB Warning: The model contains alias variables with conflicting start and/or 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.0153/13.59, allocations: 7.549 MB / 5.268 GB, free: 12.83 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002067/13.6, allocations: 1.702 MB / 5.27 GB, free: 10.91 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007506/13.6, allocations: 419 kB / 5.27 GB, free: 10.5 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00132/13.6, allocations: 0.7524 MB / 5.271 GB, free: 9.605 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008293/13.6, allocations: 456.5 kB / 5.271 GB, free: 9.148 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001243/13.6, allocations: 111.2 kB / 5.271 GB, free: 9.039 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=88): time 4.399e-06/13.6, allocations: 0 / 5.271 GB, free: 9.039 MB / 0.9948 GB Notification: Performance of matching and sorting (n=88): time 0.006198/13.61, allocations: 1.549 MB / 5.273 GB, free: 7.477 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/13.61, allocations: 167 kB / 5.273 GB, free: 7.277 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002428/13.61, allocations: 1.283 MB / 5.274 GB, free: 5.953 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001612/13.61, allocations: 33.69 kB / 5.274 GB, free: 5.914 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001056/13.61, allocations: 0.9674 MB / 5.275 GB, free: 4.934 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003134/13.61, allocations: 291.6 kB / 5.276 GB, free: 4.645 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.471e-05/13.61, allocations: 4 kB / 5.276 GB, free: 4.641 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.000172/13.61, allocations: 345.9 kB / 5.276 GB, free: 4.297 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005924/13.61, allocations: 350.4 kB / 5.276 GB, free: 3.961 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008831/13.61, allocations: 0.7328 MB / 5.277 GB, free: 3.055 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004361/13.62, allocations: 1.047 MB / 5.278 GB, free: 2.012 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/13.62, allocations: 4 kB / 5.278 GB, free: 2.008 MB / 0.9948 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.006162/13.62, allocations: 1.787 MB / 5.28 GB, free: 216 kB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.8033/14.43, allocations: 3.495 MB / 5.283 GB, free: 128 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.694e-05/14.43, allocations: 10.75 kB / 5.283 GB, free: 128 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.657e-05/14.43, allocations: 16.16 kB / 5.283 GB, free: 128 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001663/14.43, allocations: 263.9 kB / 5.283 GB, free: 128 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-05/14.43, allocations: 21.36 kB / 5.283 GB, free: 128 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002141/14.43, allocations: 125.7 kB / 5.284 GB, free: 128 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001955/14.43, allocations: 60.66 kB / 5.284 GB, free: 128 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/14.43, allocations: 5.906 kB / 5.284 GB, free: 128 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005788/14.44, allocations: 1.553 MB / 5.285 GB, free: 128 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.514e-05/14.44, allocations: 17.52 kB / 5.285 GB, free: 128 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/14.44, allocations: 14.09 kB / 5.285 GB, free: 128 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/14.44, allocations: 258.1 kB / 5.285 GB, free: 128 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.615e-05/14.44, allocations: 20.56 kB / 5.285 GB, free: 128 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001916/14.44, allocations: 127.4 kB / 5.286 GB, free: 128 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/14.44, allocations: 55.16 kB / 5.286 GB, free: 128 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 () * 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.0003432/14.44, allocations: 143.7 kB / 5.286 GB, free: 127.9 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003783/14.44, allocations: 192.5 kB / 5.286 GB, free: 127.9 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005973/14.45, allocations: 1.548 MB / 5.287 GB, free: 127.8 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/14.45, allocations: 8.688 kB / 5.287 GB, free: 127.8 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/14.45, allocations: 1.688 kB / 5.287 GB, free: 127.8 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004558/14.45, allocations: 1.633 MB / 5.289 GB, free: 127.4 MB / 0.9948 GB Warning: The model contains alias variables with conflicting start and/or 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.009176/14.46, allocations: 3.237 MB / 5.292 GB, free: 126.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/14.46, allocations: 3.406 kB / 5.292 GB, free: 126.8 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009048/14.46, allocations: 182.9 kB / 5.292 GB, free: 126.8 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002156/14.46, allocations: 44.69 kB / 5.292 GB, free: 126.8 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.643e-05/14.46, allocations: 18.95 kB / 5.292 GB, free: 126.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001278/14.46, allocations: 1.38 MB / 5.294 GB, free: 125.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/14.46, allocations: 6.656 kB / 5.294 GB, free: 125.6 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00619/14.47, allocations: 2.166 MB / 5.296 GB, free: 125.3 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007979/14.47, allocations: 347.2 kB / 5.296 GB, free: 125.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001993/14.47, allocations: 11.19 kB / 5.296 GB, free: 125.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/14.47, allocations: 134.1 kB / 5.296 GB, free: 125.1 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002167/14.47, allocations: 70.55 kB / 5.296 GB, free: 125.1 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.263e-05/14.47, allocations: 29.89 kB / 5.296 GB, free: 125.1 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.002228/14.47, allocations: 0.9572 MB / 5.297 GB, free: 124.9 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.6e-07/14.47, allocations: 0 / 5.297 GB, free: 124.9 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.005395/14.48, allocations: 1.257 MB / 5.299 GB, free: 124.9 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) * 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.006385/14.49, allocations: 4.069 MB / 5.303 GB, free: 123.5 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002893/14.49, allocations: 1.615 MB / 5.304 GB, free: 123.3 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/14.49, allocations: 0 / 5.304 GB, free: 123.3 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008293/14.49, allocations: 0.5078 MB / 5.305 GB, free: 123.2 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004205/14.49, allocations: 0.7759 MB / 5.305 GB, free: 123.1 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006932/14.5, allocations: 2.923 MB / 5.308 GB, free: 122.4 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009583/14.5, allocations: 1.585 MB / 5.31 GB, free: 121.7 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002999/14.5, allocations: 0.6629 MB / 5.311 GB, free: 121.6 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002945/14.5, allocations: 111.7 kB / 5.311 GB, free: 121.6 MB / 0.9948 GB Notification: Performance of SimCode: time 2.856e-06/14.5, allocations: 0 / 5.311 GB, free: 121.6 MB / 0.9948 GB Notification: Performance of Templates: time 0.09683/14.6, allocations: 49.69 MB / 5.359 GB, free: 120.1 MB / 0.9948 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.makefile (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.sim & ./Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe 2>&1)