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: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.714/2.714, allocations: 287.5 MB / 302.4 MB, free: 8.289 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.001455/0.001456, allocations: 186.3 kB / 371 MB, free: 10.85 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.234/2.234, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.001028/0.001028, allocations: 96.33 kB / 0.743 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005477/0.0005481, allocations: 11.84 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2439, allocations: 115.3 MB / 0.9784 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater): time 1.073/1.317, allocations: 221.2 MB / 1.194 GB, free: 7.004 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0434/1.361, allocations: 17.5 MB / 1.211 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004667/1.365, allocations: 75.38 kB / 1.212 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.005549/1.371, allocations: 0.9209 MB / 1.212 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.01282/1.384, allocations: 2.585 MB / 1.215 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.01422/1.398, allocations: 2.873 MB / 1.218 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01325/1.411, allocations: 5.83 MB / 1.223 GB, free: 1 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004919/1.416, allocations: 1.479 MB / 1.225 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009561/1.426, allocations: 2.334 MB / 1.227 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004967/1.431, allocations: 1.529 MB / 1.229 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.001004/1.432, allocations: 88 kB / 1.229 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009775/1.442, allocations: 2.222 MB / 1.231 GB, free: 9.309 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001985/1.444, allocations: 0.6423 MB / 1.232 GB, free: 8.664 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001789/1.446, allocations: 492.4 kB / 1.232 GB, free: 8.176 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.008843/1.455, allocations: 3.297 MB / 1.235 GB, free: 4.871 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.151e-05/1.455, allocations: 8 kB / 1.235 GB, free: 4.863 MB / 0.7605 GB Notification: Performance of FrontEnd: time 4.578e-06/1.455, allocations: 0 / 1.235 GB, free: 4.863 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001557/1.455, allocations: 0 / 1.235 GB, free: 4.863 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.009142/1.464, allocations: 2.594 MB / 1.238 GB, free: 2.203 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/1.464, allocations: 8.031 kB / 1.238 GB, free: 2.195 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008545/1.473, allocations: 0.8243 MB / 1.239 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006686/1.48, allocations: 1.687 MB / 1.24 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008188/1.48, allocations: 186.9 kB / 1.24 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007478/1.481, allocations: 159.9 kB / 1.241 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006746/1.488, allocations: 1.78 MB / 1.242 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.248e-05/1.488, allocations: 3.938 kB / 1.242 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002511/1.488, allocations: 64 kB / 1.242 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000101/1.489, allocations: 54.69 kB / 1.242 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007471/1.496, allocations: 1.564 MB / 1.244 GB, free: 11.75 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.02204/1.518, allocations: 8.027 MB / 1.252 GB, free: 3.125 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005768/1.524, allocations: 2.019 MB / 1.254 GB, free: 0.9062 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00242/1.526, allocations: 0.5543 MB / 1.254 GB, free: 356 kB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00243/1.529, allocations: 0.8145 MB / 1.255 GB, free: 15.38 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002672/1.532, allocations: 0.6024 MB / 1.256 GB, free: 14.77 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001494/1.533, allocations: 127.2 kB / 1.256 GB, free: 14.64 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=88): time 7.745e-06/1.533, allocations: 3.938 kB / 1.256 GB, free: 14.64 MB / 0.7917 GB Notification: Performance of matching and sorting (n=88): time 0.008304/1.542, allocations: 1.726 MB / 1.258 GB, free: 12.89 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/1.542, allocations: 137.5 kB / 1.258 GB, free: 12.72 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004433/1.546, allocations: 1.691 MB / 1.259 GB, free: 10.99 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0003319/1.547, allocations: 49.7 kB / 1.259 GB, free: 10.93 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.00151/1.548, allocations: 0.9714 MB / 1.26 GB, free: 9.953 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006391/1.549, allocations: 303.6 kB / 1.261 GB, free: 9.652 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/1.549, allocations: 20 kB / 1.261 GB, free: 9.633 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002349/1.549, allocations: 353.9 kB / 1.261 GB, free: 9.281 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002214/1.551, allocations: 486.3 kB / 1.261 GB, free: 8.805 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002838/1.554, allocations: 0.8634 MB / 1.262 GB, free: 7.785 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002563/1.557, allocations: 0.5941 MB / 1.263 GB, free: 7.184 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-05/1.557, allocations: 0 / 1.263 GB, free: 7.184 MB / 0.7917 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.006873/1.564, allocations: 1.536 MB / 1.264 GB, free: 5.633 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004403/1.564, allocations: 374.8 kB / 1.265 GB, free: 5.145 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.257e-05/1.565, allocations: 12 kB / 1.265 GB, free: 5.133 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.917e-05/1.565, allocations: 12 kB / 1.265 GB, free: 5.121 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002594/1.567, allocations: 287.6 kB / 1.265 GB, free: 4.84 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-05/1.567, allocations: 19.94 kB / 1.265 GB, free: 4.82 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003235/1.571, allocations: 168.4 kB / 1.265 GB, free: 4.656 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003289/1.571, allocations: 51.98 kB / 1.265 GB, free: 4.605 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/1.571, allocations: 8 kB / 1.265 GB, free: 4.598 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005582/1.577, allocations: 1.349 MB / 1.267 GB, free: 3.238 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.828e-05/1.577, allocations: 8 kB / 1.267 GB, free: 3.23 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.374e-05/1.577, allocations: 19.95 kB / 1.267 GB, free: 3.211 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002499/1.579, allocations: 287.9 kB / 1.267 GB, free: 2.93 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.103e-05/1.579, allocations: 15.94 kB / 1.267 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003235/1.583, allocations: 181.2 kB / 1.267 GB, free: 2.734 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003466/1.583, allocations: 47.98 kB / 1.267 GB, free: 2.688 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.001847/1.585, allocations: 0.5554 MB / 1.268 GB, free: 2.121 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007248/1.586, allocations: 189.7 kB / 1.268 GB, free: 1.934 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005478/1.591, allocations: 1.271 MB / 1.269 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.192e-05/1.591, allocations: 8 kB / 1.269 GB, free: 0.6445 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.301e-05/1.591, allocations: 4 kB / 1.269 GB, free: 0.6406 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004776/1.596, allocations: 1.32 MB / 1.27 GB, free: 15.23 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.01158/1.608, allocations: 3.166 MB / 1.273 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-05/1.608, allocations: 0 / 1.273 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002098/1.61, allocations: 203.8 kB / 1.274 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004085/1.61, allocations: 52.81 kB / 1.274 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001963/1.61, allocations: 23.98 kB / 1.274 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002199/1.613, allocations: 1.421 MB / 1.275 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/1.613, allocations: 0 / 1.275 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007797/1.621, allocations: 1.915 MB / 1.277 GB, free: 8.156 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001555/1.622, allocations: 358.6 kB / 1.277 GB, free: 7.785 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004849/1.623, allocations: 24 kB / 1.277 GB, free: 7.762 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00285/1.626, allocations: 163.7 kB / 1.277 GB, free: 7.602 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003348/1.626, allocations: 72.86 kB / 1.278 GB, free: 7.527 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001403/1.626, allocations: 27.98 kB / 1.278 GB, free: 7.5 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.003243/1.629, allocations: 1.138 MB / 1.279 GB, free: 6.34 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.81e-07/1.629, allocations: 3.938 kB / 1.279 GB, free: 6.336 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.005797/1.635, allocations: 1.052 MB / 1.28 GB, free: 5.281 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.002572/1.638, allocations: 0.6496 MB / 1.28 GB, free: 4.77 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.00788/1.646, allocations: 2 MB / 1.282 GB, free: 2.742 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.319e-05/1.646, allocations: 7.938 kB / 1.282 GB, free: 2.734 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.002741/1.649, allocations: 0.6568 MB / 1.283 GB, free: 2.062 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007648/1.656, allocations: 0.8365 MB / 1.284 GB, free: 1.23 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01551/1.672, allocations: 4.648 MB / 1.288 GB, free: 12.54 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002187/1.674, allocations: 1.535 MB / 1.29 GB, free: 10.96 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.00363/1.678, allocations: 459.5 kB / 1.29 GB, free: 10.51 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009221/1.679, allocations: 139.4 kB / 1.29 GB, free: 10.38 MB / 0.823 GB Notification: Performance of SimCode: time 1.392e-06/1.679, allocations: 0 / 1.29 GB, free: 10.38 MB / 0.823 GB Notification: Performance of Templates: time 0.1005/1.779, allocations: 32.79 MB / 1.322 GB, free: 9.938 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.makefile (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 & ./Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe 2>&1)