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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.622/1.622, allocations: 251.9 MB / 0.51 GB, free: 4.895 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005593/0.0005593, allocations: 12 kB / 0.6241 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6288/0.6293, allocations: 106.3 MB / 0.728 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater): time 0.8366/1.466, allocations: 199.3 MB / 0.9226 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03533/1.501, allocations: 17.72 MB / 0.94 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005354/1.507, allocations: 75.06 kB / 0.94 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005811/1.513, allocations: 1.241 MB / 0.9412 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01446/1.527, allocations: 3.396 MB / 0.9445 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01384/1.541, allocations: 3.107 MB / 0.9476 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.009921/1.551, allocations: 3.079 MB / 0.9506 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003507/1.554, allocations: 1.51 MB / 0.9521 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007067/1.562, allocations: 2.057 MB / 0.9541 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003654/1.565, allocations: 1.125 MB / 0.9552 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0006102/1.566, allocations: 84.84 kB / 0.9553 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007026/1.573, allocations: 1.832 MB / 0.957 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001379/1.574, allocations: 0.5978 MB / 0.9576 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001433/1.576, allocations: 495.8 kB / 0.9581 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006292/1.582, allocations: 3.11 MB / 0.9611 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/1.582, allocations: 2.844 kB / 0.9611 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.256e-06/1.582, allocations: 0 / 0.9611 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.861e-05/1.582, allocations: 3.938 kB / 0.9611 GB, free: 4.066 MB / 0.7169 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.006516/1.589, allocations: 2.537 MB / 0.9636 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/1.589, allocations: 8.938 kB / 0.9636 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005017/1.594, allocations: 0.8249 MB / 0.9644 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004434/1.598, allocations: 1.719 MB / 0.9661 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003956/1.599, allocations: 178.4 kB / 0.9663 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002739/1.599, allocations: 158.5 kB / 0.9664 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003608/1.603, allocations: 1.778 MB / 0.9682 GB, free: 17.85 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.673e-05/1.603, allocations: 8.344 kB / 0.9682 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/1.603, allocations: 59.16 kB / 0.9682 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-05/1.603, allocations: 51.11 kB / 0.9683 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003452/1.606, allocations: 1.557 MB / 0.9698 GB, free: 17.75 MB / 0.7325 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.01306/1.619, allocations: 8.1 MB / 0.9777 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002988/1.622, allocations: 2.014 MB / 0.9797 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001176/1.624, allocations: 0.6394 MB / 0.9803 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001261/1.625, allocations: 0.5955 MB / 0.9809 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00125/1.626, allocations: 125.9 kB / 0.981 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=88): time 4.338e-06/1.626, allocations: 0 / 0.981 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88): time 0.004514/1.631, allocations: 1.7 MB / 0.9827 GB, free: 9.812 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/1.631, allocations: 144.1 kB / 0.9828 GB, free: 9.648 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002705/1.634, allocations: 1.685 MB / 0.9845 GB, free: 9.145 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001872/1.634, allocations: 51.28 kB / 0.9845 GB, free: 9.109 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009764/1.635, allocations: 0.9694 MB / 0.9854 GB, free: 8.688 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003171/1.635, allocations: 308.2 kB / 0.9857 GB, free: 8.469 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-05/1.635, allocations: 23.53 kB / 0.9858 GB, free: 8.469 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001618/1.635, allocations: 349.8 kB / 0.9861 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001092/1.636, allocations: 482.8 kB / 0.9866 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001381/1.638, allocations: 0.8443 MB / 0.9874 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/1.639, allocations: 0.5936 MB / 0.988 GB, free: 7.434 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/1.639, allocations: 2.844 kB / 0.988 GB, free: 7.434 MB / 0.7325 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.00334/1.642, allocations: 1.519 MB / 0.9894 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.001451/1.644, allocations: 3.416 MB / 0.9928 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.741e-05/1.644, allocations: 9.062 kB / 0.9928 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.368e-05/1.644, allocations: 14.28 kB / 0.9928 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/1.645, allocations: 283.3 kB / 0.9931 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.727e-05/1.645, allocations: 24.42 kB / 0.9931 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002141/1.647, allocations: 171.7 kB / 0.9933 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/1.647, allocations: 55.05 kB / 0.9933 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/1.647, allocations: 7.094 kB / 0.9933 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002764/1.65, allocations: 1.335 MB / 0.9946 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/1.65, allocations: 11.78 kB / 0.9946 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/1.65, allocations: 17.03 kB / 0.9947 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/1.651, allocations: 289 kB / 0.9949 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.171e-05/1.651, allocations: 13.78 kB / 0.9949 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002132/1.654, allocations: 180.7 kB / 0.9951 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/1.654, allocations: 51.55 kB / 0.9952 GB, free: 3.039 MB / 0.7325 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.00135/1.655, allocations: 0.564 MB / 0.9957 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004129/1.655, allocations: 190.4 kB / 0.9959 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002864/1.658, allocations: 1.255 MB / 0.9971 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/1.658, allocations: 8.312 kB / 0.9971 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/1.658, allocations: 3.953 kB / 0.9971 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002314/1.661, allocations: 1.303 MB / 0.9984 GB, free: 1.797 MB / 0.7325 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.006192/1.667, allocations: 3.203 MB / 1.002 GB, free: 476 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/1.667, allocations: 7.172 kB / 1.002 GB, free: 472 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009682/1.668, allocations: 201.8 kB / 1.002 GB, free: 436 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002676/1.668, allocations: 50.16 kB / 1.002 GB, free: 416 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.077e-05/1.668, allocations: 28.44 kB / 1.002 GB, free: 408 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001408/1.67, allocations: 1.438 MB / 1.003 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/1.67, allocations: 3.125 kB / 1.003 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004045/1.674, allocations: 1.963 MB / 1.005 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/1.675, allocations: 370.4 kB / 1.005 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002204/1.675, allocations: 22.78 kB / 1.006 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/1.676, allocations: 177.1 kB / 1.006 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001788/1.677, allocations: 65.47 kB / 1.006 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.044e-05/1.677, allocations: 32.7 kB / 1.006 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001833/1.679, allocations: 1.125 MB / 1.007 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4e-07/1.679, allocations: 0 / 1.007 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003456/1.682, allocations: 1.044 MB / 1.008 GB, free: 13.62 MB / 0.7481 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.001811/1.684, allocations: 0.6424 MB / 1.009 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.004194/1.688, allocations: 1.991 MB / 1.01 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/1.688, allocations: 0 / 1.01 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001425/1.69, allocations: 0.6564 MB / 1.011 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004263/1.694, allocations: 0.8257 MB / 1.012 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009306/1.703, allocations: 4.643 MB / 1.016 GB, free: 7.57 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001241/1.704, allocations: 1.584 MB / 1.018 GB, free: 6.016 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002448/1.707, allocations: 467.4 kB / 1.018 GB, free: 5.555 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00043/1.707, allocations: 142.3 kB / 1.019 GB, free: 5.418 MB / 0.7481 GB Notification: Performance of SimCode: time 1.082e-06/1.707, allocations: 0 / 1.019 GB, free: 5.418 MB / 0.7481 GB Notification: Performance of Templates: time 0.05987/1.767, allocations: 32.54 MB / 1.05 GB, free: 5.488 MB / 0.7794 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.makefile Environment - environmentSimulation: (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 & ./Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe 2>&1) Environment - environmentSimulation: