Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.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_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7158/0.7158, allocations: 132.3 MB / 144.9 MB, free: 10.7 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.001043/0.001043, allocations: 170.4 kB / 176.9 MB, free: 2.176 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.264/1.264, allocations: 170.5 MB / 379.3 MB, free: 11.93 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.001724/0.001724, allocations: 107.2 kB / 450 MB, free: 5.836 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.4339/0.434, allocations: 73.39 MB / 0.6736 GB, free: 47.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7767/1.211, allocations: 402.8 MB / 1.067 GB, free: 14.29 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/1.211, allocations: 93.62 kB / 1.067 GB, free: 14.25 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.498/4.709, allocations: 0.8885 GB / 1.956 GB, free: 68.26 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.733e-06/4.709, allocations: 6.922 kB / 1.956 GB, free: 68.26 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.000217/4.709, allocations: 51.58 kB / 1.956 GB, free: 68.25 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: 304 * Number of variables: 304 Notification: Performance of Generate backend data structure: time 0.004994/4.714, allocations: 2.228 MB / 1.958 GB, free: 67.1 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/4.714, allocations: 11.62 kB / 1.958 GB, free: 67.1 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001967/4.716, allocations: 369 kB / 1.958 GB, free: 66.98 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01191/4.728, allocations: 4.543 MB / 1.963 GB, free: 66.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.259e-05/4.728, allocations: 95.89 kB / 1.963 GB, free: 66.5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002244/4.728, allocations: 129.2 kB / 1.963 GB, free: 66.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002423/4.731, allocations: 1.371 MB / 1.964 GB, free: 66.18 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.285e-05/4.731, allocations: 3.656 kB / 1.964 GB, free: 66.18 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/4.731, allocations: 55.97 kB / 1.964 GB, free: 66.18 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.896e-05/4.731, allocations: 38.44 kB / 1.964 GB, free: 66.18 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001568/4.732, allocations: 0.9269 MB / 1.965 GB, free: 66.16 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.008224/4.741, allocations: 7.33 MB / 1.972 GB, free: 61.99 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/4.742, allocations: 0.7301 MB / 1.973 GB, free: 61.96 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005046/4.742, allocations: 385.5 kB / 1.973 GB, free: 61.95 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003111/4.746, allocations: 2.074 MB / 1.975 GB, free: 60.88 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007469/4.746, allocations: 461 kB / 1.976 GB, free: 60.8 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006273/4.747, allocations: 91.34 kB / 1.976 GB, free: 60.76 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=72): time 2.424e-06/4.747, allocations: 3.375 kB / 1.976 GB, free: 60.76 MB / 0.6355 GB Notification: Performance of matching and sorting (n=77): time 0.00415/4.751, allocations: 2.151 MB / 1.978 GB, free: 60.11 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.999e-05/4.751, allocations: 213.8 kB / 1.978 GB, free: 59.86 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001812/4.753, allocations: 1.324 MB / 1.98 GB, free: 59.68 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.162e-05/4.753, allocations: 50.45 kB / 1.98 GB, free: 59.65 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006542/4.754, allocations: 0.8654 MB / 1.98 GB, free: 59.34 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/4.754, allocations: 270.5 kB / 1.981 GB, free: 59.17 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.785e-05/4.754, allocations: 21.56 kB / 1.981 GB, free: 59.17 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.534e-05/4.754, allocations: 347.5 kB / 1.981 GB, free: 58.87 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005595/4.755, allocations: 404.1 kB / 1.981 GB, free: 58.86 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007134/4.755, allocations: 0.7349 MB / 1.982 GB, free: 58.49 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006926/4.756, allocations: 0.5494 MB / 1.983 GB, free: 58.41 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/4.756, allocations: 0 / 1.983 GB, free: 58.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001962/4.758, allocations: 1.392 MB / 1.984 GB, free: 58.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006537/4.759, allocations: 2.874 MB / 1.987 GB, free: 55.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.229e-05/4.759, allocations: 7.156 kB / 1.987 GB, free: 55.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001606/4.759, allocations: 41.64 kB / 1.987 GB, free: 55.19 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009138/4.76, allocations: 266.3 kB / 1.987 GB, free: 55.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008017/4.761, allocations: 1.353 MB / 1.988 GB, free: 53.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/4.762, allocations: 169.5 kB / 1.989 GB, free: 53.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/4.762, allocations: 68.88 kB / 1.989 GB, free: 53.93 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.966e-06/4.762, allocations: 3.531 kB / 1.989 GB, free: 53.93 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00183/4.764, allocations: 1.338 MB / 1.99 GB, free: 53.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/4.764, allocations: 10.25 kB / 1.99 GB, free: 53.83 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.737e-05/4.764, allocations: 36.84 kB / 1.99 GB, free: 53.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008316/4.765, allocations: 245 kB / 1.99 GB, free: 53.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007086/4.766, allocations: 1.349 MB / 1.992 GB, free: 52.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/4.768, allocations: 168.9 kB / 1.992 GB, free: 52.56 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/4.768, allocations: 64.3 kB / 1.992 GB, free: 52.56 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (119): * Single equations (assignments): 114 * Array equations: 1 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002826/4.768, allocations: 174.1 kB / 1.992 GB, free: 52.45 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/4.768, allocations: 164.8 kB / 1.992 GB, free: 52.37 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002002/4.77, allocations: 1.121 MB / 1.993 GB, free: 52.26 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.939e-05/4.77, allocations: 19.61 kB / 1.993 GB, free: 52.26 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/4.77, allocations: 0 / 1.993 GB, free: 52.26 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001049/4.771, allocations: 0.8046 MB / 1.994 GB, free: 52.16 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004216/4.775, allocations: 2.705 MB / 1.997 GB, free: 51.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/4.776, allocations: 3.719 kB / 1.997 GB, free: 51.67 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006997/4.776, allocations: 175.5 kB / 1.997 GB, free: 51.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001944/4.776, allocations: 81.08 kB / 1.997 GB, free: 51.65 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.665e-05/4.776, allocations: 29.45 kB / 1.997 GB, free: 51.65 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009246/4.777, allocations: 1.915 MB / 1.999 GB, free: 49.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/4.777, allocations: 3.125 kB / 1.999 GB, free: 49.87 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002151/4.78, allocations: 1.851 MB / 2.001 GB, free: 49.18 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007934/4.78, allocations: 376.8 kB / 2.001 GB, free: 48.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001866/4.781, allocations: 24.12 kB / 2.001 GB, free: 48.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/4.782, allocations: 168.8 kB / 2.001 GB, free: 48.98 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/4.782, allocations: 71.89 kB / 2.001 GB, free: 48.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.715e-05/4.782, allocations: 35.48 kB / 2.001 GB, free: 48.98 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001476/4.783, allocations: 1.088 MB / 2.002 GB, free: 48.86 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/4.783, allocations: 2.094 kB / 2.002 GB, free: 48.86 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003442/4.787, allocations: 1.03 MB / 2.003 GB, free: 48.77 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (vol.dynBal.U,mov.port_a.h_outflow,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.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 (87): * Single equations (assignments): 78 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002241/4.789, allocations: 1.205 MB / 2.005 GB, free: 48.45 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00326/4.792, allocations: 2.652 MB / 2.007 GB, free: 47.11 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/4.792, allocations: 5.25 kB / 2.007 GB, free: 47.11 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007974/4.793, allocations: 0.5715 MB / 2.008 GB, free: 46.84 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003935/4.797, allocations: 0.8668 MB / 2.009 GB, free: 46.67 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004218/4.801, allocations: 2.531 MB / 2.011 GB, free: 45.51 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007898/4.802, allocations: 1.45 MB / 2.012 GB, free: 44.71 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002397/4.805, allocations: 0.5463 MB / 2.013 GB, free: 44.63 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003014/4.805, allocations: 116.5 kB / 2.013 GB, free: 44.62 MB / 0.6355 GB Notification: Performance of SimCode: time 7.11e-07/4.805, allocations: 4 kB / 2.013 GB, free: 44.61 MB / 0.6355 GB Notification: Performance of Templates: time 0.06964/4.875, allocations: 48.13 MB / 2.06 GB, free: 17.95 MB / 0.6355 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1)