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.9982/0.9982, allocations: 133.7 MB / 148.6 MB, free: 13.48 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.001292/0.001292, allocations: 176 kB / 180.9 MB, free: 14.91 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.756/1.756, allocations: 170.7 MB / 383.7 MB, free: 16.18 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.002/0.002, allocations: 104.6 kB / 454.6 MB, free: 9.738 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.2112/0.2117, allocations: 73.41 MB / 0.6812 GB, free: 5.551 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.497/1.709, allocations: 402.9 MB / 1.075 GB, free: 84.25 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000391/1.709, allocations: 98.83 kB / 1.075 GB, free: 84.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.018/5.727, allocations: 0.8915 GB / 1.966 GB, free: 72.32 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.596e-06/5.727, allocations: 1.031 kB / 1.966 GB, free: 72.32 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0004471/5.728, allocations: 47.78 kB / 1.966 GB, free: 72.32 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.01067/5.739, allocations: 2.719 MB / 1.969 GB, free: 71.1 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/5.739, allocations: 9.562 kB / 1.969 GB, free: 71.1 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002851/5.741, allocations: 375.7 kB / 1.969 GB, free: 70.98 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01489/5.756, allocations: 4.611 MB / 1.974 GB, free: 70.49 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001963/5.757, allocations: 96.64 kB / 1.974 GB, free: 70.49 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007046/5.757, allocations: 129.7 kB / 1.974 GB, free: 70.49 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004836/5.762, allocations: 1.432 MB / 1.975 GB, free: 70.17 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-05/5.762, allocations: 4.219 kB / 1.975 GB, free: 70.17 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002778/5.763, allocations: 51.53 kB / 1.975 GB, free: 70.17 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.165e-05/5.763, allocations: 45.84 kB / 1.975 GB, free: 70.17 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003358/5.766, allocations: 1.047 MB / 1.976 GB, free: 70.16 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.01342/5.779, allocations: 7.333 MB / 1.984 GB, free: 65.98 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002357/5.782, allocations: 0.8588 MB / 1.984 GB, free: 65.94 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005493/5.787, allocations: 2.064 MB / 1.987 GB, free: 64.87 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001449/5.789, allocations: 0.5009 MB / 1.987 GB, free: 64.8 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001578/5.791, allocations: 102.3 kB / 1.987 GB, free: 64.76 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=72): time 8.776e-06/5.791, allocations: 0 / 1.987 GB, free: 64.76 MB / 0.6355 GB Notification: Performance of matching and sorting (n=77): time 0.0111/5.802, allocations: 2.789 MB / 1.99 GB, free: 64 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001637/5.802, allocations: 217.1 kB / 1.99 GB, free: 63.75 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004512/5.806, allocations: 1.353 MB / 1.991 GB, free: 63.58 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.000358/5.807, allocations: 46.77 kB / 1.991 GB, free: 63.55 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001267/5.808, allocations: 0.8602 MB / 1.992 GB, free: 63.24 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003764/5.809, allocations: 265.3 kB / 1.992 GB, free: 63.07 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/5.809, allocations: 19.78 kB / 1.993 GB, free: 63.07 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001294/5.809, allocations: 351 kB / 1.993 GB, free: 62.77 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/5.81, allocations: 465.5 kB / 1.993 GB, free: 62.77 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/5.811, allocations: 0.7879 MB / 1.994 GB, free: 62.39 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/5.813, allocations: 0.6098 MB / 1.995 GB, free: 62.32 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.248e-05/5.813, allocations: 7.031 kB / 1.995 GB, free: 62.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003779/5.816, allocations: 1.501 MB / 1.996 GB, free: 62.11 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.001075/5.818, allocations: 2.876 MB / 1.999 GB, free: 59.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-05/5.818, allocations: 14.06 kB / 1.999 GB, free: 59.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002551/5.818, allocations: 40.94 kB / 1.999 GB, free: 59.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/5.819, allocations: 246.8 kB / 1.999 GB, free: 59.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001129/5.82, allocations: 1.362 MB / 2.001 GB, free: 57.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002633/5.823, allocations: 160.3 kB / 2.001 GB, free: 57.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003204/5.823, allocations: 73.05 kB / 2.001 GB, free: 57.84 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/5.823, allocations: 6.594 kB / 2.001 GB, free: 57.84 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00314/5.826, allocations: 1.453 MB / 2.002 GB, free: 57.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-05/5.826, allocations: 11.83 kB / 2.002 GB, free: 57.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001337/5.827, allocations: 40.41 kB / 2.002 GB, free: 57.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/5.828, allocations: 245.9 kB / 2.002 GB, free: 57.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009705/5.829, allocations: 1.362 MB / 2.004 GB, free: 56.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002333/5.831, allocations: 158.5 kB / 2.004 GB, free: 56.47 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002456/5.831, allocations: 62.69 kB / 2.004 GB, free: 56.47 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 () * Number of clocked 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.001723/5.833, allocations: 494.3 kB / 2.004 GB, free: 56.28 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007779/5.834, allocations: 175.4 kB / 2.005 GB, free: 56.19 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003552/5.837, allocations: 1.258 MB / 2.006 GB, free: 56.08 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.366e-05/5.837, allocations: 8.594 kB / 2.006 GB, free: 56.08 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/5.837, allocations: 0 / 2.006 GB, free: 56.08 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002047/5.839, allocations: 0.952 MB / 2.007 GB, free: 55.96 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008636/5.848, allocations: 2.859 MB / 2.01 GB, free: 55.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-05/5.848, allocations: 3.781 kB / 2.01 GB, free: 55.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008622/5.849, allocations: 166.6 kB / 2.01 GB, free: 55.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003826/5.849, allocations: 114.5 kB / 2.01 GB, free: 55.44 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/5.849, allocations: 41.77 kB / 2.01 GB, free: 55.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001897/5.851, allocations: 2.48 MB / 2.012 GB, free: 53.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-06/5.851, allocations: 4.469 kB / 2.012 GB, free: 53.14 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004124/5.856, allocations: 2.064 MB / 2.014 GB, free: 52.45 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001784/5.857, allocations: 376.4 kB / 2.015 GB, free: 52.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008479/5.858, allocations: 25.12 kB / 2.015 GB, free: 52.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001999/5.86, allocations: 157.9 kB / 2.015 GB, free: 52.25 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001926/5.86, allocations: 74.16 kB / 2.015 GB, free: 52.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/5.861, allocations: 44.78 kB / 2.015 GB, free: 52.25 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002666/5.863, allocations: 1.104 MB / 2.016 GB, free: 52.14 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.1e-07/5.863, allocations: 0 / 2.016 GB, free: 52.14 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.006078/5.869, allocations: 1.031 MB / 2.017 GB, free: 52.05 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.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U) * 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 (84): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * 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: 2 {1 3,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003948/5.873, allocations: 1.198 MB / 2.018 GB, free: 51.76 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.005714/5.879, allocations: 2.769 MB / 2.021 GB, free: 51.21 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-05/5.879, allocations: 3.25 kB / 2.021 GB, free: 51.21 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001463/5.881, allocations: 0.6374 MB / 2.022 GB, free: 51.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00569/5.886, allocations: 0.8822 MB / 2.022 GB, free: 51.08 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/5.897, allocations: 3.92 MB / 2.026 GB, free: 49.32 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002341/5.9, allocations: 1.446 MB / 2.028 GB, free: 48.59 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.003489/5.903, allocations: 416.7 kB / 2.028 GB, free: 48.56 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008823/5.904, allocations: 143.6 kB / 2.028 GB, free: 48.55 MB / 0.6355 GB Notification: Performance of SimCode: time 1.974e-06/5.904, allocations: 0 / 2.028 GB, free: 48.55 MB / 0.6355 GB Notification: Performance of Templates: time 0.08596/5.99, allocations: 43.89 MB / 2.071 GB, free: 45.4 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)