Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Storage.Validation.HeatExchangerDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Storage.Validation.HeatExchangerDynamics") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001451/0.001451, allocations: 188.1 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.7307/0.7307, allocations: 82.92 MB / 99.42 MB, free: 3.273 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.174/2.174, allocations: 205.4 MB / 325.4 MB, free: 3.414 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 101.5 kB / 393.6 MB, free: 15.18 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004497/0.00045, allocations: 12 kB / 471.5 MB, free: 66.57 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09191/0.09238, allocations: 67.45 MB / 0.5263 GB, free: 15.09 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.HeatExchangerDynamics): time 0.4711/0.5636, allocations: 93.65 MB / 0.6178 GB, free: 10.3 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.04518/0.6088, allocations: 27.62 MB / 0.6448 GB, free: 13.48 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005865/0.6147, allocations: 124 kB / 0.6449 GB, free: 13.42 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006691/0.6214, allocations: 1.641 MB / 0.6465 GB, free: 12.48 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01722/0.6387, allocations: 4.138 MB / 0.6505 GB, free: 9.047 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01415/0.6528, allocations: 3.322 MB / 0.6538 GB, free: 6.688 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.03984/0.6927, allocations: 24.99 MB / 0.6782 GB, free: 4.012 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04197/0.7347, allocations: 15.76 MB / 0.6936 GB, free: 4.16 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02246/0.7572, allocations: 9.974 MB / 0.7033 GB, free: 10.15 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01792/0.7752, allocations: 8.662 MB / 0.7118 GB, free: 1.453 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004346/0.7796, allocations: 0.7578 MB / 0.7125 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0129/0.7925, allocations: 2.287 MB / 0.7147 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.00674/0.7993, allocations: 3.219 MB / 0.7179 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.008403/0.8077, allocations: 3.708 MB / 0.7215 GB, free: 7.453 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.04043/0.8482, allocations: 27.43 MB / 0.7483 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.535e-06/0.8482, allocations: 0 / 0.7483 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.431e-06/0.8483, allocations: 0 / 0.7483 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000709/0.849, allocations: 0 / 0.7483 GB, free: 11.96 MB / 0.5261 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 0.07251/0.9215, allocations: 15.98 MB / 0.7639 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.554e-05/0.9216, allocations: 20.02 kB / 0.7639 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01694/0.9386, allocations: 1.951 MB / 0.7658 GB, free: 9.855 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04136/0.98, allocations: 14.53 MB / 0.78 GB, free: 11.23 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001476/0.9815, allocations: 1.006 MB / 0.781 GB, free: 10.22 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004785/0.9863, allocations: 1.34 MB / 0.7823 GB, free: 8.879 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05684/1.043, allocations: 20.04 MB / 0.8019 GB, free: 4.266 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006198/1.044, allocations: 51.47 kB / 0.8019 GB, free: 4.219 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003611/1.047, allocations: 0.543 MB / 0.8025 GB, free: 3.676 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005142/1.048, allocations: 379.9 kB / 0.8028 GB, free: 3.305 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.8857/1.934, allocations: 18.07 MB / 0.8205 GB, free: 175.1 MB / 0.573 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.1747/2.108, allocations: 87.21 MB / 0.9056 GB, free: 101.9 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02611/2.135, allocations: 13.23 MB / 0.9186 GB, free: 88.7 MB / 0.573 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.06038/2.195, allocations: 27.31 MB / 0.9452 GB, free: 60.41 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01298/2.208, allocations: 6.094 MB / 0.9512 GB, free: 54.26 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006866/2.215, allocations: 0.8606 MB / 0.952 GB, free: 53.39 MB / 0.573 GB Notification: Performance of pre-optimization done (n=784): time 2.841e-05/2.215, allocations: 0 / 0.952 GB, free: 53.39 MB / 0.573 GB Notification: Performance of matching and sorting (n=784): time 0.1262/2.341, allocations: 32.19 MB / 0.9835 GB, free: 21.05 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.029e-05/2.341, allocations: 159.2 kB / 0.9836 GB, free: 20.88 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02474/2.366, allocations: 13.03 MB / 0.9963 GB, free: 7.871 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001656/2.368, allocations: 205.7 kB / 0.9965 GB, free: 7.664 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.007883/2.376, allocations: 6.927 MB / 1.003 GB, free: 0.7266 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.004866/2.381, allocations: 2.732 MB / 1.006 GB, free: 14.01 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001957/2.383, allocations: 236 kB / 1.006 GB, free: 13.78 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 0.001279/2.384, allocations: 0.7776 MB / 1.007 GB, free: 13 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01573/2.4, allocations: 6.292 MB / 1.013 GB, free: 6.703 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01977/2.419, allocations: 9.564 MB / 1.022 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01935/2.439, allocations: 8.185 MB / 1.03 GB, free: 3.512 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001055/2.439, allocations: 28 kB / 1.03 GB, free: 3.484 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1486) (initialization): time 0.7641/3.203, allocations: 18.89 MB / 1.049 GB, free: 193.6 MB / 0.6044 GB Notification: Performance of prepare postOptimizeDAE: time 0.01039/3.214, allocations: 55.67 MB / 1.103 GB, free: 134.6 MB / 0.6044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003042/3.214, allocations: 97.81 kB / 1.103 GB, free: 134.6 MB / 0.6044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08163/3.296, allocations: 9.086 MB / 1.112 GB, free: 133.5 MB / 0.6044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01364/3.309, allocations: 2.527 MB / 1.115 GB, free: 133.2 MB / 0.6044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01548/3.325, allocations: 10.44 MB / 1.125 GB, free: 127.2 MB / 0.6044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01542/3.34, allocations: 1.126 MB / 1.126 GB, free: 126.9 MB / 0.6044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00246/3.343, allocations: 0.5213 MB / 1.126 GB, free: 126.9 MB / 0.6044 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/3.343, allocations: 3.688 kB / 1.126 GB, free: 126.9 MB / 0.6044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03957/3.382, allocations: 17.91 MB / 1.144 GB, free: 115.5 MB / 0.6044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003367/3.383, allocations: 100 kB / 1.144 GB, free: 115.4 MB / 0.6044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07894/3.462, allocations: 9.049 MB / 1.153 GB, free: 106.3 MB / 0.6044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01252/3.474, allocations: 2.523 MB / 1.155 GB, free: 103.8 MB / 0.6044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01531/3.49, allocations: 10.43 MB / 1.166 GB, free: 93.17 MB / 0.6044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01431/3.504, allocations: 1.092 MB / 1.167 GB, free: 92.14 MB / 0.6044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002585/3.507, allocations: 0.5116 MB / 1.167 GB, free: 91.63 MB / 0.6044 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 (1298): * Single equations (assignments): 1294 * 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.01843/3.525, allocations: 5.958 MB / 1.173 GB, free: 85.71 MB / 0.6044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005923/3.531, allocations: 1.163 MB / 1.174 GB, free: 84.86 MB / 0.6044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05454/3.586, allocations: 13.49 MB / 1.187 GB, free: 71.35 MB / 0.6044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001004/3.586, allocations: 79.98 kB / 1.187 GB, free: 71.27 MB / 0.6044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.982e-05/3.586, allocations: 4 kB / 1.187 GB, free: 71.27 MB / 0.6044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02511/3.611, allocations: 11.14 MB / 1.198 GB, free: 60.05 MB / 0.6044 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.06579/3.677, allocations: 29.64 MB / 1.227 GB, free: 30.36 MB / 0.6044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.914e-05/3.677, allocations: 4 kB / 1.227 GB, free: 30.36 MB / 0.6044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007752/3.685, allocations: 1.241 MB / 1.228 GB, free: 29.12 MB / 0.6044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08194/3.767, allocations: 8.298 MB / 1.236 GB, free: 20.81 MB / 0.6044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001605/3.768, allocations: 195.9 kB / 1.237 GB, free: 20.62 MB / 0.6044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01421/3.782, allocations: 10.1 MB / 1.247 GB, free: 10.25 MB / 0.6044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.641e-06/3.783, allocations: 4 kB / 1.247 GB, free: 10.25 MB / 0.6044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05143/3.834, allocations: 20.81 MB / 1.267 GB, free: 5.219 MB / 0.62 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0109/3.845, allocations: 3.154 MB / 1.27 GB, free: 2.051 MB / 0.62 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004074/3.849, allocations: 160 kB / 1.27 GB, free: 1.895 MB / 0.62 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01268/3.862, allocations: 0.8855 MB / 1.271 GB, free: 1.039 MB / 0.62 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00201/3.864, allocations: 465.4 kB / 1.271 GB, free: 0.582 MB / 0.62 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001747/3.866, allocations: 328.5 kB / 1.272 GB, free: 268 kB / 0.62 GB Notification: Performance of sorting global known variables: time 0.4453/4.311, allocations: 9.363 MB / 1.281 GB, free: 202.6 MB / 0.62 GB Notification: Performance of sort global known variables: time 9.49e-07/4.311, allocations: 0 / 1.281 GB, free: 202.6 MB / 0.62 GB Notification: Performance of remove unused functions: time 0.0336/4.345, allocations: 8.102 MB / 1.289 GB, free: 202 MB / 0.62 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 (621): * Single equations (assignments): 608 * 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.003468/4.348, allocations: 0.9688 MB / 1.29 GB, free: 201.8 MB / 0.62 GB Notification: Performance of simCode: created initialization part: time 0.05031/4.398, allocations: 23.24 MB / 1.312 GB, free: 193.4 MB / 0.62 GB Notification: Performance of simCode: created event and clocks part: time 1.717e-05/4.398, allocations: 7.281 kB / 1.312 GB, free: 193.4 MB / 0.62 GB Notification: Performance of simCode: created simulation system equations: time 0.01293/4.411, allocations: 5.951 MB / 1.318 GB, free: 190.4 MB / 0.62 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03409/4.446, allocations: 6.947 MB / 1.325 GB, free: 185.5 MB / 0.62 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06635/4.512, allocations: 37.88 MB / 1.362 GB, free: 149.8 MB / 0.62 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01683/4.529, allocations: 10.23 MB / 1.372 GB, free: 139.5 MB / 0.62 GB Notification: Performance of simCode: alias equations: time 0.03044/4.559, allocations: 6.726 MB / 1.379 GB, free: 132.7 MB / 0.62 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005087/4.564, allocations: 0.9482 MB / 1.38 GB, free: 131.8 MB / 0.62 GB Notification: Performance of SimCode: time 1.823e-06/4.564, allocations: 4 kB / 1.38 GB, free: 131.8 MB / 0.62 GB Notification: Performance of Templates: time 0.9244/5.489, allocations: 278.7 MB / 1.652 GB, free: 76.07 MB / 0.62 GB