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.001387/0.001387, allocations: 118 kB / 16.38 MB, free: 6.02 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.001228/0.001228, allocations: 185.1 kB / 17.31 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.548/1.548, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.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.896/1.896, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001488/0.001488, allocations: 72.11 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2832, allocations: 114.6 MB / 0.7848 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater): time 0.9394/1.223, allocations: 242.6 MB / 1.022 GB, free: 7.332 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.03773/1.26, allocations: 18.62 MB / 1.04 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005338/1.266, allocations: 91.44 kB / 1.04 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.005395/1.271, allocations: 1.404 MB / 1.041 GB, free: 3.168 MB / 0.8262 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.01241/1.284, allocations: 3.483 MB / 1.045 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.01193/1.296, allocations: 3.917 MB / 1.049 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01011/1.306, allocations: 5.204 MB / 1.054 GB, free: 6.57 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00381/1.31, allocations: 2.039 MB / 1.056 GB, free: 4.488 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008007/1.318, allocations: 2.997 MB / 1.059 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004335/1.322, allocations: 1.632 MB / 1.06 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0006679/1.323, allocations: 216 kB / 1.06 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008879/1.332, allocations: 3.574 MB / 1.064 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001761/1.333, allocations: 0.7867 MB / 1.065 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002481/1.336, allocations: 1.275 MB / 1.066 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01115/1.347, allocations: 4.69 MB / 1.07 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.179e-05/1.347, allocations: 4 kB / 1.07 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.215e-05/1.347, allocations: 0 / 1.07 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.262e-05/1.347, allocations: 4 kB / 1.07 GB, free: 5.277 MB / 0.8575 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.006673/1.354, allocations: 2.978 MB / 1.073 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/1.354, allocations: 16.75 kB / 1.073 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005034/1.359, allocations: 0.7852 MB / 1.074 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004749/1.364, allocations: 1.849 MB / 1.076 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/1.364, allocations: 110.8 kB / 1.076 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003475/1.364, allocations: 152 kB / 1.076 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003769/1.368, allocations: 1.757 MB / 1.078 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.508e-05/1.368, allocations: 0 / 1.078 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000142/1.368, allocations: 60 kB / 1.078 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.417e-05/1.368, allocations: 50.69 kB / 1.078 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003508/1.372, allocations: 1.494 MB / 1.079 GB, free: 11.82 MB / 0.8731 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.01289/1.385, allocations: 8.072 MB / 1.087 GB, free: 3.152 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002962/1.388, allocations: 1.946 MB / 1.089 GB, free: 1.008 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001103/1.389, allocations: 0.5237 MB / 1.09 GB, free: 496 kB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00138/1.39, allocations: 0.7759 MB / 1.091 GB, free: 15.56 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001307/1.392, allocations: 0.5712 MB / 1.091 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=86): time 3.346e-06/1.392, allocations: 0 / 1.091 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of matching and sorting (n=86): time 0.004772/1.396, allocations: 1.632 MB / 1.093 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/1.397, allocations: 111.8 kB / 1.093 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00278/1.399, allocations: 1.651 MB / 1.094 GB, free: 11.49 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001541/1.4, allocations: 53.69 kB / 1.094 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001058/1.401, allocations: 0.983 MB / 1.095 GB, free: 10.44 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003191/1.401, allocations: 303.6 kB / 1.096 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003756/1.401, allocations: 226.7 kB / 1.096 GB, free: 9.91 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001547/1.401, allocations: 353.9 kB / 1.096 GB, free: 9.559 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/1.403, allocations: 477.8 kB / 1.097 GB, free: 9.09 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001431/1.404, allocations: 0.8439 MB / 1.098 GB, free: 8.086 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002369/1.406, allocations: 1.292 MB / 1.099 GB, free: 6.664 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/1.406, allocations: 4 kB / 1.099 GB, free: 6.66 MB / 0.8887 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003188/1.41, allocations: 1.512 MB / 1.1 GB, free: 5.133 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 6.236e-05/1.41, allocations: 41.69 kB / 1.1 GB, free: 5.086 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.822e-05/1.41, allocations: 8 kB / 1.1 GB, free: 5.078 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.564e-05/1.41, allocations: 16.75 kB / 1.1 GB, free: 5.062 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/1.411, allocations: 271.6 kB / 1.101 GB, free: 4.797 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.797e-05/1.411, allocations: 23.92 kB / 1.101 GB, free: 4.773 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/1.412, allocations: 144.1 kB / 1.101 GB, free: 4.629 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/1.413, allocations: 51.98 kB / 1.101 GB, free: 4.578 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001893/1.414, allocations: 0.8617 MB / 1.102 GB, free: 3.715 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001341/1.416, allocations: 0.8291 MB / 1.102 GB, free: 2.719 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002287/1.418, allocations: 1.25 MB / 1.104 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.411e-06/1.418, allocations: 0 / 1.104 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of matching and sorting (n=142) (initialization_lambda0): time 0.003055/1.421, allocations: 1.492 MB / 1.105 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.032e-05/1.421, allocations: 37.7 kB / 1.105 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.493e-05/1.421, allocations: 11.98 kB / 1.105 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/1.421, allocations: 16 kB / 1.105 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/1.422, allocations: 272.1 kB / 1.105 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.374e-05/1.423, allocations: 19.92 kB / 1.105 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/1.424, allocations: 138 kB / 1.106 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/1.424, allocations: 51.98 kB / 1.106 GB, free: 15.29 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 7 (uHea.y,TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004218/1.425, allocations: 251.9 kB / 1.106 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004336/1.425, allocations: 185.7 kB / 1.106 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003155/1.428, allocations: 1.196 MB / 1.107 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002372/1.431, allocations: 1.262 MB / 1.108 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/1.431, allocations: 0 / 1.108 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009038/1.432, allocations: 358.4 kB / 1.109 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004193/1.432, allocations: 20 kB / 1.109 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/1.433, allocations: 59.94 kB / 1.109 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/1.433, allocations: 56.92 kB / 1.109 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003439/1.437, allocations: 1.236 MB / 1.11 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003878/1.441, allocations: 1.872 MB / 1.112 GB, free: 8.66 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001106/1.442, allocations: 491.7 kB / 1.112 GB, free: 8.176 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002505/1.444, allocations: 1.118 MB / 1.114 GB, free: 7.035 MB / 0.9044 GB Notification: Performance of Backend: time 1.072e-06/1.444, allocations: 0 / 1.114 GB, free: 7.035 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.008726/1.453, allocations: 2.676 MB / 1.116 GB, free: 4.547 MB / 0.9044 GB Notification: Performance of SimCode: time 0.01106/1.464, allocations: 4.5 MB / 1.121 GB, free: 48 kB / 0.9044 GB Notification: Performance of Templates: time 0.5963/2.061, allocations: 45.29 MB / 1.165 GB, free: 300.6 MB / 0.92 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)