Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_ElectricHeater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_ElectricHeater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.475/1.475, allocations: 249.3 MB / 261.9 MB, free: 5.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001128/0.001128, allocations: 180.8 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 205.2 MB / 0.572 GB, free: 10.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008989/0.0008992, allocations: 93.22 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.447e-05/3.473e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2376, allocations: 106.3 MB / 0.8919 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.595/6.833, allocations: 2.249 GB / 3.141 GB, free: 94.54 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/6.833, allocations: 101 kB / 3.141 GB, free: 94.49 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 8.379/15.21, allocations: 2.103 GB / 5.243 GB, free: 30.86 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.365e-06/15.21, allocations: 0 / 5.243 GB, free: 30.86 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0003201/15.21, allocations: 59.92 kB / 5.244 GB, free: 30.8 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 358 * Number of variables: 358 Notification: Performance of Generate backend data structure: time 0.009108/15.22, allocations: 2.558 MB / 5.246 GB, free: 28.19 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 7.657e-05/15.22, allocations: 8.031 kB / 5.246 GB, free: 28.18 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006036/15.22, allocations: 207 kB / 5.246 GB, free: 27.97 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005775/15.23, allocations: 0.7774 MB / 5.247 GB, free: 27.19 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006778/15.24, allocations: 2.344 MB / 5.249 GB, free: 24.8 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.434e-05/15.24, allocations: 119.2 kB / 5.249 GB, free: 24.68 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002868/15.24, allocations: 152 kB / 5.25 GB, free: 24.53 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002692/15.24, allocations: 1.609 MB / 5.251 GB, free: 22.83 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.184e-05/15.24, allocations: 7.438 kB / 5.251 GB, free: 22.83 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001337/15.24, allocations: 60 kB / 5.251 GB, free: 22.77 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.876e-05/15.24, allocations: 50.72 kB / 5.251 GB, free: 22.72 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001952/15.24, allocations: 1.198 MB / 5.252 GB, free: 21.52 MB / 0.9167 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.009327/15.25, allocations: 7.804 MB / 5.26 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/15.25, allocations: 1.703 MB / 5.262 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005735/15.25, allocations: 427.1 kB / 5.262 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009773/15.25, allocations: 0.7553 MB / 5.263 GB, free: 9.863 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007209/15.25, allocations: 490 kB / 5.263 GB, free: 9.371 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001136/15.25, allocations: 135.2 kB / 5.263 GB, free: 9.238 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=88): time 3.948e-06/15.25, allocations: 4 kB / 5.263 GB, free: 9.234 MB / 0.9167 GB Notification: Performance of matching and sorting (n=88): time 0.001758/15.26, allocations: 0.9556 MB / 5.264 GB, free: 8.273 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/15.26, allocations: 167 kB / 5.264 GB, free: 8.07 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001933/15.26, allocations: 1.4 MB / 5.266 GB, free: 6.625 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.532e-05/15.26, allocations: 49.7 kB / 5.266 GB, free: 6.57 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008626/15.26, allocations: 0.9785 MB / 5.267 GB, free: 5.586 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002381/15.26, allocations: 307.5 kB / 5.267 GB, free: 5.281 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.75e-05/15.26, allocations: 20 kB / 5.267 GB, free: 5.262 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001233/15.26, allocations: 353.9 kB / 5.268 GB, free: 4.91 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005388/15.26, allocations: 354.5 kB / 5.268 GB, free: 4.566 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007848/15.26, allocations: 0.7386 MB / 5.269 GB, free: 3.652 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006662/15.26, allocations: 489.3 kB / 5.269 GB, free: 3.172 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/15.26, allocations: 11.95 kB / 5.269 GB, free: 3.16 MB / 0.9167 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.001791/15.26, allocations: 1.27 MB / 5.27 GB, free: 1.875 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001206/15.26, allocations: 3.502 MB / 5.274 GB, free: 14.11 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.662e-05/15.26, allocations: 8 kB / 5.274 GB, free: 14.11 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.281e-05/15.27, allocations: 23.94 kB / 5.274 GB, free: 14.08 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/15.27, allocations: 263.6 kB / 5.274 GB, free: 13.82 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-05/15.27, allocations: 23.92 kB / 5.274 GB, free: 13.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/15.27, allocations: 151.7 kB / 5.274 GB, free: 13.65 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/15.27, allocations: 55.98 kB / 5.274 GB, free: 13.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/15.27, allocations: 5.25 kB / 5.274 GB, free: 13.59 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001812/15.27, allocations: 1.075 MB / 5.275 GB, free: 12.51 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.137e-05/15.27, allocations: 15.98 kB / 5.275 GB, free: 12.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/15.27, allocations: 16.88 kB / 5.275 GB, free: 12.48 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/15.27, allocations: 263.5 kB / 5.276 GB, free: 12.22 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-05/15.27, allocations: 23.92 kB / 5.276 GB, free: 12.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/15.27, allocations: 155.7 kB / 5.276 GB, free: 12.05 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/15.27, allocations: 55.97 kB / 5.276 GB, free: 11.99 MB / 0.9323 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.0003159/15.27, allocations: 180.6 kB / 5.276 GB, free: 11.81 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003053/15.27, allocations: 185.7 kB / 5.276 GB, free: 11.62 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002355/15.28, allocations: 1.017 MB / 5.277 GB, free: 10.6 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/15.28, allocations: 16 kB / 5.277 GB, free: 10.58 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/15.28, allocations: 0 / 5.277 GB, free: 10.58 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00148/15.28, allocations: 1.079 MB / 5.278 GB, free: 9.418 MB / 0.9323 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.005854/15.28, allocations: 2.817 MB / 5.281 GB, free: 6.477 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/15.28, allocations: 0 / 5.281 GB, free: 6.477 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009194/15.28, allocations: 187.9 kB / 5.281 GB, free: 6.293 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002291/15.28, allocations: 44.83 kB / 5.281 GB, free: 6.246 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.389e-05/15.28, allocations: 27.94 kB / 5.281 GB, free: 6.219 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001394/15.29, allocations: 1.421 MB / 5.283 GB, free: 4.664 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/15.29, allocations: 0 / 5.283 GB, free: 4.664 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002793/15.29, allocations: 1.61 MB / 5.284 GB, free: 2.984 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/15.29, allocations: 350.6 kB / 5.284 GB, free: 2.621 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002016/15.29, allocations: 27.94 kB / 5.285 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/15.29, allocations: 151.7 kB / 5.285 GB, free: 2.445 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001751/15.29, allocations: 64.62 kB / 5.285 GB, free: 2.383 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.323e-05/15.29, allocations: 39.97 kB / 5.285 GB, free: 2.344 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001924/15.29, allocations: 1.069 MB / 5.286 GB, free: 1.246 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.61e-07/15.29, allocations: 7.938 kB / 5.286 GB, free: 1.238 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.8105/16.1, allocations: 1.362 MB / 5.287 GB, free: 115.4 MB / 0.9323 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.01272/16.12, allocations: 6.212 MB / 5.293 GB, free: 113.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003672/16.12, allocations: 1.696 MB / 5.295 GB, free: 112.8 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/16.12, allocations: 0 / 5.295 GB, free: 112.8 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001103/16.12, allocations: 0.5306 MB / 5.295 GB, free: 112.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005031/16.13, allocations: 0.7994 MB / 5.296 GB, free: 112.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/16.14, allocations: 3.522 MB / 5.3 GB, free: 111.9 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001562/16.14, allocations: 1.583 MB / 5.301 GB, free: 111.2 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003706/16.14, allocations: 0.6737 MB / 5.302 GB, free: 111.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001075/16.14, allocations: 0.7947 MB / 5.303 GB, free: 111.1 MB / 0.9323 GB Notification: Performance of SimCode: time 1.092e-06/16.14, allocations: 1.094 kB / 5.303 GB, free: 111.1 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1976/16.34, allocations: 103.4 MB / 5.404 GB, free: 108.4 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002588/16.34, allocations: 257.8 kB / 5.404 GB, free: 108 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.319/22.66, allocations: 0 / 5.404 GB, free: 108 MB / 0.9323 GB (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_ElectricHeater_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_ElectricHeater.fmu > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe 2>&1)