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.678/1.678, allocations: 288.4 MB / 303.3 MB, free: 8.164 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.001087/0.001087, allocations: 179 kB / 372 MB, free: 10.27 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.955/1.955, allocations: 205.4 MB / 0.6307 GB, free: 9.898 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.0008085/0.0008084, allocations: 100.6 kB / 0.744 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004247/0.0004247, allocations: 14.91 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2623, allocations: 115.3 MB / 0.9797 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater): time 0.92/1.182, allocations: 221.2 MB / 1.196 GB, free: 5.914 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.03119/1.214, allocations: 17.5 MB / 1.213 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005221/1.219, allocations: 75.44 kB / 1.213 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.004653/1.224, allocations: 0.9232 MB / 1.214 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0109/1.234, allocations: 2.57 MB / 1.216 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.01009/1.245, allocations: 2.876 MB / 1.219 GB, free: 3.434 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01018/1.255, allocations: 5.825 MB / 1.225 GB, free: 15.72 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003517/1.258, allocations: 1.489 MB / 1.226 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007596/1.266, allocations: 2.322 MB / 1.228 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004004/1.27, allocations: 1.537 MB / 1.23 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0006728/1.271, allocations: 84 kB / 1.23 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007294/1.278, allocations: 2.23 MB / 1.232 GB, free: 8.02 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001551/1.28, allocations: 0.6423 MB / 1.233 GB, free: 7.375 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001395/1.281, allocations: 488.5 kB / 1.233 GB, free: 6.891 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.007166/1.288, allocations: 3.293 MB / 1.237 GB, free: 3.59 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/1.288, allocations: 0 / 1.237 GB, free: 3.59 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.645e-06/1.288, allocations: 0 / 1.237 GB, free: 3.59 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001041/1.288, allocations: 0 / 1.237 GB, free: 3.59 MB / 0.7605 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.006798/1.295, allocations: 2.602 MB / 1.239 GB, free: 0.9219 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.969e-05/1.295, allocations: 8.031 kB / 1.239 GB, free: 0.9141 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005702/1.296, allocations: 214.9 kB / 1.239 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005302/1.301, allocations: 0.8245 MB / 1.24 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004155/1.305, allocations: 1.683 MB / 1.242 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004092/1.306, allocations: 187 kB / 1.242 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003137/1.306, allocations: 155.7 kB / 1.242 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00386/1.31, allocations: 1.791 MB / 1.244 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.567e-05/1.31, allocations: 7.938 kB / 1.244 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001521/1.31, allocations: 56 kB / 1.244 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.805e-05/1.31, allocations: 50.7 kB / 1.244 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003744/1.314, allocations: 1.564 MB / 1.245 GB, free: 10.25 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 preOpt removeSimpleEquations (simulation): time 0.01367/1.328, allocations: 8.016 MB / 1.253 GB, free: 1.641 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003336/1.331, allocations: 2.026 MB / 1.255 GB, free: 15.41 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001237/1.332, allocations: 0.5504 MB / 1.256 GB, free: 14.86 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001471/1.334, allocations: 0.815 MB / 1.257 GB, free: 13.89 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001403/1.335, allocations: 0.6025 MB / 1.257 GB, free: 13.28 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001234/1.336, allocations: 135.1 kB / 1.257 GB, free: 13.15 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=88): time 6.121e-06/1.336, allocations: 7.922 kB / 1.257 GB, free: 13.14 MB / 0.7917 GB Notification: Performance of matching and sorting (n=88): time 0.005194/1.342, allocations: 1.726 MB / 1.259 GB, free: 11.39 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/1.342, allocations: 145.5 kB / 1.259 GB, free: 11.21 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002715/1.345, allocations: 1.687 MB / 1.261 GB, free: 9.48 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001859/1.345, allocations: 45.7 kB / 1.261 GB, free: 9.43 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009637/1.346, allocations: 0.9675 MB / 1.262 GB, free: 8.453 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003428/1.346, allocations: 303.6 kB / 1.262 GB, free: 8.152 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.371e-05/1.346, allocations: 31.94 kB / 1.262 GB, free: 8.121 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001738/1.346, allocations: 345.9 kB / 1.262 GB, free: 7.777 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001147/1.347, allocations: 490.3 kB / 1.263 GB, free: 7.297 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001465/1.349, allocations: 0.8556 MB / 1.264 GB, free: 6.285 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/1.35, allocations: 0.598 MB / 1.264 GB, free: 5.684 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/1.35, allocations: 4 kB / 1.264 GB, free: 5.68 MB / 0.7917 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003377/1.354, allocations: 1.536 MB / 1.266 GB, free: 4.129 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003063/1.354, allocations: 371 kB / 1.266 GB, free: 3.641 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-05/1.354, allocations: 8 kB / 1.266 GB, free: 3.633 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.064e-05/1.354, allocations: 16 kB / 1.266 GB, free: 3.617 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/1.355, allocations: 291.6 kB / 1.266 GB, free: 3.332 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.608e-05/1.355, allocations: 19.92 kB / 1.267 GB, free: 3.312 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002065/1.357, allocations: 172.4 kB / 1.267 GB, free: 3.141 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/1.357, allocations: 51.98 kB / 1.267 GB, free: 3.09 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/1.357, allocations: 5.406 kB / 1.267 GB, free: 3.086 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002818/1.36, allocations: 1.345 MB / 1.268 GB, free: 1.734 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/1.36, allocations: 8 kB / 1.268 GB, free: 1.727 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/1.36, allocations: 19.95 kB / 1.268 GB, free: 1.707 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/1.362, allocations: 280 kB / 1.268 GB, free: 1.434 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.993e-05/1.362, allocations: 23.92 kB / 1.268 GB, free: 1.41 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001938/1.364, allocations: 169.2 kB / 1.269 GB, free: 1.246 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/1.364, allocations: 51.98 kB / 1.269 GB, free: 1.195 MB / 0.7917 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,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.001168/1.365, allocations: 0.5632 MB / 1.269 GB, free: 0.6211 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003695/1.365, allocations: 189.6 kB / 1.269 GB, free: 444 kB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00297/1.368, allocations: 1.264 MB / 1.271 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/1.368, allocations: 8 kB / 1.271 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/1.368, allocations: 0 / 1.271 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002501/1.371, allocations: 1.316 MB / 1.272 GB, free: 13.74 MB / 0.8073 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.006596/1.377, allocations: 3.162 MB / 1.275 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/1.377, allocations: 4 kB / 1.275 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/1.378, allocations: 211.8 kB / 1.275 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002414/1.379, allocations: 40.83 kB / 1.275 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.058e-05/1.379, allocations: 27.98 kB / 1.275 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001466/1.38, allocations: 1.425 MB / 1.277 GB, free: 8.617 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/1.38, allocations: 0 / 1.277 GB, free: 8.617 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004214/1.384, allocations: 1.923 MB / 1.278 GB, free: 6.66 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/1.386, allocations: 358.6 kB / 1.279 GB, free: 6.289 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002084/1.386, allocations: 24 kB / 1.279 GB, free: 6.266 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/1.387, allocations: 168.8 kB / 1.279 GB, free: 6.102 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/1.387, allocations: 68.86 kB / 1.279 GB, free: 6.031 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-05/1.388, allocations: 35.98 kB / 1.279 GB, free: 5.996 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.002057/1.39, allocations: 1.13 MB / 1.28 GB, free: 4.844 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.21e-07/1.39, allocations: 0 / 1.28 GB, free: 4.844 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.003456/1.393, allocations: 1.056 MB / 1.281 GB, free: 3.785 MB / 0.8073 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.005938/1.399, allocations: 3.02 MB / 1.284 GB, free: 0.8516 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.004491/1.404, allocations: 2.002 MB / 1.286 GB, free: 14.82 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/1.404, allocations: 0 / 1.286 GB, free: 14.82 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001557/1.405, allocations: 0.6542 MB / 1.287 GB, free: 14.15 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004543/1.41, allocations: 0.8432 MB / 1.288 GB, free: 13.31 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02889/1.439, allocations: 12.56 MB / 1.3 GB, free: 15.85 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001335/1.44, allocations: 1.535 MB / 1.301 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.002648/1.443, allocations: 463.5 kB / 1.302 GB, free: 13.83 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001248/1.444, allocations: 0.8234 MB / 1.303 GB, free: 13 MB / 0.8386 GB Notification: Performance of SimCode: time 1.152e-06/1.444, allocations: 0 / 1.303 GB, free: 13 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09642/1.54, allocations: 50.84 MB / 1.352 GB, free: 10.74 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002771/1.541, allocations: 300.9 kB / 1.353 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.155/5.696, allocations: 4 kB / 1.353 GB, free: 10.38 MB / 0.8855 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)