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.6955/0.6955, allocations: 132.3 MB / 144.9 MB, free: 10.69 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.00103/0.00103, allocations: 176.5 kB / 176.9 MB, free: 2.219 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.287/1.287, allocations: 170.5 MB / 379.3 MB, free: 11.89 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.001657/0.001657, allocations: 111.9 kB / 450 MB, free: 5.832 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.4437/0.4438, allocations: 73.39 MB / 0.6736 GB, free: 47.7 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7965/1.24, allocations: 405.8 MB / 1.07 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/1.241, allocations: 92.33 kB / 1.07 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.489/4.73, allocations: 0.8727 GB / 1.943 GB, free: 69.98 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.645e-06/4.73, allocations: 0 / 1.943 GB, free: 69.98 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002181/4.73, allocations: 47.91 kB / 1.943 GB, free: 69.98 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.006478/4.736, allocations: 2.151 MB / 1.945 GB, free: 68.9 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.724e-05/4.737, allocations: 10.16 kB / 1.945 GB, free: 68.9 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002404/4.739, allocations: 455.6 kB / 1.945 GB, free: 68.79 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004933/4.744, allocations: 2.128 MB / 1.947 GB, free: 68.35 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.279e-05/4.744, allocations: 89.7 kB / 1.947 GB, free: 68.35 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001794/4.744, allocations: 118.7 kB / 1.948 GB, free: 68.35 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002024/4.746, allocations: 1.237 MB / 1.949 GB, free: 68.06 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.753e-05/4.746, allocations: 6.688 kB / 1.949 GB, free: 68.06 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/4.746, allocations: 50.28 kB / 1.949 GB, free: 68.06 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.881e-05/4.746, allocations: 26.22 kB / 1.949 GB, free: 68.06 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/4.748, allocations: 0.8514 MB / 1.95 GB, free: 68.04 MB / 0.6355 GB Warning: The model contains alias variables with conflicting start and/or 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.006946/4.755, allocations: 6.595 MB / 1.956 GB, free: 64.3 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/4.756, allocations: 1.181 MB / 1.957 GB, free: 63.71 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004289/4.757, allocations: 308.2 kB / 1.958 GB, free: 63.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003228/4.76, allocations: 2.599 MB / 1.96 GB, free: 61.97 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007049/4.76, allocations: 425.3 kB / 1.96 GB, free: 61.89 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004108/4.761, allocations: 91.66 kB / 1.961 GB, free: 61.86 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=64): time 2.765e-06/4.761, allocations: 0 / 1.961 GB, free: 61.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=64): time 0.001444/4.762, allocations: 0.7258 MB / 1.961 GB, free: 61.72 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.021e-05/4.762, allocations: 217.2 kB / 1.961 GB, free: 61.47 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001652/4.764, allocations: 1.328 MB / 1.963 GB, free: 61.29 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.585e-05/4.764, allocations: 46.36 kB / 1.963 GB, free: 61.26 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005753/4.765, allocations: 0.8194 MB / 1.964 GB, free: 60.98 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/4.765, allocations: 239.3 kB / 1.964 GB, free: 60.83 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.175e-05/4.765, allocations: 14.94 kB / 1.964 GB, free: 60.83 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.543e-05/4.765, allocations: 344.5 kB / 1.964 GB, free: 60.53 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004992/4.766, allocations: 354.2 kB / 1.965 GB, free: 60.53 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006586/4.766, allocations: 0.6631 MB / 1.965 GB, free: 60.19 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000641/4.767, allocations: 0.5122 MB / 1.966 GB, free: 60.09 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/4.767, allocations: 3.781 kB / 1.966 GB, free: 60.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001704/4.769, allocations: 1.261 MB / 1.967 GB, free: 59.86 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.000586/4.769, allocations: 2.547 MB / 1.969 GB, free: 57.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.133e-05/4.769, allocations: 10.22 kB / 1.969 GB, free: 57.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/4.769, allocations: 9.531 kB / 1.969 GB, free: 57.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/4.77, allocations: 232.1 kB / 1.97 GB, free: 57.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002707/4.771, allocations: 0.6027 MB / 1.97 GB, free: 56.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/4.772, allocations: 163.8 kB / 1.97 GB, free: 56.61 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/4.772, allocations: 61.89 kB / 1.97 GB, free: 56.61 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/4.772, allocations: 3.781 kB / 1.97 GB, free: 56.61 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00165/4.774, allocations: 1.218 MB / 1.972 GB, free: 56.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/4.774, allocations: 10.16 kB / 1.972 GB, free: 56.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/4.774, allocations: 14.45 kB / 1.972 GB, free: 56.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008731/4.775, allocations: 235.2 kB / 1.972 GB, free: 56.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002176/4.775, allocations: 0.6022 MB / 1.972 GB, free: 55.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/4.776, allocations: 162.5 kB / 1.973 GB, free: 55.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/4.776, allocations: 60.98 kB / 1.973 GB, free: 55.91 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" 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 99 * 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.0002998/4.777, allocations: 169.6 kB / 1.973 GB, free: 55.8 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001924/4.777, allocations: 160.9 kB / 1.973 GB, free: 55.71 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001874/4.779, allocations: 1.006 MB / 1.974 GB, free: 55.6 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/4.779, allocations: 8.562 kB / 1.974 GB, free: 55.6 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/4.779, allocations: 0 / 1.974 GB, free: 55.6 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009719/4.78, allocations: 0.8421 MB / 1.975 GB, free: 55.31 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00318/4.783, allocations: 2.162 MB / 1.977 GB, free: 54.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/4.783, allocations: 0 / 1.977 GB, free: 54.95 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006834/4.784, allocations: 152 kB / 1.977 GB, free: 54.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001788/4.784, allocations: 49.88 kB / 1.977 GB, free: 54.94 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.183e-05/4.784, allocations: 28.42 kB / 1.977 GB, free: 54.94 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008774/4.785, allocations: 1.848 MB / 1.979 GB, free: 53.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/4.785, allocations: 0 / 1.979 GB, free: 53.18 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/4.786, allocations: 1.335 MB / 1.98 GB, free: 52.91 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005972/4.787, allocations: 335.7 kB / 1.981 GB, free: 52.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001556/4.787, allocations: 14.75 kB / 1.981 GB, free: 52.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009435/4.788, allocations: 139.8 kB / 1.981 GB, free: 52.72 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/4.788, allocations: 56.98 kB / 1.981 GB, free: 52.72 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.014e-05/4.788, allocations: 25.42 kB / 1.981 GB, free: 52.72 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001352/4.79, allocations: 1.013 MB / 1.982 GB, free: 52.6 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.61e-07/4.79, allocations: 0 / 1.982 GB, free: 52.6 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003399/4.793, allocations: 1.064 MB / 1.983 GB, free: 52.42 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 64 * 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.002445/4.796, allocations: 1.21 MB / 1.984 GB, free: 52.14 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003059/4.799, allocations: 2.357 MB / 1.986 GB, free: 51.68 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/4.799, allocations: 3.656 kB / 1.986 GB, free: 51.68 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007149/4.799, allocations: 486.5 kB / 1.987 GB, free: 51.56 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002857/4.802, allocations: 0.6382 MB / 1.987 GB, free: 51.55 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004211/4.807, allocations: 2.329 MB / 1.99 GB, free: 50.93 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007428/4.807, allocations: 1.387 MB / 1.991 GB, free: 50.21 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002256/4.81, allocations: 0.548 MB / 1.992 GB, free: 50.18 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00027/4.81, allocations: 100.4 kB / 1.992 GB, free: 50.17 MB / 0.6355 GB Notification: Performance of SimCode: time 1.413e-06/4.81, allocations: 0 / 1.992 GB, free: 50.17 MB / 0.6355 GB Notification: Performance of Templates: time 0.06148/4.871, allocations: 40.92 MB / 2.032 GB, free: 42.91 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)