Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.56/4.56, allocations: 0.5623 GB / 0.5769 GB, free: 3.297 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002415/0.002414, allocations: 356 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.87/3.87, allocations: 410.7 MB / 1.112 GB, free: 5.93 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001783/0.001783, allocations: 188.5 kB / 1.225 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004743/0.0004745, allocations: 15.98 kB / 1.348 GB, free: 8.266 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.609/0.6095, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics): time 0.09419/0.7037, allocations: 103.3 MB / 1.562 GB, free: 181.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.03779/0.7415, allocations: 29.59 MB / 1.591 GB, free: 151.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004472/0.7461, allocations: 127.1 kB / 1.591 GB, free: 151.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.003931/0.75, allocations: 1.479 MB / 1.592 GB, free: 149.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0128/0.7628, allocations: 4.413 MB / 1.596 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01056/0.7734, allocations: 3.298 MB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.04128/0.8147, allocations: 50.51 MB / 1.649 GB, free: 91.54 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02172/0.8365, allocations: 15.69 MB / 1.664 GB, free: 75.85 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01842/0.8549, allocations: 11.13 MB / 1.675 GB, free: 64.67 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0175/0.8725, allocations: 11.74 MB / 1.687 GB, free: 52.88 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.00368/0.8762, allocations: 0.7617 MB / 1.687 GB, free: 52.12 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01081/0.887, allocations: 2.157 MB / 1.689 GB, free: 49.96 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.005129/0.8922, allocations: 3.327 MB / 1.693 GB, free: 46.62 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.006558/0.8988, allocations: 3.708 MB / 1.696 GB, free: 42.89 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.02796/0.9268, allocations: 27.52 MB / 1.723 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.483e-06/0.9268, allocations: 4 kB / 1.723 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.411e-06/0.9268, allocations: 0 / 1.723 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0005852/0.9274, allocations: 0 / 1.723 GB, free: 15.3 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3345 * Number of variables: 3345 Notification: Performance of Generate backend data structure: time 1.102/2.03, allocations: 15.98 MB / 1.739 GB, free: 237.6 MB / 0.8543 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/2.03, allocations: 14.03 kB / 1.739 GB, free: 237.6 MB / 0.8543 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009575/2.039, allocations: 1.954 MB / 1.741 GB, free: 236.7 MB / 0.8543 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0369/2.076, allocations: 15.51 MB / 1.756 GB, free: 229.6 MB / 0.8543 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001113/2.077, allocations: 0.9995 MB / 1.757 GB, free: 229.1 MB / 0.8543 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004316/2.082, allocations: 1.341 MB / 1.758 GB, free: 228.7 MB / 0.8543 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04742/2.129, allocations: 20.16 MB / 1.778 GB, free: 212.9 MB / 0.8543 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003891/2.13, allocations: 39.66 kB / 1.778 GB, free: 212.8 MB / 0.8543 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002367/2.132, allocations: 0.5479 MB / 1.778 GB, free: 212.3 MB / 0.8543 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003304/2.132, allocations: 387.1 kB / 1.779 GB, free: 211.9 MB / 0.8543 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04003/2.172, allocations: 18.07 MB / 1.796 GB, free: 193.8 MB / 0.8543 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.1292/2.302, allocations: 86.41 MB / 1.881 GB, free: 103.9 MB / 0.8543 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0225/2.324, allocations: 12.95 MB / 1.893 GB, free: 91.04 MB / 0.8543 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01304/2.337, allocations: 7.427 MB / 1.901 GB, free: 83.61 MB / 0.8543 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 evalFunc (simulation): time 0.05708/2.394, allocations: 26.85 MB / 1.927 GB, free: 55.63 MB / 0.8543 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01184/2.406, allocations: 6.049 MB / 1.933 GB, free: 49.52 MB / 0.8543 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006035/2.412, allocations: 0.8031 MB / 1.934 GB, free: 48.71 MB / 0.8543 GB Notification: Performance of pre-optimization done (n=772): time 1.973e-05/2.412, allocations: 0 / 1.934 GB, free: 48.71 MB / 0.8543 GB Notification: Performance of matching and sorting (n=772): time 0.1302/2.543, allocations: 32.24 MB / 1.965 GB, free: 16.31 MB / 0.8543 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.304e-05/2.543, allocations: 155.1 kB / 1.965 GB, free: 16.14 MB / 0.8543 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0206/2.563, allocations: 12.09 MB / 1.977 GB, free: 4.074 MB / 0.8543 GB Notification: Performance of collectPreVariables (initialization): time 0.001602/2.565, allocations: 205.7 kB / 1.977 GB, free: 3.867 MB / 0.8543 GB Notification: Performance of collectInitialEqns (initialization): time 0.008102/2.573, allocations: 6.95 MB / 1.984 GB, free: 12.86 MB / 0.8699 GB Notification: Performance of collectInitialBindings (initialization): time 0.004432/2.577, allocations: 2.696 MB / 1.987 GB, free: 10.12 MB / 0.8699 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001009/2.579, allocations: 228 kB / 1.987 GB, free: 9.898 MB / 0.8699 GB Notification: Performance of setup shared object (initialization): time 0.0008691/2.579, allocations: 0.7815 MB / 1.988 GB, free: 9.109 MB / 0.8699 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01408/2.594, allocations: 6.233 MB / 1.994 GB, free: 2.871 MB / 0.8699 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.018/2.612, allocations: 9.547 MB / 2.003 GB, free: 7.934 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01764/2.629, allocations: 8.114 MB / 2.011 GB, free: 15.77 MB / 0.9012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.926e-05/2.629, allocations: 28 kB / 2.011 GB, free: 15.74 MB / 0.9012 GB Notification: Performance of matching and sorting (n=1474) (initialization): time 0.04647/2.676, allocations: 18.81 MB / 2.029 GB, free: 12.8 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 0.00298/2.679, allocations: 3.089 MB / 2.032 GB, free: 8.312 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001607/2.679, allocations: 96 kB / 2.033 GB, free: 8.219 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0785/2.758, allocations: 9.063 MB / 2.041 GB, free: 15.14 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01375/2.771, allocations: 2.449 MB / 2.044 GB, free: 12.69 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01808/2.789, allocations: 10.37 MB / 2.054 GB, free: 2.035 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01486/2.804, allocations: 1.1 MB / 2.055 GB, free: 0.9336 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00214/2.807, allocations: 0.5194 MB / 2.055 GB, free: 424 kB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/2.807, allocations: 4 kB / 2.055 GB, free: 420 kB / 0.9324 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.042/2.849, allocations: 17.84 MB / 2.073 GB, free: 14.47 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002452/2.849, allocations: 100 kB / 2.073 GB, free: 14.38 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07797/2.927, allocations: 9.016 MB / 2.082 GB, free: 5.34 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01364/2.94, allocations: 2.449 MB / 2.084 GB, free: 2.887 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01753/2.958, allocations: 10.37 MB / 2.094 GB, free: 8.219 MB / 0.9793 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01408/2.972, allocations: 1.064 MB / 2.095 GB, free: 7.152 MB / 0.9793 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002545/2.975, allocations: 0.5194 MB / 2.096 GB, free: 6.633 MB / 0.9793 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 448 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mHex_flow_in.T_start,mHex_flow_in.T_start,$PRE.mHex_flow_in.count,mHex_flow_in.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1286): * Single equations (assignments): 1282 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 1 {16 144} Notification: Performance of prepare postOptimizeDAE: time 0.01427/2.989, allocations: 5.957 MB / 2.102 GB, free: 0.6602 MB / 0.9793 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.107/4.096, allocations: 1.15 MB / 2.103 GB, free: 337.6 MB / 0.9794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03197/4.128, allocations: 13.33 MB / 2.116 GB, free: 334.1 MB / 0.9794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.467e-05/4.128, allocations: 82.3 kB / 2.116 GB, free: 334.1 MB / 0.9794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.511e-05/4.128, allocations: 11.69 kB / 2.116 GB, free: 334.1 MB / 0.9794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02482/4.153, allocations: 11 MB / 2.127 GB, free: 330 MB / 0.9794 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 postOpt removeSimpleEquations (simulation): time 0.06745/4.221, allocations: 28.83 MB / 2.155 GB, free: 316.8 MB / 0.9794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.428e-05/4.221, allocations: 0 / 2.155 GB, free: 316.8 MB / 0.9794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00801/4.229, allocations: 1.294 MB / 2.156 GB, free: 315.5 MB / 0.9794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07509/4.304, allocations: 8.295 MB / 2.164 GB, free: 307.6 MB / 0.9794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001457/4.305, allocations: 195.9 kB / 2.164 GB, free: 307.4 MB / 0.9794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0138/4.319, allocations: 10.04 MB / 2.174 GB, free: 297.2 MB / 0.9794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/4.319, allocations: 4 kB / 2.174 GB, free: 297.2 MB / 0.9794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03752/4.357, allocations: 19.77 MB / 2.193 GB, free: 277.9 MB / 0.9794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009013/4.366, allocations: 2.949 MB / 2.196 GB, free: 274.9 MB / 0.9794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003718/4.37, allocations: 156.7 kB / 2.197 GB, free: 274.7 MB / 0.9794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01163/4.381, allocations: 0.8755 MB / 2.197 GB, free: 274 MB / 0.9794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001717/4.383, allocations: 455.8 kB / 2.198 GB, free: 273.5 MB / 0.9794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001132/4.384, allocations: 319.8 kB / 2.198 GB, free: 273.2 MB / 0.9794 GB Notification: Performance of sorting global known variables: time 0.01717/4.401, allocations: 8.618 MB / 2.207 GB, free: 264.6 MB / 0.9794 GB Notification: Performance of sort global known variables: time 1.174e-06/4.401, allocations: 6.188 kB / 2.207 GB, free: 264.6 MB / 0.9794 GB Notification: Performance of remove unused functions: time 0.02895/4.43, allocations: 8.015 MB / 2.214 GB, free: 257 MB / 0.9794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 30 (tanDyn.vol[1].dynBal.U,tanDyn.vol[2].dynBal.U,tanDyn.vol[3].dynBal.U,tanDyn.vol[4].dynBal.U,tanDyn.vol[5].dynBal.U,tanDyn.vol[6].dynBal.U,tanDyn.vol[7].dynBal.U,tanDyn.indTanHex.vol[1].dynBal.U,tanDyn.indTanHex.vol[2].dynBal.U,tanDyn.indTanHex.vol[3].dynBal.U,tanDyn.indTanHex.vol[4].dynBal.U,tanDyn.indTanHex.vol[5].dynBal.U,tanDyn.indTanHex.vol[6].dynBal.U,tanDyn.indTanHex.vol[7].dynBal.U,tanDyn.indTanHex.vol[8].dynBal.U,tanDyn.indTanHex.cap[1].T,tanDyn.indTanHex.cap[2].T,tanDyn.indTanHex.cap[3].T,tanDyn.indTanHex.cap[4].T,tanDyn.indTanHex.cap[5].T,tanDyn.indTanHex.cap[6].T,tanDyn.indTanHex.cap[7].T,tanDyn.indTanHex.cap[8].T,tanSte.vol[1].dynBal.U,tanSte.vol[2].dynBal.U,tanSte.vol[3].dynBal.U,tanSte.vol[4].dynBal.U,tanSte.vol[5].dynBal.U,tanSte.vol[6].dynBal.U,tanSte.vol[7].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,mHex_flow_in.T_start,mHex_flow_in.count) * Number of discrete states: 1 (mHex_flow_in.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (609): * Single equations (assignments): 596 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 1 {16 144} Notification: Performance of Backend phase and start with SimCode phase: time 0.002949/4.433, allocations: 0.9139 MB / 2.215 GB, free: 256.3 MB / 0.9794 GB Notification: Performance of simCode: created initialization part: time 0.04464/4.478, allocations: 23.04 MB / 2.238 GB, free: 233.2 MB / 0.9794 GB Notification: Performance of simCode: created event and clocks part: time 1.427e-05/4.478, allocations: 9 kB / 2.238 GB, free: 233.2 MB / 0.9794 GB Notification: Performance of simCode: created simulation system equations: time 0.0118/4.49, allocations: 5.884 MB / 2.244 GB, free: 227.3 MB / 0.9794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0388/4.529, allocations: 7.077 MB / 2.25 GB, free: 220.7 MB / 0.9794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06496/4.594, allocations: 37.91 MB / 2.287 GB, free: 182.7 MB / 0.9794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01559/4.609, allocations: 10.22 MB / 2.297 GB, free: 172.4 MB / 0.9794 GB Notification: Performance of simCode: alias equations: time 0.02705/4.637, allocations: 6.643 MB / 2.304 GB, free: 165.9 MB / 0.9794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004549/4.641, allocations: 0.9287 MB / 2.305 GB, free: 164.9 MB / 0.9794 GB Notification: Performance of SimCode: time 2.057e-06/4.641, allocations: 0 / 2.305 GB, free: 164.9 MB / 0.9794 GB Notification: Performance of Templates: time 1.107/5.748, allocations: 273.5 MB / 2.572 GB, free: 251.3 MB / 0.9794 GB