Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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) 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 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5371/0.5371, allocations: 94.69 MB / 107.2 MB, free: 5.188 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001217/0.001217, allocations: 175 kB / 130.7 MB, free: 7.551 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.388/1.388, allocations: 170.5 MB / 324.5 MB, free: 4.012 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001693/0.001693, allocations: 109.4 kB / 386.6 MB, free: 16.29 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.225e-05/3.227e-05, allocations: 4 kB / 456 MB, free: 11.76 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3943/0.3944, allocations: 61.52 MB / 0.5054 GB, free: 49.68 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.96/14.35, allocations: 5.577 GB / 6.083 GB, free: 36.62 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003259/14.36, allocations: 91.94 kB / 6.083 GB, free: 36.53 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.335/18.69, allocations: 0.9242 GB / 7.007 GB, free: 42.31 MB / 0.5573 GB Notification: Performance of FrontEnd: time 4.318e-06/18.69, allocations: 1.281 kB / 7.007 GB, free: 42.31 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0003664/18.69, allocations: 52.06 kB / 7.007 GB, free: 42.3 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.01312/18.7, allocations: 2.544 MB / 7.009 GB, free: 41.2 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 7.477e-05/18.7, allocations: 9.375 kB / 7.01 GB, free: 41.2 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001971/18.71, allocations: 238.4 kB / 7.01 GB, free: 41.09 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0609/18.77, allocations: 28.18 MB / 7.037 GB, free: 39.13 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/18.77, allocations: 99.38 kB / 7.037 GB, free: 39.13 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002611/18.77, allocations: 137.8 kB / 7.037 GB, free: 39.12 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003197/18.77, allocations: 1.443 MB / 7.039 GB, free: 38.95 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.264e-05/18.77, allocations: 0 / 7.039 GB, free: 38.95 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001529/18.77, allocations: 56.47 kB / 7.039 GB, free: 38.95 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.487e-05/18.77, allocations: 50.47 kB / 7.039 GB, free: 38.95 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002197/18.77, allocations: 1.21 MB / 7.04 GB, free: 38.93 MB / 0.5573 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.009948/18.78, allocations: 6.039 MB / 7.046 GB, free: 36.3 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/18.78, allocations: 0.7405 MB / 7.047 GB, free: 36.27 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006274/18.79, allocations: 407.5 kB / 7.047 GB, free: 36.24 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000357/18.79, allocations: 363.9 kB / 7.048 GB, free: 35.86 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.142e-05/18.79, allocations: 46.72 kB / 7.048 GB, free: 35.82 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=72): time 3.236e-06/18.79, allocations: 0 / 7.048 GB, free: 35.82 MB / 0.5573 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: hex.vol2.dynBal.medium.Xi[1] 2: hex.vol2.dynBal.medium.T 3: hex.vol2.dynBal.medium.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=82): time 0.01608/18.8, allocations: 3.805 MB / 7.051 GB, free: 34.93 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/18.8, allocations: 112.6 kB / 7.051 GB, free: 34.8 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002231/18.8, allocations: 1.334 MB / 7.053 GB, free: 34.62 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002202/18.8, allocations: 51.42 kB / 7.053 GB, free: 34.59 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006287/18.8, allocations: 0.8058 MB / 7.054 GB, free: 34.3 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002727/18.81, allocations: 289.9 kB / 7.054 GB, free: 34.12 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-05/18.81, allocations: 25.31 kB / 7.054 GB, free: 34.12 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.972e-05/18.81, allocations: 344 kB / 7.054 GB, free: 33.82 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006023/18.81, allocations: 361.2 kB / 7.055 GB, free: 33.82 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008156/18.81, allocations: 0.6544 MB / 7.055 GB, free: 33.48 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008359/18.81, allocations: 471.8 kB / 7.056 GB, free: 33.46 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.321e-06/18.81, allocations: 3.953 kB / 7.056 GB, free: 33.46 MB / 0.5573 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002492/18.81, allocations: 1.264 MB / 7.057 GB, free: 33.27 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006276/18.81, allocations: 2.254 MB / 7.059 GB, free: 30.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/18.81, allocations: 6.188 kB / 7.059 GB, free: 30.89 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001837/18.81, allocations: 371.8 kB / 7.059 GB, free: 30.86 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/18.81, allocations: 265.8 kB / 7.06 GB, free: 30.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001136/18.82, allocations: 2.343 MB / 7.062 GB, free: 28.69 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002085/18.82, allocations: 127.7 kB / 7.062 GB, free: 28.68 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/18.82, allocations: 49 kB / 7.062 GB, free: 28.68 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/18.82, allocations: 5.656 kB / 7.062 GB, free: 28.68 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00194/18.82, allocations: 1.278 MB / 7.063 GB, free: 28.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/18.82, allocations: 4.969 kB / 7.063 GB, free: 28.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004958/18.82, allocations: 176.8 kB / 7.064 GB, free: 28.38 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008537/18.82, allocations: 216.9 kB / 7.064 GB, free: 28.37 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002246/18.82, allocations: 3.588 MB / 7.067 GB, free: 25.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001786/18.82, allocations: 121.3 kB / 7.067 GB, free: 25.15 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/18.82, allocations: 47.66 kB / 7.067 GB, free: 25.15 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 111 * 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 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003934/18.83, allocations: 165.1 kB / 7.068 GB, free: 25.03 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002937/18.83, allocations: 169.1 kB / 7.068 GB, free: 24.94 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002203/18.83, allocations: 1.119 MB / 7.069 GB, free: 24.81 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/18.83, allocations: 10.59 kB / 7.069 GB, free: 24.81 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/18.83, allocations: 3.953 kB / 7.069 GB, free: 24.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/18.83, allocations: 3.75 kB / 7.069 GB, free: 24.8 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00414/18.83, allocations: 2.631 MB / 7.071 GB, free: 24.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/18.83, allocations: 0 / 7.071 GB, free: 24.29 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/18.83, allocations: 190.3 kB / 7.072 GB, free: 24.29 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002138/18.84, allocations: 430.5 kB / 7.072 GB, free: 24.25 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.928e-05/18.84, allocations: 27.53 kB / 7.072 GB, free: 24.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001253/18.84, allocations: 2.877 MB / 7.075 GB, free: 21.58 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/18.84, allocations: 2.75 kB / 7.075 GB, free: 21.58 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002498/18.84, allocations: 1.525 MB / 7.076 GB, free: 21.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001109/18.84, allocations: 375.6 kB / 7.077 GB, free: 21.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000205/18.84, allocations: 21.33 kB / 7.077 GB, free: 21.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/18.84, allocations: 106.2 kB / 7.077 GB, free: 21.11 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/18.84, allocations: 55.02 kB / 7.077 GB, free: 21.11 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/18.84, allocations: 47.69 kB / 7.077 GB, free: 21.11 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001564/18.84, allocations: 1.02 MB / 7.078 GB, free: 20.99 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.01e-07/18.84, allocations: 0 / 7.078 GB, free: 20.99 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004847/18.85, allocations: 1.248 MB / 7.079 GB, free: 20.87 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hex.vol1.dynBal.medium.T,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 (74): * Single equations (assignments): 69 * 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: 4 * 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: 4 {1 3,1 6,1 3,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004163/18.85, allocations: 1.986 MB / 7.081 GB, free: 20.31 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003338/18.86, allocations: 1.802 MB / 7.083 GB, free: 19.99 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/18.86, allocations: 0.75 kB / 7.083 GB, free: 19.99 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0009858/18.86, allocations: 496 kB / 7.083 GB, free: 19.96 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004708/18.86, allocations: 0.8436 MB / 7.084 GB, free: 19.91 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00449/18.87, allocations: 2.355 MB / 7.086 GB, free: 19.14 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008309/18.87, allocations: 1.371 MB / 7.088 GB, free: 18.39 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002665/18.87, allocations: 0.5401 MB / 7.088 GB, free: 18.31 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002755/18.87, allocations: 96.45 kB / 7.088 GB, free: 18.3 MB / 0.5573 GB Notification: Performance of SimCode: time 1.443e-06/18.87, allocations: 0 / 7.088 GB, free: 18.3 MB / 0.5573 GB Notification: Performance of Templates: time 0.09521/18.97, allocations: 62.46 MB / 7.149 GB, free: 2.906 MB / 0.573 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1)