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.712/2.712, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001565/0.001565, allocations: 184.6 kB / 325.6 MB, free: 2.836 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.319/2.319, allocations: 205.4 MB / 0.5766 GB, free: 20.75 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.001134/0.001134, allocations: 96.42 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004752/0.0004754, allocations: 11.88 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.206, allocations: 106.3 MB / 0.8989 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.03169/0.2378, allocations: 24.01 MB / 0.9223 GB, free: 41.42 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01269/0.2505, allocations: 6.805 MB / 0.929 GB, free: 34.6 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001394/0.2519, allocations: 23.81 kB / 0.929 GB, free: 34.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001835/0.2538, allocations: 394 kB / 0.9294 GB, free: 34.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004186/0.258, allocations: 0.997 MB / 0.9303 GB, free: 33.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004563/0.2626, allocations: 1.039 MB / 0.9314 GB, free: 32.16 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004844/0.2675, allocations: 2.694 MB / 0.934 GB, free: 29.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00265/0.2702, allocations: 1.601 MB / 0.9356 GB, free: 27.83 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002882/0.2731, allocations: 1.164 MB / 0.9367 GB, free: 26.66 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002079/0.2753, allocations: 0.9255 MB / 0.9376 GB, free: 25.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0004082/0.2757, allocations: 80 kB / 0.9377 GB, free: 25.66 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003117/0.2788, allocations: 0.8466 MB / 0.9385 GB, free: 24.81 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0007491/0.2797, allocations: 338.6 kB / 0.9388 GB, free: 24.48 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0006913/0.2804, allocations: 420.8 kB / 0.9392 GB, free: 24.06 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.004198/0.2846, allocations: 2.736 MB / 0.9419 GB, free: 21.32 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2846, allocations: 0 / 0.9419 GB, free: 21.32 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.186e-06/0.2847, allocations: 0 / 0.9419 GB, free: 21.32 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001018/0.2848, allocations: 0 / 0.9419 GB, free: 21.32 MB / 0.6042 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.006665/0.2914, allocations: 2.121 MB / 0.944 GB, free: 19.14 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.2915, allocations: 12.03 kB / 0.944 GB, free: 19.13 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001357/0.2929, allocations: 233.5 kB / 0.9442 GB, free: 18.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004327/0.2972, allocations: 1.605 MB / 0.9458 GB, free: 17.24 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/0.2974, allocations: 114.7 kB / 0.9459 GB, free: 17.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004891/0.2979, allocations: 152 kB / 0.946 GB, free: 16.98 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005663/0.3036, allocations: 1.951 MB / 0.9479 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.47e-05/0.3037, allocations: 8 kB / 0.9479 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002341/0.304, allocations: 63.97 kB / 0.948 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.446e-05/0.3041, allocations: 51.94 kB / 0.948 GB, free: 14.84 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005214/0.3093, allocations: 1.786 MB / 0.9498 GB, free: 13.05 MB / 0.6042 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.01796/0.3273, allocations: 7.66 MB / 0.9573 GB, free: 5.078 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002992/0.3304, allocations: 1.464 MB / 0.9587 GB, free: 3.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009963/0.3404, allocations: 3.873 MB / 0.9625 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.736e-05/0.3405, allocations: 39.56 kB / 0.9625 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=88): time 5.039e-06/0.3405, allocations: 4 kB / 0.9625 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=88): time 0.004258/0.3448, allocations: 1.506 MB / 0.964 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.811e-05/0.3449, allocations: 64.34 kB / 0.9641 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003715/0.3486, allocations: 1.656 MB / 0.9657 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002805/0.3489, allocations: 49.7 kB / 0.9657 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001026/0.35, allocations: 0.7496 MB / 0.9665 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005451/0.3505, allocations: 311.5 kB / 0.9667 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.3507, allocations: 28 kB / 0.9668 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002281/0.3509, allocations: 373.9 kB / 0.9671 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001868/0.3528, allocations: 0.6792 MB / 0.9678 GB, free: 9.898 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002462/0.3553, allocations: 1.005 MB / 0.9688 GB, free: 8.762 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002403/0.3578, allocations: 0.8689 MB / 0.9696 GB, free: 7.891 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.32e-05/0.3578, allocations: 0 / 0.9696 GB, free: 7.891 MB / 0.6198 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.005674/0.3635, allocations: 1.936 MB / 0.9715 GB, free: 5.945 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.00139/0.365, allocations: 3.522 MB / 0.975 GB, free: 2.184 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-05/0.365, allocations: 8 kB / 0.975 GB, free: 2.176 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.606e-05/0.3651, allocations: 16 kB / 0.975 GB, free: 2.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002878/0.368, allocations: 343.5 kB / 0.9753 GB, free: 1.824 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.945e-05/0.3681, allocations: 23.92 kB / 0.9753 GB, free: 1.801 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002456/0.3705, allocations: 227.7 kB / 0.9755 GB, free: 1.578 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002978/0.3709, allocations: 59.98 kB / 0.9756 GB, free: 1.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.3709, allocations: 7.938 kB / 0.9756 GB, free: 1.512 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004991/0.3759, allocations: 1.784 MB / 0.9774 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.251e-05/0.376, allocations: 15.89 kB / 0.9774 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.001e-05/0.376, allocations: 16 kB / 0.9774 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002744/0.3788, allocations: 343.5 kB / 0.9777 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-05/0.3789, allocations: 23.92 kB / 0.9777 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002368/0.3812, allocations: 198.7 kB / 0.9779 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002855/0.3816, allocations: 59.98 kB / 0.978 GB, free: 15.08 MB / 0.6355 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (175): * Single equations (assignments): 175 * 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.001799/0.3834, allocations: 0.7472 MB / 0.9787 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006096/0.384, allocations: 146.2 kB / 0.9788 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003565/0.3876, allocations: 1.283 MB / 0.9801 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.421e-05/0.3877, allocations: 12 kB / 0.9801 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.3877, allocations: 4 kB / 0.9801 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002611/0.3903, allocations: 1.281 MB / 0.9814 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007645/0.398, allocations: 2.943 MB / 0.9842 GB, free: 8.484 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.799e-06/0.3981, allocations: 0 / 0.9842 GB, free: 8.484 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001635/0.3997, allocations: 183.7 kB / 0.9844 GB, free: 8.305 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.631e-05/0.3998, allocations: 8.125 kB / 0.9844 GB, free: 8.297 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/0.3999, allocations: 20 kB / 0.9844 GB, free: 8.277 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-05/0.3999, allocations: 12.05 kB / 0.9845 GB, free: 8.266 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.3999, allocations: 4 kB / 0.9845 GB, free: 8.262 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005042/0.405, allocations: 1.967 MB / 0.9864 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001594/0.4067, allocations: 438.8 kB / 0.9868 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006791/0.4074, allocations: 23.98 kB / 0.9868 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002067/0.4095, allocations: 81.06 kB / 0.9869 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002803/0.4098, allocations: 52.92 kB / 0.9869 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001469/0.41, allocations: 31.98 kB / 0.987 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.00336/0.4134, allocations: 1.253 MB / 0.9882 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.11e-07/0.4134, allocations: 3.938 kB / 0.9882 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004802/0.4182, allocations: 0.9123 MB / 0.9891 GB, free: 3.418 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 87 * 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.001252/0.4195, allocations: 350.6 kB / 0.9894 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.006518/0.4261, allocations: 2.309 MB / 0.9917 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/0.4262, allocations: 4.125 kB / 0.9917 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001303/0.4275, allocations: 0.517 MB / 0.9922 GB, free: 256 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006964/0.4345, allocations: 0.8521 MB / 0.993 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00976/0.4443, allocations: 4.314 MB / 0.9972 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001847/0.4462, allocations: 1.7 MB / 0.9989 GB, free: 9.324 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.004672/0.4509, allocations: 0.9288 MB / 0.9998 GB, free: 8.414 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007744/0.4517, allocations: 131.4 kB / 0.9999 GB, free: 8.285 MB / 0.6511 GB Notification: Performance of SimCode: time 1.072e-06/0.4517, allocations: 0 / 0.9999 GB, free: 8.285 MB / 0.6511 GB Notification: Performance of Templates: time 0.08928/0.541, allocations: 33.34 MB / 1.032 GB, free: 7.211 MB / 0.6823 GB