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.317/1.317, allocations: 251.9 MB / 266.9 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001042/0.001042, allocations: 186.8 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.563/1.563, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0008938/0.0008941, allocations: 98.17 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003265/0.0003266, allocations: 10.44 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1979, allocations: 106.3 MB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater): time 0.6424/0.8404, allocations: 199.3 MB / 1.095 GB, free: 3.258 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02508/0.8656, allocations: 17.72 MB / 1.112 GB, free: 2.98 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003729/0.8693, allocations: 73.28 kB / 1.112 GB, free: 2.98 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004633/0.874, allocations: 1.234 MB / 1.113 GB, free: 2.977 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01103/0.885, allocations: 3.398 MB / 1.117 GB, free: 2.93 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.009541/0.8946, allocations: 3.106 MB / 1.12 GB, free: 2.875 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00652/0.9011, allocations: 3.083 MB / 1.123 GB, free: 2.859 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003128/0.9043, allocations: 1.511 MB / 1.124 GB, free: 2.672 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005359/0.9097, allocations: 2.062 MB / 1.126 GB, free: 2.664 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00269/0.9124, allocations: 1.123 MB / 1.127 GB, free: 2.66 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0007971/0.9132, allocations: 88.97 kB / 1.127 GB, free: 2.656 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005323/0.9185, allocations: 1.83 MB / 1.129 GB, free: 2.656 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001256/0.9198, allocations: 0.597 MB / 1.13 GB, free: 2.656 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001454/0.9213, allocations: 497.7 kB / 1.13 GB, free: 18.62 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.005189/0.9265, allocations: 3.111 MB / 1.133 GB, free: 17.59 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.9265, allocations: 0 / 1.133 GB, free: 17.59 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.224e-06/0.9265, allocations: 0 / 1.133 GB, free: 17.59 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000146/0.9267, allocations: 0 / 1.133 GB, free: 17.59 MB / 0.7136 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.006528/0.9332, allocations: 2.538 MB / 1.136 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.047e-05/0.9333, allocations: 9.719 kB / 1.136 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007176/0.934, allocations: 209.2 kB / 1.136 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005805/0.9398, allocations: 0.8258 MB / 1.137 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004859/0.9447, allocations: 1.714 MB / 1.138 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004509/0.9452, allocations: 191.5 kB / 1.139 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004568/0.9456, allocations: 150.5 kB / 1.139 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004328/0.95, allocations: 1.769 MB / 1.141 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.406e-05/0.9501, allocations: 0 / 1.141 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002353/0.9503, allocations: 63.86 kB / 1.141 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.094e-05/0.9504, allocations: 59.67 kB / 1.141 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003727/0.9541, allocations: 1.555 MB / 1.142 GB, free: 13.89 MB / 0.7136 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.01275/0.9669, allocations: 8.102 MB / 1.15 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003064/0.97, allocations: 2.006 MB / 1.152 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0012/0.9712, allocations: 0.6422 MB / 1.153 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00133/0.9725, allocations: 0.5967 MB / 1.153 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001041/0.9736, allocations: 130.8 kB / 1.153 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=88): time 6.913e-06/0.9736, allocations: 0 / 1.153 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of matching and sorting (n=88): time 0.004315/0.9779, allocations: 1.715 MB / 1.155 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.481e-05/0.978, allocations: 141.2 kB / 1.155 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00293/0.981, allocations: 1.68 MB / 1.157 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001388/0.9811, allocations: 53.28 kB / 1.157 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008776/0.982, allocations: 0.964 MB / 1.158 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003036/0.9823, allocations: 311.9 kB / 1.158 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.753e-05/0.9824, allocations: 24.41 kB / 1.158 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.9826, allocations: 347.3 kB / 1.158 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/0.9837, allocations: 482.9 kB / 1.159 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001344/0.985, allocations: 0.848 MB / 1.16 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/0.9863, allocations: 0.5827 MB / 1.16 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.387e-06/0.9863, allocations: 6.906 kB / 1.16 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003203/0.9895, allocations: 1.522 MB / 1.162 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001288/0.9908, allocations: 3.405 MB / 1.165 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.307e-05/0.9909, allocations: 9.062 kB / 1.165 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.144e-05/0.9909, allocations: 18.31 kB / 1.165 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/0.9921, allocations: 290.1 kB / 1.165 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.134e-05/0.9922, allocations: 18.48 kB / 1.165 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/0.9941, allocations: 173.1 kB / 1.166 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/0.9942, allocations: 53.55 kB / 1.166 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.9942, allocations: 3.094 kB / 1.166 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002798/0.997, allocations: 1.335 MB / 1.167 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-05/0.9971, allocations: 10.14 kB / 1.167 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.743e-05/0.9971, allocations: 20.3 kB / 1.167 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.9983, allocations: 285.4 kB / 1.167 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.456e-05/0.9983, allocations: 14.25 kB / 1.167 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001887/1, allocations: 176 kB / 1.167 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/1, allocations: 53.06 kB / 1.168 GB, free: 15.16 MB / 0.7292 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.001153/1.001, allocations: 0.5668 MB / 1.168 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004803/1.002, allocations: 191.4 kB / 1.168 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003048/1.005, allocations: 1.254 MB / 1.169 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/1.005, allocations: 8.969 kB / 1.17 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/1.005, allocations: 0 / 1.17 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002259/1.007, allocations: 1.309 MB / 1.171 GB, free: 13.91 MB / 0.7292 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.006804/1.014, allocations: 3.197 MB / 1.174 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/1.014, allocations: 8 kB / 1.174 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/1.015, allocations: 207.1 kB / 1.174 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002685/1.016, allocations: 46.33 kB / 1.174 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.71e-05/1.016, allocations: 31.59 kB / 1.174 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001334/1.017, allocations: 1.439 MB / 1.176 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/1.017, allocations: 10.67 kB / 1.176 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00393/1.021, allocations: 1.965 MB / 1.178 GB, free: 9.082 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/1.022, allocations: 366.8 kB / 1.178 GB, free: 8.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004611/1.022, allocations: 20.88 kB / 1.178 GB, free: 8.762 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001643/1.024, allocations: 175.1 kB / 1.178 GB, free: 8.605 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/1.024, allocations: 66.61 kB / 1.178 GB, free: 8.547 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-05/1.024, allocations: 34.36 kB / 1.178 GB, free: 8.52 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002113/1.026, allocations: 1.128 MB / 1.179 GB, free: 7.676 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.91e-07/1.026, allocations: 0 / 1.179 GB, free: 7.676 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004051/1.031, allocations: 1.043 MB / 1.18 GB, free: 6.691 MB / 0.7292 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.006221/1.037, allocations: 3.312 MB / 1.184 GB, free: 4 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004226/1.041, allocations: 1.984 MB / 1.185 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/1.041, allocations: 3.938 kB / 1.185 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001374/1.042, allocations: 0.6558 MB / 1.186 GB, free: 2 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004147/1.047, allocations: 0.8257 MB / 1.187 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01481/1.061, allocations: 11.65 MB / 1.198 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001649/1.063, allocations: 1.583 MB / 1.2 GB, free: 4.273 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002606/1.066, allocations: 463.4 kB / 1.2 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00133/1.067, allocations: 0.8279 MB / 1.201 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of SimCode: time 2.895e-06/1.067, allocations: 4 kB / 1.201 GB, free: 3.617 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09659/1.164, allocations: 49.53 MB / 1.249 GB, free: 2.73 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002403/1.164, allocations: 294 kB / 1.25 GB, free: 2.371 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.491/4.655, allocations: 0 / 1.25 GB, free: 2.371 MB / 0.7917 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)