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.761/2.761, allocations: 287.3 MB / 302.3 MB, free: 8.262 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.001497/0.001497, allocations: 186.2 kB / 370.8 MB, free: 10.87 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.012/2.012, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001122/0.001122, allocations: 95.48 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004923/0.0004924, allocations: 14.44 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2136, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater): time 0.9711/1.185, allocations: 199.1 MB / 1.173 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0404/1.225, allocations: 17.61 MB / 1.19 GB, free: 9.672 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004117/1.229, allocations: 76.59 kB / 1.19 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.006383/1.236, allocations: 1.238 MB / 1.191 GB, free: 8.637 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0153/1.251, allocations: 3.384 MB / 1.194 GB, free: 5.922 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.01749/1.269, allocations: 3.063 MB / 1.197 GB, free: 3.871 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.008435/1.277, allocations: 3.048 MB / 1.2 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003532/1.281, allocations: 1.502 MB / 1.202 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007608/1.288, allocations: 2.063 MB / 1.204 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003192/1.292, allocations: 1.09 MB / 1.205 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0006885/1.292, allocations: 89.39 kB / 1.205 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007392/1.3, allocations: 1.888 MB / 1.207 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001553/1.301, allocations: 0.5894 MB / 1.207 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001237/1.303, allocations: 490.5 kB / 1.208 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.007385/1.31, allocations: 3.12 MB / 1.211 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/1.31, allocations: 0 / 1.211 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.088e-06/1.31, allocations: 4 kB / 1.211 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001079/1.31, allocations: 3.938 kB / 1.211 GB, free: 11.18 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.007979/1.318, allocations: 2.543 MB / 1.213 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/1.318, allocations: 12.03 kB / 1.213 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007158/1.319, allocations: 210.9 kB / 1.214 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008115/1.327, allocations: 0.8282 MB / 1.215 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005838/1.333, allocations: 1.714 MB / 1.216 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007483/1.334, allocations: 179 kB / 1.216 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004882/1.334, allocations: 155.9 kB / 1.216 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006084/1.34, allocations: 1.772 MB / 1.218 GB, free: 3.578 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-05/1.341, allocations: 3.938 kB / 1.218 GB, free: 3.574 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002432/1.341, allocations: 67.97 kB / 1.218 GB, free: 3.508 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.315e-05/1.341, allocations: 50.7 kB / 1.218 GB, free: 3.457 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006623/1.348, allocations: 1.552 MB / 1.22 GB, free: 1.898 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.01961/1.367, allocations: 8.089 MB / 1.228 GB, free: 9.191 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005838/1.373, allocations: 2.026 MB / 1.23 GB, free: 6.969 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001977/1.375, allocations: 0.644 MB / 1.23 GB, free: 6.215 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0024/1.378, allocations: 0.5868 MB / 1.231 GB, free: 5.613 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001272/1.379, allocations: 131.1 kB / 1.231 GB, free: 5.484 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=88): time 4.278e-06/1.379, allocations: 4 kB / 1.231 GB, free: 5.48 MB / 0.7605 GB Notification: Performance of matching and sorting (n=88): time 0.00763/1.387, allocations: 1.719 MB / 1.233 GB, free: 3.734 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/1.387, allocations: 141.5 kB / 1.233 GB, free: 3.566 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003643/1.39, allocations: 1.671 MB / 1.235 GB, free: 1.852 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002957/1.391, allocations: 49.7 kB / 1.235 GB, free: 1.797 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.00127/1.392, allocations: 0.9676 MB / 1.236 GB, free: 0.8203 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005319/1.393, allocations: 315.5 kB / 1.236 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/1.393, allocations: 20 kB / 1.236 GB, free: 500 kB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000189/1.393, allocations: 349.9 kB / 1.236 GB, free: 144 kB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002027/1.395, allocations: 490.3 kB / 1.237 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002452/1.397, allocations: 0.8391 MB / 1.237 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002274/1.4, allocations: 0.5941 MB / 1.238 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/1.4, allocations: 0 / 1.238 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.005699/1.405, allocations: 1.535 MB / 1.24 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.001559/1.407, allocations: 3.407 MB / 1.243 GB, free: 8.855 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.645e-05/1.407, allocations: 8 kB / 1.243 GB, free: 8.848 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.241e-05/1.407, allocations: 16 kB / 1.243 GB, free: 8.832 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002499/1.41, allocations: 287.6 kB / 1.243 GB, free: 8.551 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.421e-05/1.41, allocations: 15.94 kB / 1.243 GB, free: 8.535 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003028/1.413, allocations: 176.3 kB / 1.243 GB, free: 8.363 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000204/1.413, allocations: 55.97 kB / 1.243 GB, free: 8.309 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/1.413, allocations: 7.938 kB / 1.243 GB, free: 8.301 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005032/1.418, allocations: 1.333 MB / 1.245 GB, free: 6.961 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.745e-05/1.418, allocations: 8.406 kB / 1.245 GB, free: 6.953 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.759e-05/1.418, allocations: 20 kB / 1.245 GB, free: 6.934 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002306/1.421, allocations: 283.6 kB / 1.245 GB, free: 6.656 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.891e-05/1.421, allocations: 15.94 kB / 1.245 GB, free: 6.641 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002893/1.423, allocations: 183 kB / 1.245 GB, free: 6.461 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002227/1.424, allocations: 51.98 kB / 1.245 GB, free: 6.41 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.001595/1.425, allocations: 0.5591 MB / 1.246 GB, free: 5.84 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000634/1.426, allocations: 193.6 kB / 1.246 GB, free: 5.648 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005452/1.431, allocations: 1.256 MB / 1.247 GB, free: 4.379 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.782e-05/1.432, allocations: 8 kB / 1.247 GB, free: 4.371 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/1.432, allocations: 0 / 1.247 GB, free: 4.371 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004522/1.436, allocations: 1.316 MB / 1.248 GB, free: 2.969 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.01057/1.447, allocations: 3.216 MB / 1.252 GB, free: 15.61 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/1.447, allocations: 128 / 1.252 GB, free: 15.61 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001967/1.449, allocations: 211.7 kB / 1.252 GB, free: 15.4 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00033/1.449, allocations: 48.77 kB / 1.252 GB, free: 15.35 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001142/1.449, allocations: 23.98 kB / 1.252 GB, free: 15.32 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001988/1.451, allocations: 1.448 MB / 1.253 GB, free: 13.74 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/1.451, allocations: 0 / 1.253 GB, free: 13.74 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007045/1.458, allocations: 1.974 MB / 1.255 GB, free: 11.7 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/1.46, allocations: 354.6 kB / 1.256 GB, free: 11.33 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003398/1.46, allocations: 27.98 kB / 1.256 GB, free: 11.3 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002345/1.462, allocations: 163.7 kB / 1.256 GB, free: 11.14 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000254/1.463, allocations: 68.86 kB / 1.256 GB, free: 11.08 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001257/1.463, allocations: 35.92 kB / 1.256 GB, free: 11.04 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002723/1.466, allocations: 1.119 MB / 1.257 GB, free: 9.902 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7.71e-07/1.466, allocations: 7.938 kB / 1.257 GB, free: 9.895 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.004927/1.47, allocations: 1.048 MB / 1.258 GB, free: 8.844 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.009688/1.48, allocations: 3.325 MB / 1.261 GB, free: 5.609 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.00729/1.488, allocations: 1.991 MB / 1.263 GB, free: 3.582 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.909e-05/1.488, allocations: 5.438 kB / 1.263 GB, free: 3.578 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.002462/1.49, allocations: 0.6527 MB / 1.264 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006814/1.497, allocations: 0.8302 MB / 1.265 GB, free: 2.09 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02103/1.518, allocations: 11.63 MB / 1.276 GB, free: 6.031 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001977/1.52, allocations: 1.581 MB / 1.278 GB, free: 4.418 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.003667/1.524, allocations: 467.4 kB / 1.278 GB, free: 3.957 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002297/1.526, allocations: 0.8234 MB / 1.279 GB, free: 3.137 MB / 0.8073 GB Notification: Performance of SimCode: time 1.843e-06/1.526, allocations: 0 / 1.279 GB, free: 3.137 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1638/1.69, allocations: 49.59 MB / 1.327 GB, free: 2.109 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003904/1.69, allocations: 284 kB / 1.327 GB, free: 1.75 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.479/6.17, allocations: 0 / 1.327 GB, free: 1.75 MB / 0.8542 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)