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.7391/0.7391, allocations: 132.4 MB / 139.9 MB, free: 15.38 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.0009888/0.0009889, allocations: 166.3 kB / 171.8 MB, free: 2.031 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.426/1.426, allocations: 170.6 MB / 374.2 MB, free: 15.78 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.001687/0.001687, allocations: 117.6 kB / 444.8 MB, free: 9.293 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.4799/0.4799, allocations: 73.39 MB / 0.6666 GB, free: 47 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9064/1.386, allocations: 405.1 MB / 1.062 GB, free: 2.77 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/1.387, allocations: 95.83 kB / 1.062 GB, free: 2.723 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.628/5.015, allocations: 0.8679 GB / 1.93 GB, free: 74.24 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.014e-06/5.015, allocations: 0 / 1.93 GB, free: 74.24 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0004814/5.015, allocations: 54.09 kB / 1.93 GB, free: 74.23 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.008246/5.024, allocations: 2.138 MB / 1.932 GB, free: 73.23 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.953e-05/5.024, allocations: 10.75 kB / 1.932 GB, free: 73.23 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003609/5.027, allocations: 452.9 kB / 1.933 GB, free: 73.12 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008474/5.036, allocations: 2.133 MB / 1.935 GB, free: 72.68 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000168/5.036, allocations: 35.38 kB / 1.935 GB, free: 72.68 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006547/5.037, allocations: 71.31 kB / 1.935 GB, free: 72.68 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002552/5.039, allocations: 0.7921 MB / 1.936 GB, free: 72.67 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002676/5.042, allocations: 1.07 MB / 1.937 GB, free: 72.39 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.98e-05/5.042, allocations: 5.344 kB / 1.937 GB, free: 72.39 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001562/5.042, allocations: 0 / 1.937 GB, free: 72.39 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-05/5.042, allocations: 34.78 kB / 1.937 GB, free: 72.39 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.01201/5.054, allocations: 6.4 MB / 1.943 GB, free: 68.7 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/5.056, allocations: 1.161 MB / 1.944 GB, free: 68.11 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004746/5.056, allocations: 301.8 kB / 1.945 GB, free: 68.11 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005077/5.061, allocations: 2.57 MB / 1.947 GB, free: 66.37 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006554/5.062, allocations: 380 kB / 1.947 GB, free: 66.3 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00119/5.063, allocations: 82.86 kB / 1.948 GB, free: 66.26 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=64): time 5.941e-06/5.063, allocations: 0 / 1.948 GB, free: 66.26 MB / 0.6355 GB Notification: Performance of matching and sorting (n=65): time 0.01647/5.08, allocations: 3.551 MB / 1.951 GB, free: 65.66 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.251e-05/5.08, allocations: 220 kB / 1.951 GB, free: 65.41 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003049/5.083, allocations: 1.232 MB / 1.952 GB, free: 65.24 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001717/5.083, allocations: 30.39 kB / 1.952 GB, free: 65.21 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001015/5.084, allocations: 0.8158 MB / 1.953 GB, free: 64.92 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002327/5.084, allocations: 224 kB / 1.953 GB, free: 64.78 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.467e-05/5.084, allocations: 0 / 1.953 GB, free: 64.78 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001085/5.084, allocations: 342 kB / 1.954 GB, free: 64.47 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005967/5.085, allocations: 352.6 kB / 1.954 GB, free: 64.47 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007667/5.086, allocations: 0.6501 MB / 1.955 GB, free: 64.13 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004658/5.091, allocations: 1.051 MB / 1.956 GB, free: 64.12 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/5.091, allocations: 0 / 1.956 GB, free: 64.12 MB / 0.6355 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.006647/5.097, allocations: 1.755 MB / 1.957 GB, free: 63.99 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.001196/5.098, allocations: 2.529 MB / 1.96 GB, free: 61.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.613e-05/5.098, allocations: 8.156 kB / 1.96 GB, free: 61.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.143e-05/5.099, allocations: 17 kB / 1.96 GB, free: 61.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/5.1, allocations: 221 kB / 1.96 GB, free: 61.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.329e-05/5.1, allocations: 15.81 kB / 1.96 GB, free: 61.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002232/5.102, allocations: 136.4 kB / 1.96 GB, free: 61.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002418/5.102, allocations: 67.5 kB / 1.96 GB, free: 61.33 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/5.102, allocations: 5.469 kB / 1.96 GB, free: 61.33 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005907/5.108, allocations: 1.637 MB / 1.962 GB, free: 61.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.762e-05/5.108, allocations: 6.75 kB / 1.962 GB, free: 61.31 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/5.108, allocations: 10.69 kB / 1.962 GB, free: 61.31 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008689/5.109, allocations: 217.4 kB / 1.962 GB, free: 61.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.247e-05/5.109, allocations: 19.77 kB / 1.962 GB, free: 61.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001888/5.111, allocations: 137.7 kB / 1.962 GB, free: 61.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001573/5.111, allocations: 59.59 kB / 1.962 GB, free: 61.3 MB / 0.6355 GB 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): 100 * Array equations: 1 * Algorithm blocks: 3 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003555/5.111, allocations: 131.5 kB / 1.963 GB, free: 61.2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005209/5.112, allocations: 158.6 kB / 1.963 GB, free: 61.11 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005805/5.118, allocations: 1.553 MB / 1.964 GB, free: 61.02 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.962e-05/5.118, allocations: 13.98 kB / 1.964 GB, free: 61.02 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/5.118, allocations: 4.312 kB / 1.964 GB, free: 61.02 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0045/5.122, allocations: 1.407 MB / 1.966 GB, free: 60.74 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00928/5.132, allocations: 2.749 MB / 1.968 GB, free: 60.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/5.132, allocations: 1.75 kB / 1.968 GB, free: 60.35 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007649/5.132, allocations: 153.1 kB / 1.968 GB, free: 60.35 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002342/5.133, allocations: 54.02 kB / 1.968 GB, free: 60.34 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-05/5.133, allocations: 16.2 kB / 1.968 GB, free: 60.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004483/5.133, allocations: 0.6018 MB / 1.969 GB, free: 59.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/5.133, allocations: 1.312 kB / 1.969 GB, free: 59.82 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005769/5.139, allocations: 2.111 MB / 1.971 GB, free: 59.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/5.14, allocations: 335.7 kB / 1.971 GB, free: 59.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005259/5.141, allocations: 17.09 kB / 1.971 GB, free: 59.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001494/5.142, allocations: 128.9 kB / 1.972 GB, free: 59.11 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/5.142, allocations: 60.5 kB / 1.972 GB, free: 59.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.119e-05/5.142, allocations: 34.66 kB / 1.972 GB, free: 59.11 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001875/5.144, allocations: 0.9113 MB / 1.973 GB, free: 59 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.8e-07/5.144, allocations: 1.25 kB / 1.973 GB, free: 59 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004549/5.149, allocations: 0.8995 MB / 1.973 GB, free: 58.91 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (vol.dynBal.U,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 (76): * Single equations (assignments): 68 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003148/5.152, allocations: 1.159 MB / 1.975 GB, free: 58.63 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003137/5.155, allocations: 2.265 MB / 1.977 GB, free: 58.16 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/5.155, allocations: 0 / 1.977 GB, free: 58.16 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007171/5.156, allocations: 390 kB / 1.977 GB, free: 58.16 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003587/5.16, allocations: 0.6228 MB / 1.978 GB, free: 58.12 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00584/5.165, allocations: 2.288 MB / 1.98 GB, free: 57.33 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001416/5.167, allocations: 1.396 MB / 1.981 GB, free: 56.59 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.003202/5.17, allocations: 0.5391 MB / 1.982 GB, free: 56.52 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003421/5.17, allocations: 102.1 kB / 1.982 GB, free: 56.51 MB / 0.6355 GB Notification: Performance of SimCode: time 1.693e-06/5.17, allocations: 0 / 1.982 GB, free: 56.51 MB / 0.6355 GB Notification: Performance of Templates: time 0.06234/5.233, allocations: 34.81 MB / 2.016 GB, free: 53.81 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)