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.001167/0.001167, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009045/0.009045, allocations: 171.3 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 205.4 MB / 222.5 MB, free: 5.793 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.529/1.529, allocations: 252 MB / 0.5105 GB, free: 4.602 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.0005123/0.0005123, allocations: 16 kB / 0.6249 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4996/0.5001, allocations: 106.3 MB / 0.7287 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater): time 0.746/1.246, allocations: 237.4 MB / 0.9606 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03411/1.28, allocations: 19.04 MB / 0.9792 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004315/1.285, allocations: 83.38 kB / 0.9793 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004707/1.289, allocations: 1.217 MB / 0.9805 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0108/1.3, allocations: 3.315 MB / 0.9837 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01048/1.311, allocations: 3.333 MB / 0.987 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.009772/1.32, allocations: 6.896 MB / 0.9937 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00312/1.324, allocations: 1.7 MB / 0.9954 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00655/1.33, allocations: 2.563 MB / 0.9979 GB, free: 460 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004151/1.334, allocations: 1.625 MB / 0.9994 GB, free: 448 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004083/1.335, allocations: 81.03 kB / 0.9995 GB, free: 448 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008817/1.344, allocations: 3.865 MB / 1.003 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001125/1.345, allocations: 0.6552 MB / 1.004 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002365/1.347, allocations: 1.143 MB / 1.005 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.008788/1.356, allocations: 4.672 MB / 1.01 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/1.356, allocations: 3.938 kB / 1.01 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.923e-06/1.356, allocations: 0 / 1.01 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.17e-05/1.356, allocations: 0 / 1.01 GB, free: 11.12 MB / 0.7325 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.0066/1.363, allocations: 2.56 MB / 1.012 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.797e-05/1.363, allocations: 10.41 kB / 1.012 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005157/1.368, allocations: 0.8155 MB / 1.013 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003672/1.372, allocations: 1.788 MB / 1.015 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004181/1.372, allocations: 181.8 kB / 1.015 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000272/1.372, allocations: 147.5 kB / 1.015 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004017/1.376, allocations: 1.798 MB / 1.017 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.762e-05/1.376, allocations: 0 / 1.017 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001592/1.377, allocations: 58.59 kB / 1.017 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-05/1.377, allocations: 53.08 kB / 1.017 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003589/1.38, allocations: 1.576 MB / 1.018 GB, free: 5.625 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.01193/1.392, allocations: 7.941 MB / 1.026 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003101/1.395, allocations: 2.013 MB / 1.028 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001166/1.397, allocations: 0.5504 MB / 1.029 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001362/1.398, allocations: 0.8132 MB / 1.029 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001338/1.399, allocations: 0.6054 MB / 1.03 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001112/1.4, allocations: 135.1 kB / 1.03 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=88): time 4.398e-06/1.4, allocations: 0 / 1.03 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of matching and sorting (n=88): time 0.00432/1.405, allocations: 1.702 MB / 1.032 GB, free: 8.348 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.277e-05/1.405, allocations: 111.8 kB / 1.032 GB, free: 8.215 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002416/1.407, allocations: 1.667 MB / 1.034 GB, free: 6.504 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001044/1.407, allocations: 45.7 kB / 1.034 GB, free: 6.453 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000961/1.408, allocations: 0.9867 MB / 1.035 GB, free: 5.461 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002927/1.409, allocations: 309.3 kB / 1.035 GB, free: 5.164 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/1.409, allocations: 105.7 kB / 1.035 GB, free: 5.055 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001533/1.409, allocations: 357.9 kB / 1.035 GB, free: 4.699 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/1.41, allocations: 494.3 kB / 1.036 GB, free: 4.215 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001455/1.412, allocations: 0.877 MB / 1.037 GB, free: 3.184 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002633/1.414, allocations: 1.326 MB / 1.038 GB, free: 1.758 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.188e-06/1.414, allocations: 8 kB / 1.038 GB, free: 1.75 MB / 0.7481 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003398/1.418, allocations: 1.557 MB / 1.039 GB, free: 240 kB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.000481/1.418, allocations: 387.4 kB / 1.04 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-05/1.418, allocations: 8 kB / 1.04 GB, free: 15.72 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.272e-05/1.418, allocations: 20 kB / 1.04 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/1.42, allocations: 289.4 kB / 1.04 GB, free: 15.43 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.418e-05/1.42, allocations: 18.91 kB / 1.04 GB, free: 15.42 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/1.421, allocations: 172.3 kB / 1.04 GB, free: 15.25 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/1.422, allocations: 51.98 kB / 1.04 GB, free: 15.2 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 7.144e-06/1.422, allocations: 7.938 kB / 1.04 GB, free: 15.19 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002772/1.424, allocations: 1.346 MB / 1.042 GB, free: 13.89 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/1.424, allocations: 8 kB / 1.042 GB, free: 13.89 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/1.424, allocations: 16.91 kB / 1.042 GB, free: 13.87 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/1.425, allocations: 288.4 kB / 1.042 GB, free: 13.61 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.101e-05/1.426, allocations: 17.06 kB / 1.042 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/1.427, allocations: 176.4 kB / 1.042 GB, free: 13.42 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.376e-05/1.427, allocations: 51.98 kB / 1.042 GB, free: 13.37 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 7 (uHea.y,TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 136 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001173/1.428, allocations: 0.5662 MB / 1.043 GB, free: 12.81 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002481/1.429, allocations: 189.6 kB / 1.043 GB, free: 12.62 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002893/1.432, allocations: 1.249 MB / 1.044 GB, free: 11.36 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/1.432, allocations: 8 kB / 1.044 GB, free: 11.36 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/1.432, allocations: 0 / 1.044 GB, free: 11.36 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002385/1.434, allocations: 1.315 MB / 1.045 GB, free: 9.957 MB / 0.7637 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.005716/1.44, allocations: 3.104 MB / 1.048 GB, free: 6.762 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/1.44, allocations: 0 / 1.048 GB, free: 6.762 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009875/1.441, allocations: 202.2 kB / 1.049 GB, free: 6.574 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002455/1.441, allocations: 48.81 kB / 1.049 GB, free: 6.523 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.872e-05/1.441, allocations: 27.98 kB / 1.049 GB, free: 6.496 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001518/1.443, allocations: 1.413 MB / 1.05 GB, free: 4.953 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/1.443, allocations: 12.03 kB / 1.05 GB, free: 4.941 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004108/1.447, allocations: 1.896 MB / 1.052 GB, free: 3.016 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008319/1.448, allocations: 350.6 kB / 1.052 GB, free: 2.652 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000189/1.448, allocations: 23.94 kB / 1.052 GB, free: 2.629 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/1.449, allocations: 175.7 kB / 1.053 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/1.449, allocations: 68.91 kB / 1.053 GB, free: 2.391 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.79e-05/1.449, allocations: 31.92 kB / 1.053 GB, free: 2.359 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001826/1.451, allocations: 1.119 MB / 1.054 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of sort global known variables: time 4.21e-07/1.451, allocations: 0 / 1.054 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002922/1.454, allocations: 1.032 MB / 1.055 GB, free: 188 kB / 0.7637 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001705/1.456, allocations: 0.6429 MB / 1.055 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.004391/1.46, allocations: 2.021 MB / 1.057 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/1.46, allocations: 0 / 1.057 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001438/1.462, allocations: 0.6553 MB / 1.058 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00448/1.466, allocations: 0.8065 MB / 1.059 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009294/1.475, allocations: 4.744 MB / 1.063 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/1.477, allocations: 1.542 MB / 1.065 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002424/1.479, allocations: 471.1 kB / 1.065 GB, free: 5.445 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004134/1.48, allocations: 139.4 kB / 1.065 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of SimCode: time 1.032e-06/1.48, allocations: 0 / 1.065 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of Templates: time 0.06342/1.543, allocations: 32.67 MB / 1.097 GB, free: 5.211 MB / 0.8106 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: