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/Modelica_StateGraph2 2.0.2/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/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") [/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.1992/0.2, allocations: 82.22 MB / 0.5934 GB, free: 6.008 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.0451/0.2451, allocations: 44.25 MB / 0.6366 GB, free: 9.641 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02575/0.2709, allocations: 15.38 MB / 0.6516 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004154/0.2752, allocations: 63.56 kB / 0.6516 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004572/0.2798, allocations: 0.9375 MB / 0.6526 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.009223/0.289, allocations: 2.243 MB / 0.6548 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01084/0.2999, allocations: 2.779 MB / 0.6575 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006542/0.3064, allocations: 2.682 MB / 0.6601 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00258/0.309, allocations: 1.194 MB / 0.6613 GB, free: 340 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003316/0.3124, allocations: 1.39 MB / 0.6626 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001848/0.3142, allocations: 0.9606 MB / 0.6635 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002088/0.3144, allocations: 72 kB / 0.6636 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003663/0.3181, allocations: 1.311 MB / 0.6649 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004807/0.3186, allocations: 386.5 kB / 0.6653 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006699/0.3193, allocations: 404.6 kB / 0.6657 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003851/0.3232, allocations: 2.521 MB / 0.6681 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.3232, allocations: 0 / 0.6681 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3232, allocations: 0 / 0.6681 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.158e-05/0.3232, allocations: 4 kB / 0.6681 GB, free: 9.277 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 280 * Number of variables: 280 Notification: Performance of Generate backend data structure: time 0.004564/0.3278, allocations: 2.286 MB / 0.6704 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.3278, allocations: 12.03 kB / 0.6704 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00219/0.33, allocations: 485 kB / 0.6708 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003261/0.3333, allocations: 1.52 MB / 0.6723 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003661/0.3337, allocations: 150.1 kB / 0.6725 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002551/0.334, allocations: 124 kB / 0.6726 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003036/0.337, allocations: 1.429 MB / 0.674 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.77e-05/0.3371, allocations: 3.938 kB / 0.674 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.3372, allocations: 48 kB / 0.674 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.074e-05/0.3372, allocations: 35.92 kB / 0.674 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003018/0.3402, allocations: 1.21 MB / 0.6752 GB, free: 1.758 MB / 0.5137 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.0105/0.3507, allocations: 7.106 MB / 0.6822 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003115/0.3539, allocations: 1.544 MB / 0.6837 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00446/0.3584, allocations: 2.729 MB / 0.6863 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001345/0.3597, allocations: 0.5485 MB / 0.6869 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005764/0.3603, allocations: 99.17 kB / 0.687 GB, free: 4.75 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=66): time 2.114e-06/0.3604, allocations: 0 / 0.687 GB, free: 4.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=66): time 0.003806/0.3642, allocations: 1.471 MB / 0.6884 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001769/0.3644, allocations: 214.2 kB / 0.6886 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002107/0.3665, allocations: 1.571 MB / 0.6901 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.114e-05/0.3666, allocations: 45.7 kB / 0.6902 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008797/0.3675, allocations: 0.8456 MB / 0.691 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002052/0.3677, allocations: 228.7 kB / 0.6912 GB, free: 292 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.979e-05/0.3677, allocations: 16 kB / 0.6913 GB, free: 276 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.3391/0.7069, allocations: 349 kB / 0.6916 GB, free: 95.48 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00166/0.7086, allocations: 494.5 kB / 0.6921 GB, free: 95.48 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001326/0.7099, allocations: 0.7974 MB / 0.6928 GB, free: 95.14 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/0.7112, allocations: 0.6238 MB / 0.6934 GB, free: 95.06 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/0.7113, allocations: 1.625 kB / 0.6934 GB, free: 95.06 MB / 0.5294 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002967/0.7142, allocations: 1.515 MB / 0.6949 GB, free: 94.92 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.00048/0.7147, allocations: 2.523 MB / 0.6974 GB, free: 92.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.976e-05/0.7148, allocations: 7.516 kB / 0.6974 GB, free: 92.31 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.883e-05/0.7148, allocations: 13.34 kB / 0.6974 GB, free: 92.31 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.7159, allocations: 267.1 kB / 0.6977 GB, free: 92.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002586/0.7161, allocations: 0.6119 MB / 0.6983 GB, free: 91.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/0.7178, allocations: 178.7 kB / 0.6984 GB, free: 91.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.7179, allocations: 59.38 kB / 0.6985 GB, free: 91.71 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/0.7179, allocations: 6.484 kB / 0.6985 GB, free: 91.71 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003245/0.7211, allocations: 1.414 MB / 0.6999 GB, free: 91.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.946e-05/0.7212, allocations: 8.531 kB / 0.6999 GB, free: 91.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.7212, allocations: 11.81 kB / 0.6999 GB, free: 91.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001478/0.7227, allocations: 247.3 kB / 0.7001 GB, free: 91.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003018/0.723, allocations: 0.6174 MB / 0.7007 GB, free: 90.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002264/0.7253, allocations: 166.2 kB / 0.7009 GB, free: 90.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001441/0.7254, allocations: 53.17 kB / 0.7009 GB, free: 90.98 MB / 0.5294 GB Warning: Assuming fixed start value for the following 1 variables: vol.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = vol.V * 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: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 102 * Array equations: 1 * Algorithm blocks: 2 * 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.001286/0.7267, allocations: 477.7 kB / 0.7014 GB, free: 90.79 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000315/0.7271, allocations: 162.9 kB / 0.7016 GB, free: 90.79 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003965/0.731, allocations: 1.311 MB / 0.7028 GB, free: 90.67 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.077e-05/0.7311, allocations: 12.09 kB / 0.7028 GB, free: 90.67 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.7311, allocations: 0 / 0.7028 GB, free: 90.67 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003055/0.7342, allocations: 1.12 MB / 0.7039 GB, free: 90.38 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007015/0.7412, allocations: 2.58 MB / 0.7065 GB, free: 89.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.7412, allocations: 7.297 kB / 0.7065 GB, free: 89.96 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00119/0.7424, allocations: 173 kB / 0.7066 GB, free: 89.96 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003236/0.7428, allocations: 60.42 kB / 0.7067 GB, free: 89.94 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.22e-05/0.7429, allocations: 29.67 kB / 0.7067 GB, free: 89.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001466/0.7443, allocations: 1.928 MB / 0.7086 GB, free: 88.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.7444, allocations: 1.484 kB / 0.7086 GB, free: 88.09 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005737/0.7501, allocations: 1.779 MB / 0.7103 GB, free: 87.35 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/0.7514, allocations: 357.4 kB / 0.7107 GB, free: 87.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002728/0.7517, allocations: 20.88 kB / 0.7107 GB, free: 87.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001611/0.7533, allocations: 131.4 kB / 0.7108 GB, free: 87.06 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002105/0.7535, allocations: 57.72 kB / 0.7109 GB, free: 87.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/0.7537, allocations: 27.91 kB / 0.7109 GB, free: 87.05 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002573/0.7562, allocations: 1.056 MB / 0.7119 GB, free: 86.65 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.91e-07/0.7563, allocations: 0 / 0.7119 GB, free: 86.65 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004612/0.7609, allocations: 0.978 MB / 0.7129 GB, free: 86.53 MB / 0.5294 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%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002962/0.7639, allocations: 0.7968 MB / 0.7137 GB, free: 86.35 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007151/0.771, allocations: 2.565 MB / 0.7162 GB, free: 85.16 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.771, allocations: 0.5469 kB / 0.7162 GB, free: 85.16 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001374/0.7724, allocations: 0.6229 MB / 0.7168 GB, free: 84.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003322/0.7758, allocations: 0.6661 MB / 0.7174 GB, free: 84.73 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006118/0.7819, allocations: 3.856 MB / 0.7212 GB, free: 82.61 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008809/0.7828, allocations: 1.401 MB / 0.7226 GB, free: 81.84 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001684/0.7845, allocations: 371.5 kB / 0.7229 GB, free: 81.73 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003379/0.7848, allocations: 136.3 kB / 0.7231 GB, free: 81.71 MB / 0.5294 GB Notification: Performance of SimCode: time 9.92e-07/0.7849, allocations: 0 / 0.7231 GB, free: 81.71 MB / 0.5294 GB Notification: Performance of Templates: time 0.05345/0.8383, allocations: 32.98 MB / 0.7553 GB, free: 52.7 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: