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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008736/0.0008736, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008683/0.0008684, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.257/1.257, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.532/1.532, allocations: 292.5 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004724/0.0004724, allocations: 11.62 kB / 0.6735 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1964, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater): time 0.5637/0.7602, allocations: 199 MB / 0.9815 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02453/0.7848, allocations: 17.62 MB / 0.9987 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003098/0.7879, allocations: 74.66 kB / 0.9988 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003507/0.7914, allocations: 1.232 MB / 1 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0116/0.803, allocations: 3.386 MB / 1.003 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.01003/0.8131, allocations: 3.064 MB / 1.006 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.006009/0.8191, allocations: 3.046 MB / 1.009 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002205/0.8213, allocations: 1.504 MB / 1.011 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004669/0.826, allocations: 2.063 MB / 1.013 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001716/0.8277, allocations: 1.098 MB / 1.014 GB, free: 8.758 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001858/0.8279, allocations: 85.12 kB / 1.014 GB, free: 8.758 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00431/0.8323, allocations: 1.893 MB / 1.016 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005922/0.8329, allocations: 0.5912 MB / 1.016 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006326/0.8335, allocations: 491.9 kB / 1.017 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003637/0.8371, allocations: 3.115 MB / 1.02 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.8372, allocations: 3.188 kB / 1.02 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8372, allocations: 0 / 1.02 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.008e-05/0.8372, allocations: 0 / 1.02 GB, free: 5.219 MB / 0.7325 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.004431/0.8416, allocations: 2.545 MB / 1.022 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.8417, allocations: 8.094 kB / 1.022 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004525/0.8462, allocations: 0.8288 MB / 1.023 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003109/0.8493, allocations: 1.711 MB / 1.025 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003668/0.8497, allocations: 185.9 kB / 1.025 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002044/0.8499, allocations: 157.8 kB / 1.025 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002991/0.8529, allocations: 1.771 MB / 1.027 GB, free: 496 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/0.853, allocations: 3.938 kB / 1.027 GB, free: 492 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001325/0.8531, allocations: 57.81 kB / 1.027 GB, free: 448 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.406e-05/0.8532, allocations: 49.42 kB / 1.027 GB, free: 444 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003112/0.8563, allocations: 1.556 MB / 1.028 GB, free: 15.67 MB / 0.7481 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.009983/0.8663, allocations: 8.09 MB / 1.036 GB, free: 8.293 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002929/0.8692, allocations: 2.031 MB / 1.038 GB, free: 6.062 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001092/0.8703, allocations: 0.644 MB / 1.039 GB, free: 5.309 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001187/0.8715, allocations: 0.5907 MB / 1.04 GB, free: 4.707 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008037/0.8723, allocations: 135.2 kB / 1.04 GB, free: 4.574 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=88): time 2.865e-06/0.8724, allocations: 0 / 1.04 GB, free: 4.574 MB / 0.7481 GB Notification: Performance of matching and sorting (n=88): time 0.004012/0.8764, allocations: 1.719 MB / 1.041 GB, free: 2.824 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.905e-05/0.8765, allocations: 145.5 kB / 1.042 GB, free: 2.652 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002089/0.8786, allocations: 1.675 MB / 1.043 GB, free: 0.9336 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 9.205e-05/0.8787, allocations: 45.7 kB / 1.043 GB, free: 0.8828 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007865/0.8795, allocations: 0.9676 MB / 1.044 GB, free: 15.91 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.000267/0.8797, allocations: 311.5 kB / 1.044 GB, free: 15.6 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-05/0.8798, allocations: 20 kB / 1.044 GB, free: 15.58 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.8799, allocations: 349.9 kB / 1.045 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/0.881, allocations: 482.3 kB / 1.045 GB, free: 14.76 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001301/0.8823, allocations: 0.843 MB / 1.046 GB, free: 13.76 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.8835, allocations: 0.6019 MB / 1.047 GB, free: 13.15 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.8835, allocations: 0 / 1.047 GB, free: 13.15 MB / 0.7637 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.00297/0.8865, allocations: 1.52 MB / 1.048 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.00123/0.8877, allocations: 3.415 MB / 1.051 GB, free: 7.945 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.228e-05/0.8877, allocations: 8 kB / 1.051 GB, free: 7.938 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.865e-05/0.8878, allocations: 16 kB / 1.052 GB, free: 7.922 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.8889, allocations: 291.6 kB / 1.052 GB, free: 7.637 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.955e-05/0.889, allocations: 19.92 kB / 1.052 GB, free: 7.617 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/0.8906, allocations: 171.6 kB / 1.052 GB, free: 7.453 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.8908, allocations: 59.92 kB / 1.052 GB, free: 7.395 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.8908, allocations: 4 kB / 1.052 GB, free: 7.391 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002607/0.8934, allocations: 1.337 MB / 1.053 GB, free: 6.051 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.8934, allocations: 12 kB / 1.053 GB, free: 6.039 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.8934, allocations: 15.94 kB / 1.053 GB, free: 6.023 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.8945, allocations: 284 kB / 1.054 GB, free: 5.746 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.777e-05/0.8945, allocations: 19.92 kB / 1.054 GB, free: 5.727 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/0.8962, allocations: 168.4 kB / 1.054 GB, free: 5.562 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.319e-05/0.8963, allocations: 51.98 kB / 1.054 GB, free: 5.512 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,uHea.y,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (139): * Single equations (assignments): 135 * 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.0009885/0.8973, allocations: 0.5592 MB / 1.054 GB, free: 4.941 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003312/0.8976, allocations: 193.6 kB / 1.055 GB, free: 4.75 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002879/0.9005, allocations: 1.268 MB / 1.056 GB, free: 3.473 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.9005, allocations: 12 kB / 1.056 GB, free: 3.461 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.9006, allocations: 0 / 1.056 GB, free: 3.461 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002297/0.9029, allocations: 1.305 MB / 1.057 GB, free: 2.066 MB / 0.7637 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.006304/0.9092, allocations: 3.212 MB / 1.06 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.9092, allocations: 0 / 1.06 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009797/0.9102, allocations: 203.9 kB / 1.06 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002297/0.9104, allocations: 48.81 kB / 1.06 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.913e-05/0.9105, allocations: 23.98 kB / 1.061 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001303/0.9118, allocations: 1.44 MB / 1.062 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.9118, allocations: 4 kB / 1.062 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003843/0.9157, allocations: 1.977 MB / 1.064 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009434/0.9166, allocations: 358.6 kB / 1.064 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003821/0.917, allocations: 20 kB / 1.064 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001475/0.9185, allocations: 175.7 kB / 1.064 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/0.9187, allocations: 72.78 kB / 1.064 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.893e-05/0.9188, allocations: 31.98 kB / 1.064 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001896/0.9207, allocations: 1.123 MB / 1.066 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9207, allocations: 0 / 1.066 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003394/0.9241, allocations: 1.052 MB / 1.067 GB, free: 7.949 MB / 0.7794 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,uHea.y) * 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.001628/0.9257, allocations: 0.6476 MB / 1.067 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.004259/0.93, allocations: 1.991 MB / 1.069 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.93, allocations: 4 kB / 1.069 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001342/0.9314, allocations: 0.6539 MB / 1.07 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003913/0.9353, allocations: 0.8272 MB / 1.071 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008773/0.9441, allocations: 4.624 MB / 1.075 GB, free: 15.24 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001554/0.9457, allocations: 1.577 MB / 1.077 GB, free: 13.63 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002246/0.9479, allocations: 471.4 kB / 1.077 GB, free: 13.17 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005262/0.9485, allocations: 143.4 kB / 1.077 GB, free: 13.03 MB / 0.795 GB Notification: Performance of SimCode: time 7.31e-07/0.9485, allocations: 0 / 1.077 GB, free: 13.03 MB / 0.795 GB Notification: Performance of Templates: time 0.05625/1.005, allocations: 32.62 MB / 1.109 GB, free: 12.88 MB / 0.8262 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: