Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8272/0.8272, allocations: 133.7 MB / 148.6 MB, free: 13.64 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001365/0.001365, allocations: 176.1 kB / 180.9 MB, free: 15.07 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.843/1.843, allocations: 170.7 MB / 383.7 MB, free: 16.17 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001712/0.001712, allocations: 106.2 kB / 454.6 MB, free: 9.73 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2264/0.2269, allocations: 73.41 MB / 0.6812 GB, free: 5.555 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.472/1.699, allocations: 405.9 MB / 1.078 GB, free: 81.35 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/1.699, allocations: 107 kB / 1.078 GB, free: 81.29 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.89/5.589, allocations: 0.8756 GB / 1.953 GB, free: 76.03 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.885e-06/5.589, allocations: 0 / 1.953 GB, free: 76.03 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002772/5.59, allocations: 45.31 kB / 1.953 GB, free: 76.02 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 273 * Number of variables: 273 Notification: Performance of Generate backend data structure: time 0.009802/5.6, allocations: 2.62 MB / 1.956 GB, free: 74.87 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.508e-05/5.6, allocations: 9.391 kB / 1.956 GB, free: 74.87 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003413/5.603, allocations: 457.8 kB / 1.956 GB, free: 74.76 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00834/5.611, allocations: 2.155 MB / 1.958 GB, free: 74.32 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/5.612, allocations: 89.78 kB / 1.958 GB, free: 74.32 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004331/5.612, allocations: 116.4 kB / 1.959 GB, free: 74.32 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003549/5.616, allocations: 1.31 MB / 1.96 GB, free: 74.03 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.324e-05/5.616, allocations: 6 kB / 1.96 GB, free: 74.03 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001321/5.616, allocations: 48.23 kB / 1.96 GB, free: 74.03 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-05/5.616, allocations: 28.8 kB / 1.96 GB, free: 74.03 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002728/5.619, allocations: 0.9853 MB / 1.961 GB, free: 74.02 MB / 0.6355 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.01189/5.631, allocations: 6.596 MB / 1.967 GB, free: 70.28 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002549/5.633, allocations: 1.328 MB / 1.969 GB, free: 69.68 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005095/5.638, allocations: 2.562 MB / 1.971 GB, free: 67.98 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001359/5.64, allocations: 484.7 kB / 1.972 GB, free: 67.91 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00106/5.641, allocations: 98.33 kB / 1.972 GB, free: 67.87 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=65): time 5.029e-06/5.641, allocations: 3.469 kB / 1.972 GB, free: 67.87 MB / 0.6355 GB Notification: Performance of matching and sorting (n=65): time 0.004212/5.645, allocations: 1.194 MB / 1.973 GB, free: 67.64 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000137/5.645, allocations: 221.8 kB / 1.973 GB, free: 67.39 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003519/5.649, allocations: 1.343 MB / 1.974 GB, free: 67.21 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.000208/5.649, allocations: 45.42 kB / 1.974 GB, free: 67.18 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001109/5.65, allocations: 0.8232 MB / 1.975 GB, free: 66.9 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003054/5.65, allocations: 234 kB / 1.975 GB, free: 66.75 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.138e-05/5.65, allocations: 20.91 kB / 1.975 GB, free: 66.75 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001558/5.651, allocations: 342.1 kB / 1.976 GB, free: 66.45 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00128/5.652, allocations: 423 kB / 1.976 GB, free: 66.45 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001384/5.653, allocations: 0.7258 MB / 1.977 GB, free: 66.11 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/5.655, allocations: 0.5732 MB / 1.977 GB, free: 66.01 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.158e-05/5.655, allocations: 6.297 kB / 1.977 GB, free: 66.01 MB / 0.6355 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003908/5.659, allocations: 1.388 MB / 1.979 GB, free: 65.79 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.001006/5.66, allocations: 2.535 MB / 1.981 GB, free: 63.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.823e-05/5.66, allocations: 7.312 kB / 1.981 GB, free: 63.13 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.713e-05/5.66, allocations: 16.11 kB / 1.981 GB, free: 63.13 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/5.661, allocations: 241 kB / 1.982 GB, free: 63.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003891/5.661, allocations: 0.6036 MB / 1.982 GB, free: 62.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002394/5.664, allocations: 162.2 kB / 1.982 GB, free: 62.54 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000223/5.664, allocations: 59.14 kB / 1.982 GB, free: 62.54 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/5.664, allocations: 4.188 kB / 1.982 GB, free: 62.54 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003419/5.667, allocations: 1.349 MB / 1.984 GB, free: 62.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.261e-05/5.668, allocations: 7.406 kB / 1.984 GB, free: 62.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.278e-05/5.668, allocations: 11 kB / 1.984 GB, free: 62.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/5.669, allocations: 226.8 kB / 1.984 GB, free: 62.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004069/5.669, allocations: 0.6078 MB / 1.985 GB, free: 61.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002557/5.672, allocations: 162.9 kB / 1.985 GB, free: 61.83 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001922/5.672, allocations: 61.16 kB / 1.985 GB, free: 61.83 MB / 0.6355 GB Warning: Assuming fixed start value for the following 1 variables: vol.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = 0.09720000000000001 * vol.rho_start unit = "kg" fixed = true protected = true ) "Mass of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 100 * Array equations: 1 * Algorithm blocks: 3 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001853/5.674, allocations: 476.8 kB / 1.985 GB, free: 61.64 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006904/5.675, allocations: 162.6 kB / 1.985 GB, free: 61.55 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003448/5.678, allocations: 1.127 MB / 1.986 GB, free: 61.46 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.552e-05/5.678, allocations: 10.09 kB / 1.986 GB, free: 61.46 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/5.678, allocations: 2.953 kB / 1.986 GB, free: 61.46 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002062/5.68, allocations: 0.9582 MB / 1.987 GB, free: 61.18 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008097/5.688, allocations: 2.279 MB / 1.99 GB, free: 60.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/5.688, allocations: 5.016 kB / 1.99 GB, free: 60.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009031/5.689, allocations: 149.9 kB / 1.99 GB, free: 60.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003128/5.69, allocations: 53.86 kB / 1.99 GB, free: 60.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.82e-05/5.69, allocations: 22.53 kB / 1.99 GB, free: 60.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00157/5.691, allocations: 1.859 MB / 1.992 GB, free: 59.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/5.691, allocations: 5.156 kB / 1.992 GB, free: 59.04 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00353/5.695, allocations: 1.519 MB / 1.993 GB, free: 58.77 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001621/5.696, allocations: 332.8 kB / 1.993 GB, free: 58.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006993/5.697, allocations: 19.67 kB / 1.993 GB, free: 58.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001817/5.699, allocations: 132.9 kB / 1.994 GB, free: 58.59 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/5.699, allocations: 60.39 kB / 1.994 GB, free: 58.58 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.017e-05/5.699, allocations: 28.89 kB / 1.994 GB, free: 58.58 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002817/5.702, allocations: 1.033 MB / 1.995 GB, free: 58.47 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.8e-07/5.702, allocations: 0 / 1.995 GB, free: 58.47 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00643/5.709, allocations: 1.064 MB / 1.996 GB, free: 58.29 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (vol.dynBal.U,vol.dynBal.m,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.heaCoo.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00445/5.713, allocations: 1.213 MB / 1.997 GB, free: 58.02 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.005556/5.719, allocations: 2.482 MB / 1.999 GB, free: 57.57 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/5.719, allocations: 3.406 kB / 1.999 GB, free: 57.57 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001369/5.72, allocations: 0.5424 MB / 2 GB, free: 57.46 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004809/5.725, allocations: 0.64 MB / 2 GB, free: 57.45 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/5.735, allocations: 3.702 MB / 2.004 GB, free: 55.87 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002048/5.737, allocations: 1.377 MB / 2.005 GB, free: 55.15 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002967/5.74, allocations: 370.4 kB / 2.006 GB, free: 55.13 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007424/5.741, allocations: 131.7 kB / 2.006 GB, free: 55.12 MB / 0.6355 GB Notification: Performance of SimCode: time 1.683e-06/5.741, allocations: 3.469 kB / 2.006 GB, free: 55.12 MB / 0.6355 GB Notification: Performance of Templates: time 0.08726/5.828, allocations: 36.67 MB / 2.042 GB, free: 52.63 MB / 0.6355 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)