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: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater,fileNamePrefix="Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_ElectricHeater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.409/2.409, allocations: 284.9 MB / 292.4 MB, free: 10.59 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.001509/0.001508, allocations: 176.9 kB / 360.6 MB, free: 7.309 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.027/2.027, allocations: 205.3 MB / 0.6191 GB, free: 12.24 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.001102/0.001102, allocations: 99.84 kB / 0.7321 GB, free: 44.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.525e-05/3.521e-05, allocations: 4 kB / 0.8509 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8062/0.8063, allocations: 115.2 MB / 0.9634 GB, free: 78.58 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.628/7.434, allocations: 2.13 GB / 3.093 GB, free: 281.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003514/7.435, allocations: 107.3 kB / 3.093 GB, free: 281.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 11.19/18.62, allocations: 2.148 GB / 5.241 GB, free: 42.66 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.164e-06/18.62, allocations: 0 / 5.241 GB, free: 42.66 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0004611/18.62, allocations: 55.98 kB / 5.242 GB, free: 42.61 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.009115/18.63, allocations: 2.548 MB / 5.244 GB, free: 40 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/18.63, allocations: 12.03 kB / 5.244 GB, free: 39.99 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007994/18.64, allocations: 0.7931 MB / 5.245 GB, free: 39.2 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009867/18.65, allocations: 2.341 MB / 5.247 GB, free: 36.8 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/18.65, allocations: 48 kB / 5.247 GB, free: 36.76 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005594/18.65, allocations: 88.34 kB / 5.247 GB, free: 36.67 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003394/18.65, allocations: 1.134 MB / 5.248 GB, free: 35.54 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003713/18.66, allocations: 1.4 MB / 5.25 GB, free: 34.05 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.325e-05/18.66, allocations: 0 / 5.25 GB, free: 34.05 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002011/18.66, allocations: 4 kB / 5.25 GB, free: 34.04 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.246e-05/18.66, allocations: 50.64 kB / 5.25 GB, free: 33.99 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.01499/18.67, allocations: 7.535 MB / 5.257 GB, free: 25.87 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002177/18.68, allocations: 1.709 MB / 5.259 GB, free: 23.95 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009392/18.68, allocations: 415.1 kB / 5.259 GB, free: 23.54 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00157/18.68, allocations: 0.7563 MB / 5.26 GB, free: 22.64 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001106/18.68, allocations: 452.5 kB / 5.26 GB, free: 22.18 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001344/18.68, allocations: 115 kB / 5.26 GB, free: 22.07 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=88): time 5.1e-06/18.68, allocations: 4 kB / 5.26 GB, free: 22.07 MB / 0.9792 GB Notification: Performance of matching and sorting (n=88): time 0.009756/18.69, allocations: 1.553 MB / 5.262 GB, free: 20.5 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/18.69, allocations: 163 kB / 5.262 GB, free: 20.31 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002443/18.69, allocations: 1.283 MB / 5.263 GB, free: 18.98 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002286/18.69, allocations: 25.7 kB / 5.263 GB, free: 18.95 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001052/18.69, allocations: 0.9713 MB / 5.264 GB, free: 17.97 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003422/18.69, allocations: 299.5 kB / 5.265 GB, free: 17.67 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.987e-05/18.69, allocations: 0 / 5.265 GB, free: 17.67 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.927e-05/18.69, allocations: 349.9 kB / 5.265 GB, free: 17.32 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008073/18.7, allocations: 350.5 kB / 5.265 GB, free: 16.98 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/18.7, allocations: 0.7207 MB / 5.266 GB, free: 16.09 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00743/18.7, allocations: 1.055 MB / 5.267 GB, free: 15.04 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-05/18.7, allocations: 4 kB / 5.267 GB, free: 15.03 MB / 0.9792 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.009375/18.71, allocations: 1.783 MB / 5.269 GB, free: 13.24 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007356/18.71, allocations: 3.505 MB / 5.272 GB, free: 9.469 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.035e-05/18.71, allocations: 8 kB / 5.272 GB, free: 9.461 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.53e-05/18.71, allocations: 16 kB / 5.272 GB, free: 9.445 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002115/18.72, allocations: 271.6 kB / 5.272 GB, free: 9.18 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.052e-05/18.72, allocations: 19.94 kB / 5.273 GB, free: 9.16 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002731/18.72, allocations: 131.6 kB / 5.273 GB, free: 9.031 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001625/18.72, allocations: 51.98 kB / 5.273 GB, free: 8.98 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/18.72, allocations: 4 kB / 5.273 GB, free: 8.977 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008699/18.73, allocations: 1.561 MB / 5.274 GB, free: 7.414 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.67e-05/18.73, allocations: 8 kB / 5.274 GB, free: 7.406 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/18.73, allocations: 16 kB / 5.274 GB, free: 7.391 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001904/18.73, allocations: 263.6 kB / 5.274 GB, free: 7.133 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/18.73, allocations: 20.19 kB / 5.275 GB, free: 7.113 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002612/18.73, allocations: 123.8 kB / 5.275 GB, free: 6.992 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001481/18.73, allocations: 51.98 kB / 5.275 GB, free: 6.941 MB / 0.9792 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.0003413/18.73, allocations: 148.4 kB / 5.275 GB, free: 6.789 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00854/18.74, allocations: 1.475 MB / 5.276 GB, free: 5.301 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002946/18.74, allocations: 189.6 kB / 5.276 GB, free: 5.113 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008948/18.75, allocations: 1.547 MB / 5.278 GB, free: 3.551 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/18.75, allocations: 15.84 kB / 5.278 GB, free: 3.539 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/18.75, allocations: 3.953 kB / 5.278 GB, free: 3.535 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008084/18.76, allocations: 1.636 MB / 5.28 GB, free: 1.812 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 postOpt removeSimpleEquations (simulation): time 0.01402/18.77, allocations: 3.226 MB / 5.283 GB, free: 14.48 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-06/18.77, allocations: 0 / 5.283 GB, free: 14.48 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001763/18.78, allocations: 179.8 kB / 5.283 GB, free: 14.3 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003034/18.78, allocations: 52.94 kB / 5.283 GB, free: 14.25 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.952e-05/18.78, allocations: 19.94 kB / 5.283 GB, free: 14.23 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002008/18.78, allocations: 1.381 MB / 5.284 GB, free: 12.73 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/18.78, allocations: 0 / 5.284 GB, free: 12.73 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0108/18.79, allocations: 2.175 MB / 5.286 GB, free: 10.48 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001361/18.79, allocations: 342.6 kB / 5.287 GB, free: 10.13 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000342/18.79, allocations: 8 kB / 5.287 GB, free: 10.12 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002177/18.79, allocations: 139.7 kB / 5.287 GB, free: 9.984 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002185/18.79, allocations: 60.69 kB / 5.287 GB, free: 9.926 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000125/18.79, allocations: 39.97 kB / 5.287 GB, free: 9.887 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.002288/18.8, allocations: 0.9539 MB / 5.288 GB, free: 8.91 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4.91e-07/18.8, allocations: 0 / 5.288 GB, free: 8.91 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.007195/18.8, allocations: 1.247 MB / 5.289 GB, free: 7.66 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.02078/18.82, allocations: 6.964 MB / 5.296 GB, free: 424 kB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.7748/19.6, allocations: 1.607 MB / 5.298 GB, free: 127.3 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/19.6, allocations: 1.125 kB / 5.298 GB, free: 127.3 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001475/19.6, allocations: 0.5071 MB / 5.298 GB, free: 127.2 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006923/19.61, allocations: 0.7705 MB / 5.299 GB, free: 127.2 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01391/19.62, allocations: 3.428 MB / 5.302 GB, free: 126.4 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001531/19.62, allocations: 1.578 MB / 5.304 GB, free: 125.7 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.005165/19.63, allocations: 0.6622 MB / 5.304 GB, free: 125.7 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0019/19.63, allocations: 0.7881 MB / 5.305 GB, free: 125.7 MB / 0.9948 GB Notification: Performance of SimCode: time 1.843e-06/19.63, allocations: 4.312 kB / 5.305 GB, free: 125.7 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2055/19.83, allocations: 71.51 MB / 5.375 GB, free: 124.4 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002846/19.84, allocations: 210.7 kB / 5.375 GB, free: 124.1 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.179/26.01, allocations: 0 / 5.375 GB, free: 124.1 MB / 0.9948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_ElectricHeater_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_ElectricHeater.fmu > Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe 2>&1)