Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.259/2.259, allocations: 253.2 MB / 260.6 MB, free: 7.5 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001506/0.001505, allocations: 182.8 kB / 319.9 MB, free: 3.074 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.015/2.015, allocations: 205.6 MB / 0.5708 GB, free: 15.27 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001107/0.001107, allocations: 78.7 kB / 0.6751 GB, free: 4.641 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.204e-05/2.207e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1981, allocations: 106.2 MB / 0.8887 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.86/2.058, allocations: 401.6 MB / 1.281 GB, free: 259.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/2.058, allocations: 94.84 kB / 1.281 GB, free: 259.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.967/4.026, allocations: 398.9 MB / 1.67 GB, free: 232.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.775e-06/4.026, allocations: 0 / 1.67 GB, free: 232.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002822/4.026, allocations: 52.77 kB / 1.671 GB, free: 232.1 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.007025/4.033, allocations: 1.922 MB / 1.672 GB, free: 231.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/4.033, allocations: 7.812 kB / 1.672 GB, free: 231.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001554/4.035, allocations: 221.8 kB / 1.673 GB, free: 231.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006819/4.041, allocations: 2.054 MB / 1.675 GB, free: 230.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.595e-05/4.042, allocations: 46.5 kB / 1.675 GB, free: 230.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004545/4.042, allocations: 86.98 kB / 1.675 GB, free: 230.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004356/4.046, allocations: 1.587 MB / 1.676 GB, free: 230.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004783/4.051, allocations: 1.634 MB / 1.678 GB, free: 230.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.708e-05/4.051, allocations: 7.219 kB / 1.678 GB, free: 230.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001947/4.052, allocations: 7.25 kB / 1.678 GB, free: 230.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.318e-05/4.052, allocations: 38.48 kB / 1.678 GB, free: 230.6 MB / 0.8698 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.01797/4.07, allocations: 7.207 MB / 1.685 GB, free: 227.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002677/4.072, allocations: 1.26 MB / 1.686 GB, free: 227.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001221/4.074, allocations: 0.5968 MB / 1.687 GB, free: 227.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01001/4.084, allocations: 3.738 MB / 1.69 GB, free: 224.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.612e-05/4.084, allocations: 42.59 kB / 1.69 GB, free: 224.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=86): time 3.706e-06/4.084, allocations: 1.906 kB / 1.69 GB, free: 224.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86): time 0.003954/4.088, allocations: 1.112 MB / 1.692 GB, free: 224.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/4.088, allocations: 59.59 kB / 1.692 GB, free: 224.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002624/4.09, allocations: 1.227 MB / 1.693 GB, free: 223.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003697/4.091, allocations: 25.7 kB / 1.693 GB, free: 223.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007992/4.092, allocations: 0.7622 MB / 1.694 GB, free: 223.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005011/4.092, allocations: 301.7 kB / 1.694 GB, free: 222.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/4.092, allocations: 0 / 1.694 GB, free: 222.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001397/4.092, allocations: 360.4 kB / 1.694 GB, free: 222.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001391/4.094, allocations: 0.6384 MB / 1.695 GB, free: 222.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00168/4.096, allocations: 0.9744 MB / 1.696 GB, free: 221.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004616/4.1, allocations: 1.174 MB / 1.697 GB, free: 221.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.947e-05/4.1, allocations: 3.719 kB / 1.697 GB, free: 221.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.007439/4.108, allocations: 2.124 MB / 1.699 GB, free: 220.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007488/4.109, allocations: 3.492 MB / 1.702 GB, free: 217 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.237e-05/4.109, allocations: 11.25 kB / 1.702 GB, free: 217 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.346e-05/4.109, allocations: 15.22 kB / 1.702 GB, free: 217 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002786/4.111, allocations: 352.6 kB / 1.703 GB, free: 217 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.108e-05/4.112, allocations: 25.16 kB / 1.703 GB, free: 217 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0024/4.114, allocations: 172.2 kB / 1.703 GB, free: 216.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003686/4.114, allocations: 62.94 kB / 1.703 GB, free: 216.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/4.114, allocations: 4.969 kB / 1.703 GB, free: 216.9 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006905/4.121, allocations: 1.958 MB / 1.705 GB, free: 216.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.434e-05/4.121, allocations: 13.91 kB / 1.705 GB, free: 216.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.866e-05/4.121, allocations: 14.91 kB / 1.705 GB, free: 216.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002701/4.124, allocations: 348.6 kB / 1.705 GB, free: 216.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.922e-05/4.124, allocations: 25.33 kB / 1.705 GB, free: 216.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002281/4.126, allocations: 142.6 kB / 1.705 GB, free: 216.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00029/4.127, allocations: 57.77 kB / 1.706 GB, free: 216.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (176): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0004098/4.127, allocations: 139.1 kB / 1.706 GB, free: 216.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000504/4.128, allocations: 129.9 kB / 1.706 GB, free: 216.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004016/4.132, allocations: 1.235 MB / 1.707 GB, free: 215.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/4.132, allocations: 7.094 kB / 1.707 GB, free: 215.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/4.132, allocations: 7.922 kB / 1.707 GB, free: 215.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003042/4.135, allocations: 1.313 MB / 1.708 GB, free: 215 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01021/4.145, allocations: 2.707 MB / 1.711 GB, free: 213.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-05/4.145, allocations: 3 kB / 1.711 GB, free: 213.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002542/4.148, allocations: 181.4 kB / 1.711 GB, free: 213.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.884e-05/4.148, allocations: 3.875 kB / 1.711 GB, free: 213.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002272/4.148, allocations: 23.52 kB / 1.711 GB, free: 213.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.245e-05/4.148, allocations: 3.969 kB / 1.711 GB, free: 213.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/4.148, allocations: 2.156 kB / 1.711 GB, free: 213.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007662/4.156, allocations: 1.909 MB / 1.713 GB, free: 213.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001857/4.158, allocations: 395.2 kB / 1.713 GB, free: 212.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006143/4.158, allocations: 7.812 kB / 1.713 GB, free: 212.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002339/4.161, allocations: 43.59 kB / 1.713 GB, free: 212.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002641/4.161, allocations: 51.5 kB / 1.713 GB, free: 212.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001784/4.161, allocations: 40.44 kB / 1.714 GB, free: 212.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002925/4.164, allocations: 0.9342 MB / 1.714 GB, free: 212.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.432e-06/4.164, allocations: 0 / 1.714 GB, free: 212.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006764/4.171, allocations: 0.9386 MB / 1.715 GB, free: 212.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (indTanHex.vol[1].dynBal.U,indTanHex.vol[2].dynBal.U,indTanHex.vol[3].dynBal.U,indTanHex.cap[1].T,indTanHex.cap[2].T,indTanHex.cap[3].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.001975/4.173, allocations: 495.7 kB / 1.716 GB, free: 212 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.007606/4.181, allocations: 2.208 MB / 1.718 GB, free: 211.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/4.181, allocations: 0 / 1.718 GB, free: 211.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001523/4.182, allocations: 492.3 kB / 1.718 GB, free: 211.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007717/4.19, allocations: 0.6299 MB / 1.719 GB, free: 211 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/4.201, allocations: 2.945 MB / 1.722 GB, free: 210 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002502/4.204, allocations: 1.687 MB / 1.724 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.008722/4.212, allocations: 1.146 MB / 1.725 GB, free: 208.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009047/4.213, allocations: 104.8 kB / 1.725 GB, free: 208.9 MB / 0.8698 GB Notification: Performance of SimCode: time 3.196e-06/4.213, allocations: 0 / 1.725 GB, free: 208.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.07352/4.287, allocations: 27.76 MB / 1.752 GB, free: 183.4 MB / 0.8698 GB