Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.791/1.791, allocations: 288.2 MB / 303.2 MB, free: 8.156 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.00116/0.00116, allocations: 179.5 kB / 371.8 MB, free: 10.29 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.667/1.667, allocations: 205.4 MB / 0.6305 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00114/0.00114, allocations: 95.83 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004278/0.000428, allocations: 11.16 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2626, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater): time 0.7991/1.062, allocations: 199 MB / 1.174 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.02985/1.092, allocations: 17.61 MB / 1.191 GB, free: 8.77 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004217/1.096, allocations: 80.59 kB / 1.191 GB, free: 8.73 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.004567/1.101, allocations: 1.241 MB / 1.192 GB, free: 7.727 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01232/1.113, allocations: 3.378 MB / 1.196 GB, free: 5.012 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.01249/1.125, allocations: 3.054 MB / 1.199 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.007479/1.133, allocations: 3.048 MB / 1.202 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003362/1.136, allocations: 1.504 MB / 1.203 GB, free: 84 kB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005602/1.142, allocations: 2.065 MB / 1.205 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002523/1.144, allocations: 1.102 MB / 1.206 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0003526/1.145, allocations: 85.34 kB / 1.206 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005163/1.15, allocations: 1.893 MB / 1.208 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0007422/1.151, allocations: 0.5851 MB / 1.209 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0009095/1.152, allocations: 496.8 kB / 1.209 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.005097/1.157, allocations: 3.115 MB / 1.212 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/1.157, allocations: 3.938 kB / 1.212 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.573e-06/1.157, allocations: 0 / 1.212 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.747e-05/1.157, allocations: 0 / 1.212 GB, free: 10.05 MB / 0.7448 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.005556/1.162, allocations: 2.544 MB / 1.215 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/1.162, allocations: 8.031 kB / 1.215 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003003/1.163, allocations: 207 kB / 1.215 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004863/1.168, allocations: 0.8321 MB / 1.216 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003834/1.171, allocations: 1.718 MB / 1.217 GB, free: 4.621 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004077/1.172, allocations: 183 kB / 1.218 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002373/1.172, allocations: 155.9 kB / 1.218 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003544/1.176, allocations: 1.764 MB / 1.219 GB, free: 2.449 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.545e-05/1.176, allocations: 3.938 kB / 1.219 GB, free: 2.445 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000164/1.176, allocations: 64 kB / 1.219 GB, free: 2.383 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.679e-05/1.176, allocations: 54.69 kB / 1.22 GB, free: 2.328 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003552/1.18, allocations: 1.549 MB / 1.221 GB, free: 0.7734 MB / 0.7448 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.01183/1.191, allocations: 8.085 MB / 1.229 GB, free: 8.07 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003129/1.195, allocations: 2.034 MB / 1.231 GB, free: 5.836 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001148/1.196, allocations: 0.6362 MB / 1.232 GB, free: 5.09 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001292/1.197, allocations: 0.595 MB / 1.232 GB, free: 4.484 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009308/1.198, allocations: 135.1 kB / 1.232 GB, free: 4.352 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=88): time 5.48e-06/1.198, allocations: 0 / 1.232 GB, free: 4.352 MB / 0.7605 GB Notification: Performance of matching and sorting (n=88): time 0.004259/1.202, allocations: 1.723 MB / 1.234 GB, free: 2.598 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.661e-05/1.202, allocations: 141.5 kB / 1.234 GB, free: 2.43 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002314/1.205, allocations: 1.671 MB / 1.236 GB, free: 0.7148 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001061/1.205, allocations: 53.69 kB / 1.236 GB, free: 0.6562 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000866/1.206, allocations: 0.9714 MB / 1.237 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002746/1.206, allocations: 303.5 kB / 1.237 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-05/1.206, allocations: 35.92 kB / 1.237 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001409/1.206, allocations: 341.9 kB / 1.237 GB, free: 15 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/1.207, allocations: 486.3 kB / 1.238 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001338/1.209, allocations: 0.847 MB / 1.239 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/1.21, allocations: 0.5902 MB / 1.239 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/1.21, allocations: 8 kB / 1.239 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003154/1.213, allocations: 1.528 MB / 1.241 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.001473/1.214, allocations: 3.404 MB / 1.244 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-05/1.214, allocations: 8 kB / 1.244 GB, free: 7.711 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.478e-05/1.215, allocations: 19.98 kB / 1.244 GB, free: 7.691 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/1.216, allocations: 279.6 kB / 1.244 GB, free: 7.418 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.632e-05/1.216, allocations: 27.92 kB / 1.244 GB, free: 7.391 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/1.218, allocations: 170.5 kB / 1.245 GB, free: 7.227 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/1.218, allocations: 59.98 kB / 1.245 GB, free: 7.168 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/1.218, allocations: 7.953 kB / 1.245 GB, free: 7.16 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002809/1.221, allocations: 1.329 MB / 1.246 GB, free: 5.828 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.762e-05/1.221, allocations: 8 kB / 1.246 GB, free: 5.82 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/1.221, allocations: 16 kB / 1.246 GB, free: 5.805 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/1.222, allocations: 292 kB / 1.246 GB, free: 5.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.868e-05/1.222, allocations: 15.94 kB / 1.246 GB, free: 5.504 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001694/1.223, allocations: 164.4 kB / 1.246 GB, free: 5.344 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/1.224, allocations: 51.98 kB / 1.246 GB, free: 5.293 MB / 0.7761 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.001139/1.225, allocations: 0.567 MB / 1.247 GB, free: 4.715 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003873/1.225, allocations: 189.6 kB / 1.247 GB, free: 4.527 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003108/1.228, allocations: 1.264 MB / 1.248 GB, free: 3.25 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/1.228, allocations: 8 kB / 1.248 GB, free: 3.242 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/1.228, allocations: 4 kB / 1.248 GB, free: 3.238 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002447/1.231, allocations: 1.305 MB / 1.25 GB, free: 1.844 MB / 0.7761 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.00662/1.237, allocations: 3.22 MB / 1.253 GB, free: 14.48 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/1.237, allocations: 0 / 1.253 GB, free: 14.48 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/1.238, allocations: 207.8 kB / 1.253 GB, free: 14.28 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002624/1.239, allocations: 48.83 kB / 1.253 GB, free: 14.23 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.275e-05/1.239, allocations: 27.98 kB / 1.253 GB, free: 14.2 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001513/1.24, allocations: 1.436 MB / 1.254 GB, free: 12.63 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.184e-06/1.24, allocations: 8.062 kB / 1.254 GB, free: 12.62 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00419/1.245, allocations: 1.977 MB / 1.256 GB, free: 10.57 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/1.246, allocations: 358.6 kB / 1.257 GB, free: 10.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004316/1.246, allocations: 16 kB / 1.257 GB, free: 10.19 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001612/1.248, allocations: 171.7 kB / 1.257 GB, free: 10.02 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/1.248, allocations: 68.86 kB / 1.257 GB, free: 9.953 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-05/1.248, allocations: 31.98 kB / 1.257 GB, free: 9.922 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002242/1.25, allocations: 1.123 MB / 1.258 GB, free: 8.777 MB / 0.7917 GB Notification: Performance of sort global known variables: time 3.41e-07/1.25, allocations: 0 / 1.258 GB, free: 8.777 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.004295/1.255, allocations: 1.06 MB / 1.259 GB, free: 7.715 MB / 0.7917 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.006408/1.261, allocations: 3.326 MB / 1.262 GB, free: 4.449 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.004487/1.265, allocations: 1.987 MB / 1.264 GB, free: 2.426 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/1.266, allocations: 0 / 1.264 GB, free: 2.426 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001434/1.267, allocations: 0.6575 MB / 1.265 GB, free: 1.758 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004641/1.272, allocations: 0.8289 MB / 1.266 GB, free: 0.9297 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0161/1.288, allocations: 11.63 MB / 1.277 GB, free: 4.867 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001866/1.29, allocations: 1.577 MB / 1.279 GB, free: 3.258 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002532/1.292, allocations: 459.4 kB / 1.279 GB, free: 2.805 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001398/1.294, allocations: 0.8273 MB / 1.28 GB, free: 1.98 MB / 0.8073 GB Notification: Performance of SimCode: time 1.152e-06/1.294, allocations: 0 / 1.28 GB, free: 1.98 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1026/1.396, allocations: 49.61 MB / 1.328 GB, free: 0.9453 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002389/1.396, allocations: 294.8 kB / 1.329 GB, free: 0.5859 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.638/5.035, allocations: 3.516 kB / 1.329 GB, free: 0.5859 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_ElectricHeater_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_ElectricHeater.fmu > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe 2>&1)