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.846/0.846, allocations: 133.7 MB / 148.6 MB, free: 13.64 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.001241/0.001241, allocations: 178.3 kB / 180.9 MB, free: 15.06 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.682/1.682, allocations: 170.7 MB / 383.7 MB, free: 16.11 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.001872/0.001871, allocations: 117.4 kB / 454.6 MB, free: 9.703 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.2075/0.208, allocations: 73.41 MB / 0.6812 GB, free: 5.52 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.202/6.41, allocations: 2.387 GB / 3.068 GB, free: 59.08 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003686/6.41, allocations: 96.92 kB / 3.068 GB, free: 58.99 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.938/10.35, allocations: 1.013 GB / 4.081 GB, free: 8.145 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.816e-06/10.35, allocations: 0 / 4.081 GB, free: 8.145 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0003752/10.35, allocations: 55.97 kB / 4.081 GB, free: 8.09 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.009671/10.36, allocations: 2.286 MB / 4.084 GB, free: 5.742 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.757e-05/10.36, allocations: 12.03 kB / 4.084 GB, free: 5.73 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002883/10.36, allocations: 353.3 kB / 4.084 GB, free: 5.383 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6412/11, allocations: 7.983 MB / 4.092 GB, free: 68.38 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003085/11, allocations: 104.7 kB / 4.092 GB, free: 68.37 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009728/11, allocations: 138.3 kB / 4.092 GB, free: 68.37 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005793/11.01, allocations: 1.631 MB / 4.094 GB, free: 68.16 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.223e-05/11.01, allocations: 1.188 kB / 4.094 GB, free: 68.16 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001892/11.01, allocations: 58.61 kB / 4.094 GB, free: 68.16 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001169/11.01, allocations: 55.38 kB / 4.094 GB, free: 68.15 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00411/11.01, allocations: 1.292 MB / 4.095 GB, free: 68.14 MB / 0.6511 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.01167/11.03, allocations: 6.414 MB / 4.101 GB, free: 64.68 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003284/11.03, allocations: 1.022 MB / 4.102 GB, free: 64.56 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002011/11.03, allocations: 98.2 kB / 4.102 GB, free: 64.47 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.374e-05/11.03, allocations: 44.5 kB / 4.102 GB, free: 64.43 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=72): time 3.937e-06/11.03, allocations: 0 / 4.102 GB, free: 64.43 MB / 0.6511 GB Notification: Performance of matching and sorting (n=72): time 0.007636/11.04, allocations: 1.954 MB / 4.104 GB, free: 64.1 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.765e-05/11.04, allocations: 115.4 kB / 4.104 GB, free: 63.97 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002432/11.04, allocations: 1.155 MB / 4.105 GB, free: 63.82 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002191/11.04, allocations: 45.48 kB / 4.106 GB, free: 63.79 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006894/11.04, allocations: 0.7591 MB / 4.106 GB, free: 63.57 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003129/11.04, allocations: 258.7 kB / 4.106 GB, free: 63.45 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.866e-05/11.04, allocations: 19 kB / 4.107 GB, free: 63.45 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001061/11.04, allocations: 339.5 kB / 4.107 GB, free: 63.14 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009041/11.04, allocations: 382.3 kB / 4.107 GB, free: 63.14 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/11.04, allocations: 0.7009 MB / 4.108 GB, free: 62.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000915/11.04, allocations: 474.8 kB / 4.108 GB, free: 62.8 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.503e-06/11.04, allocations: 3.188 kB / 4.108 GB, free: 62.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004143/11.05, allocations: 1.423 MB / 4.11 GB, free: 62.65 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007015/11.05, allocations: 1.893 MB / 4.112 GB, free: 60.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/11.05, allocations: 8.156 kB / 4.112 GB, free: 60.65 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000681/11.05, allocations: 186.2 kB / 4.112 GB, free: 60.64 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003491/11.05, allocations: 0.6032 MB / 4.112 GB, free: 60.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002808/11.06, allocations: 3.232 MB / 4.116 GB, free: 57.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002589/11.06, allocations: 236.8 kB / 4.116 GB, free: 57.81 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/11.06, allocations: 38.02 kB / 4.116 GB, free: 57.81 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/11.06, allocations: 3.812 kB / 4.116 GB, free: 57.81 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001862/11.06, allocations: 0.8929 MB / 4.117 GB, free: 57.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/11.06, allocations: 3.938 kB / 4.117 GB, free: 57.77 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002674/11.06, allocations: 72.03 kB / 4.117 GB, free: 57.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009403/11.06, allocations: 206.9 kB / 4.117 GB, free: 57.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002828/11.07, allocations: 3.492 MB / 4.12 GB, free: 54.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002325/11.07, allocations: 192.4 kB / 4.121 GB, free: 54.49 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/11.07, allocations: 30.88 kB / 4.121 GB, free: 54.49 MB / 0.6511 GB Warning: Assuming fixed start value for the following 1 variables: hex.vol1.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = 0.1506650354665494 * hex.vol1.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: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,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 3} Notification: Performance of prepare postOptimizeDAE: time 0.001728/11.07, allocations: 481.6 kB / 4.121 GB, free: 54.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007401/11.07, allocations: 158.4 kB / 4.121 GB, free: 54.22 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004265/11.07, allocations: 1.297 MB / 4.122 GB, free: 54.11 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/11.07, allocations: 7.031 kB / 4.122 GB, free: 54.11 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/11.07, allocations: 0.8438 kB / 4.122 GB, free: 54.11 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003307/11.08, allocations: 1.416 MB / 4.124 GB, free: 53.64 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008743/11.09, allocations: 2.841 MB / 4.127 GB, free: 53.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.386e-05/11.09, allocations: 8.125 kB / 4.127 GB, free: 53.14 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003252/11.09, allocations: 0.5773 MB / 4.127 GB, free: 53.14 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006724/11.09, allocations: 208.2 kB / 4.127 GB, free: 53.12 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/11.09, allocations: 15.61 kB / 4.127 GB, free: 53.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01036/11.1, allocations: 7.471 MB / 4.135 GB, free: 47.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/11.1, allocations: 4.906 kB / 4.135 GB, free: 47.18 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005403/11.11, allocations: 2.061 MB / 4.137 GB, free: 46.66 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001828/11.11, allocations: 356.3 kB / 4.137 GB, free: 46.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007111/11.11, allocations: 16.72 kB / 4.137 GB, free: 46.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002326/11.11, allocations: 153.8 kB / 4.137 GB, free: 46.48 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003012/11.11, allocations: 65.09 kB / 4.137 GB, free: 46.48 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001951/11.11, allocations: 39.8 kB / 4.137 GB, free: 46.48 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.002124/11.11, allocations: 0.8961 MB / 4.138 GB, free: 46.37 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.5e-07/11.11, allocations: 3.125 kB / 4.138 GB, free: 46.37 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.005785/11.12, allocations: 1.047 MB / 4.139 GB, free: 46.33 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (hex.vol1.dynBal.U,hex.vol1.dynBal.m,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004541/11.12, allocations: 2.008 MB / 4.141 GB, free: 45.77 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.007062/11.13, allocations: 2.04 MB / 4.143 GB, free: 45.52 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.588e-05/11.13, allocations: 4.688 kB / 4.143 GB, free: 45.52 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.005987/11.14, allocations: 1.423 MB / 4.145 GB, free: 45.29 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005701/11.14, allocations: 0.9089 MB / 4.145 GB, free: 45.28 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007895/11.15, allocations: 3.622 MB / 4.149 GB, free: 43.71 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001685/11.15, allocations: 1.36 MB / 4.15 GB, free: 43 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002937/11.16, allocations: 370.5 kB / 4.151 GB, free: 42.98 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005734/11.16, allocations: 114.4 kB / 4.151 GB, free: 42.98 MB / 0.6511 GB Notification: Performance of SimCode: time 2.384e-06/11.16, allocations: 0 / 4.151 GB, free: 42.98 MB / 0.6511 GB Notification: Performance of Templates: time 0.1018/11.26, allocations: 53.94 MB / 4.203 GB, free: 40.07 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)