Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.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.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7637/0.7637, allocations: 132.4 MB / 139.9 MB, free: 15.39 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.001066/0.001066, allocations: 169.9 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.434/1.434, allocations: 170.6 MB / 374.2 MB, free: 15.71 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.001825/0.001825, allocations: 116 kB / 444.8 MB, free: 9.23 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.4702/0.4702, allocations: 73.39 MB / 0.6666 GB, free: 46.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.862/6.332, allocations: 2.386 GB / 3.053 GB, free: 29.68 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/6.332, allocations: 93.44 kB / 3.053 GB, free: 29.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.981/10.31, allocations: 1.002 GB / 4.055 GB, free: 8.992 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.984e-06/10.31, allocations: 0 / 4.055 GB, free: 8.992 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001791/10.31, allocations: 47.98 kB / 4.055 GB, free: 8.945 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 322 * Number of variables: 322 Notification: Performance of Generate backend data structure: time 0.005211/10.32, allocations: 1.995 MB / 4.057 GB, free: 6.902 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/10.32, allocations: 8.031 kB / 4.057 GB, free: 6.895 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001763/10.32, allocations: 345.4 kB / 4.057 GB, free: 6.555 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5967/10.92, allocations: 7.907 MB / 4.065 GB, free: 71.82 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.913e-05/10.92, allocations: 44.52 kB / 4.065 GB, free: 71.82 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002797/10.92, allocations: 80.03 kB / 4.065 GB, free: 71.82 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002618/10.92, allocations: 0.9029 MB / 4.066 GB, free: 71.81 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00305/10.92, allocations: 1.18 MB / 4.067 GB, free: 71.61 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.976e-05/10.92, allocations: 3.406 kB / 4.067 GB, free: 71.61 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/10.92, allocations: 7.562 kB / 4.067 GB, free: 71.61 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-05/10.92, allocations: 54.89 kB / 4.067 GB, free: 71.6 MB / 0.6511 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.009503/10.93, allocations: 6.133 MB / 4.073 GB, free: 68.16 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/10.93, allocations: 0.7353 MB / 4.074 GB, free: 68.04 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005698/10.93, allocations: 365.4 kB / 4.074 GB, free: 68.03 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002114/10.93, allocations: 98.02 kB / 4.074 GB, free: 67.93 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/10.93, allocations: 46.06 kB / 4.075 GB, free: 67.89 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=72): time 3.867e-06/10.93, allocations: 0 / 4.075 GB, free: 67.89 MB / 0.6511 GB Notification: Performance of matching and sorting (n=73): time 0.009185/10.94, allocations: 2.247 MB / 4.077 GB, free: 67.33 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.851e-05/10.94, allocations: 111 kB / 4.077 GB, free: 67.2 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002131/10.95, allocations: 0.8947 MB / 4.078 GB, free: 67.05 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001919/10.95, allocations: 29.16 kB / 4.078 GB, free: 67.02 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007809/10.95, allocations: 0.7708 MB / 4.078 GB, free: 66.78 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002681/10.95, allocations: 252.1 kB / 4.079 GB, free: 66.65 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/10.95, allocations: 0 / 4.079 GB, free: 66.65 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001435/10.95, allocations: 341.1 kB / 4.079 GB, free: 66.35 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000519/10.95, allocations: 272.2 kB / 4.079 GB, free: 66.35 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007466/10.95, allocations: 0.5893 MB / 4.08 GB, free: 65.98 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006822/10.95, allocations: 364.6 kB / 4.08 GB, free: 65.98 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/10.95, allocations: 0 / 4.08 GB, free: 65.98 MB / 0.6511 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.00398/10.95, allocations: 1.257 MB / 4.081 GB, free: 65.84 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005315/10.95, allocations: 2.048 MB / 4.083 GB, free: 63.74 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/10.95, allocations: 3.719 kB / 4.083 GB, free: 63.74 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004188/10.95, allocations: 156.7 kB / 4.084 GB, free: 63.73 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002019/10.96, allocations: 405.8 kB / 4.084 GB, free: 63.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/10.96, allocations: 1.891 MB / 4.086 GB, free: 62.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002242/10.96, allocations: 154.5 kB / 4.086 GB, free: 62.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/10.96, allocations: 35.28 kB / 4.086 GB, free: 62.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/10.96, allocations: 4.531 kB / 4.086 GB, free: 62.1 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001512/10.96, allocations: 0.7398 MB / 4.087 GB, free: 62.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/10.96, allocations: 7.609 kB / 4.087 GB, free: 62.06 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002342/10.96, allocations: 89.39 kB / 4.087 GB, free: 62.04 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007486/10.96, allocations: 183 kB / 4.087 GB, free: 62.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002516/10.97, allocations: 3.061 MB / 4.09 GB, free: 59.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001893/10.97, allocations: 124 kB / 4.09 GB, free: 59.36 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-05/10.97, allocations: 31.25 kB / 4.09 GB, free: 59.36 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004048/10.97, allocations: 124.8 kB / 4.09 GB, free: 59.26 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003603/10.97, allocations: 138.8 kB / 4.09 GB, free: 59.19 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003753/10.97, allocations: 1.106 MB / 4.091 GB, free: 59.08 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/10.97, allocations: 10.88 kB / 4.091 GB, free: 59.08 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/10.97, allocations: 0 / 4.091 GB, free: 59.08 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003051/10.98, allocations: 1.248 MB / 4.093 GB, free: 58.6 MB / 0.6511 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 postOpt removeSimpleEquations (simulation): time 0.007528/10.98, allocations: 2.707 MB / 4.095 GB, free: 58 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/10.98, allocations: 3.25 kB / 4.095 GB, free: 58 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001913/10.98, allocations: 369.6 kB / 4.096 GB, free: 58 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004133/10.99, allocations: 171.1 kB / 4.096 GB, free: 57.97 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.234e-05/10.99, allocations: 21.44 kB / 4.096 GB, free: 57.97 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006861/10.99, allocations: 5.371 MB / 4.101 GB, free: 53.58 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.386e-06/10.99, allocations: 3.719 kB / 4.101 GB, free: 53.58 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004676/11, allocations: 1.776 MB / 4.103 GB, free: 53.01 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001422/11, allocations: 325.4 kB / 4.103 GB, free: 52.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006082/11, allocations: 7.844 kB / 4.103 GB, free: 52.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001992/11, allocations: 146.8 kB / 4.103 GB, free: 52.84 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002434/11, allocations: 63.39 kB / 4.103 GB, free: 52.83 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000169/11, allocations: 39.75 kB / 4.103 GB, free: 52.83 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001333/11, allocations: 0.6755 MB / 4.104 GB, free: 52.72 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.5e-07/11, allocations: 2.25 kB / 4.104 GB, free: 52.72 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.005115/11.01, allocations: 0.8595 MB / 4.105 GB, free: 52.72 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 5 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.vol2.dynBal.m,hex.vol2.dynBal.mXi[1],hex.mas.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.004623/11.01, allocations: 2.196 MB / 4.107 GB, free: 52.16 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.004189/11.02, allocations: 1.595 MB / 4.109 GB, free: 51.93 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/11.02, allocations: 2.656 kB / 4.109 GB, free: 51.93 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002966/11.02, allocations: 0.9381 MB / 4.11 GB, free: 51.72 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005299/11.03, allocations: 0.7802 MB / 4.11 GB, free: 51.71 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006329/11.03, allocations: 2.212 MB / 4.112 GB, free: 51.04 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001758/11.03, allocations: 1.365 MB / 4.114 GB, free: 50.32 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.003351/11.04, allocations: 443 kB / 4.114 GB, free: 50.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003017/11.04, allocations: 76.2 kB / 4.114 GB, free: 50.29 MB / 0.6511 GB Notification: Performance of SimCode: time 2.394e-06/11.04, allocations: 3.281 kB / 4.114 GB, free: 50.29 MB / 0.6511 GB Notification: Performance of Templates: time 0.08611/11.12, allocations: 41.59 MB / 4.155 GB, free: 48.09 MB / 0.6511 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1)