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.002577/0.002582, allocations: 354.1 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.505/1.505, allocations: 165.8 MB / 182.5 MB, free: 5.414 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.911/3.911, allocations: 410.8 MB / 0.5995 GB, free: 15.11 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001736/0.001736, allocations: 198.5 kB / 0.6662 GB, free: 6.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004767/0.0004769, allocations: 15.94 kB / 0.7423 GB, free: 8.969 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3358, allocations: 67.43 MB / 0.8081 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.HeatExchangerDynamics): time 0.1363/0.4722, allocations: 103.3 MB / 0.909 GB, free: 5.254 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.4085/0.8807, allocations: 29.59 MB / 0.9379 GB, free: 8.184 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005688/0.8865, allocations: 130.1 kB / 0.938 GB, free: 8.184 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005702/0.8922, allocations: 1.473 MB / 0.9395 GB, free: 8.18 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01552/0.9078, allocations: 4.413 MB / 0.9438 GB, free: 8.129 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01183/0.9196, allocations: 3.303 MB / 0.947 GB, free: 8.047 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.05617/0.9758, allocations: 50.51 MB / 0.9963 GB, free: 11.3 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03237/1.008, allocations: 15.68 MB / 1.012 GB, free: 14.32 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02602/1.034, allocations: 11.14 MB / 1.023 GB, free: 4.984 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02452/1.059, allocations: 11.74 MB / 1.034 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.00474/1.064, allocations: 0.7617 MB / 1.035 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01336/1.077, allocations: 2.162 MB / 1.037 GB, free: 8.91 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.007434/1.084, allocations: 3.323 MB / 1.04 GB, free: 6.621 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.009493/1.094, allocations: 3.709 MB / 1.044 GB, free: 3.352 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.04068/1.135, allocations: 27.55 MB / 1.071 GB, free: 8.402 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 6.569e-06/1.135, allocations: 0 / 1.071 GB, free: 8.402 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.525e-06/1.135, allocations: 0 / 1.071 GB, free: 8.402 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0007128/1.136, allocations: 0 / 1.071 GB, free: 8.402 MB / 0.5417 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.04768/1.183, allocations: 15.99 MB / 1.086 GB, free: 8.441 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/1.183, allocations: 16.02 kB / 1.086 GB, free: 8.426 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01034/1.194, allocations: 1.969 MB / 1.088 GB, free: 6.438 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04325/1.237, allocations: 15.5 MB / 1.103 GB, free: 7.203 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001538/1.239, allocations: 1.003 MB / 1.104 GB, free: 6.203 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00478/1.243, allocations: 1.343 MB / 1.106 GB, free: 4.867 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05743/1.301, allocations: 20.16 MB / 1.125 GB, free: 172 kB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006223/1.301, allocations: 43.55 kB / 1.125 GB, free: 128 kB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003777/1.305, allocations: 0.5427 MB / 1.126 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005322/1.306, allocations: 395.8 kB / 1.126 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0512/1.357, allocations: 18.07 MB / 1.144 GB, free: 13.12 MB / 0.6199 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.8656/2.223, allocations: 86.43 MB / 1.228 GB, free: 171.6 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02461/2.247, allocations: 12.93 MB / 1.241 GB, free: 161.5 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01416/2.262, allocations: 7.425 MB / 1.248 GB, free: 154.1 MB / 0.6199 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.06103/2.323, allocations: 26.87 MB / 1.274 GB, free: 126.5 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01297/2.336, allocations: 6.045 MB / 1.28 GB, free: 120.4 MB / 0.6199 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006989/2.343, allocations: 0.8068 MB / 1.281 GB, free: 119.7 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=772): time 2.814e-05/2.343, allocations: 4 kB / 1.281 GB, free: 119.7 MB / 0.6199 GB Notification: Performance of matching and sorting (n=772): time 0.1357/2.478, allocations: 32.23 MB / 1.313 GB, free: 87.32 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.067e-05/2.479, allocations: 155.1 kB / 1.313 GB, free: 87.14 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02531/2.504, allocations: 12.1 MB / 1.325 GB, free: 75.07 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 0.001713/2.506, allocations: 205.7 kB / 1.325 GB, free: 74.87 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.008435/2.514, allocations: 6.956 MB / 1.331 GB, free: 67.9 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 0.003839/2.518, allocations: 2.696 MB / 1.334 GB, free: 65.23 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001611/2.52, allocations: 232 kB / 1.334 GB, free: 65 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 0.000857/2.521, allocations: 0.7737 MB / 1.335 GB, free: 64.22 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01343/2.534, allocations: 6.237 MB / 1.341 GB, free: 57.98 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01564/2.55, allocations: 9.547 MB / 1.351 GB, free: 47.04 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01657/2.566, allocations: 8.114 MB / 1.358 GB, free: 38.88 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.15e-05/2.566, allocations: 28 kB / 1.358 GB, free: 38.85 MB / 0.6199 GB Notification: Performance of matching and sorting (n=1474) (initialization): time 0.04425/2.611, allocations: 18.81 MB / 1.377 GB, free: 19.92 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 0.001543/2.612, allocations: 3.092 MB / 1.38 GB, free: 15.42 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000173/2.612, allocations: 100 kB / 1.38 GB, free: 15.32 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07896/2.691, allocations: 9.051 MB / 1.389 GB, free: 6.258 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01276/2.704, allocations: 2.457 MB / 1.391 GB, free: 3.797 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7534/3.458, allocations: 10.37 MB / 1.401 GB, free: 211.7 MB / 0.62 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01577/3.474, allocations: 1.103 MB / 1.402 GB, free: 211.5 MB / 0.62 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00285/3.476, allocations: 0.5162 MB / 1.403 GB, free: 211.4 MB / 0.62 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/3.476, allocations: 4.344 kB / 1.403 GB, free: 211.4 MB / 0.62 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04219/3.519, allocations: 17.83 MB / 1.42 GB, free: 204.7 MB / 0.62 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002761/3.519, allocations: 98.22 kB / 1.42 GB, free: 204.7 MB / 0.62 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08563/3.605, allocations: 9.018 MB / 1.429 GB, free: 203.7 MB / 0.62 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01289/3.618, allocations: 2.454 MB / 1.432 GB, free: 203.1 MB / 0.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01494/3.633, allocations: 10.36 MB / 1.442 GB, free: 192.6 MB / 0.62 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01397/3.647, allocations: 1.072 MB / 1.443 GB, free: 191.6 MB / 0.62 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002545/3.649, allocations: 0.5155 MB / 1.443 GB, free: 191.1 MB / 0.62 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.01285/3.662, allocations: 5.954 MB / 1.449 GB, free: 185.2 MB / 0.62 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003895/3.666, allocations: 1.151 MB / 1.45 GB, free: 184.4 MB / 0.62 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0315/3.698, allocations: 13.34 MB / 1.463 GB, free: 171.1 MB / 0.62 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-05/3.698, allocations: 83.98 kB / 1.463 GB, free: 171 MB / 0.62 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-05/3.698, allocations: 7.953 kB / 1.463 GB, free: 171 MB / 0.62 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03182/3.73, allocations: 11.01 MB / 1.474 GB, free: 159.9 MB / 0.62 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.06797/3.798, allocations: 28.83 MB / 1.502 GB, free: 131.1 MB / 0.62 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.98e-05/3.798, allocations: 4 kB / 1.502 GB, free: 131.1 MB / 0.62 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00872/3.806, allocations: 1.284 MB / 1.503 GB, free: 129.8 MB / 0.62 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1253/3.932, allocations: 8.304 MB / 1.512 GB, free: 121.5 MB / 0.62 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002171/3.934, allocations: 191.9 kB / 1.512 GB, free: 121.3 MB / 0.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01829/3.952, allocations: 10.04 MB / 1.522 GB, free: 111 MB / 0.62 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.855e-06/3.952, allocations: 4 kB / 1.522 GB, free: 111 MB / 0.62 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03934/3.992, allocations: 19.78 MB / 1.541 GB, free: 91.07 MB / 0.62 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009536/4.001, allocations: 2.947 MB / 1.544 GB, free: 88.1 MB / 0.62 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003933/4.005, allocations: 160 kB / 1.544 GB, free: 87.95 MB / 0.62 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01211/4.017, allocations: 0.8655 MB / 1.545 GB, free: 87.11 MB / 0.62 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001817/4.019, allocations: 469.3 kB / 1.545 GB, free: 86.65 MB / 0.62 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001671/4.021, allocations: 315.8 kB / 1.546 GB, free: 86.34 MB / 0.62 GB Notification: Performance of sorting global known variables: time 0.01833/4.039, allocations: 8.618 MB / 1.554 GB, free: 77.76 MB / 0.62 GB Notification: Performance of sort global known variables: time 1.388e-06/4.039, allocations: 0 / 1.554 GB, free: 77.76 MB / 0.62 GB Notification: Performance of remove unused functions: time 0.03185/4.071, allocations: 8.018 MB / 1.562 GB, free: 69.84 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 (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.003236/4.075, allocations: 0.9339 MB / 1.563 GB, free: 69.03 MB / 0.62 GB Notification: Performance of simCode: created initialization part: time 0.04767/4.122, allocations: 23.03 MB / 1.585 GB, free: 45.93 MB / 0.62 GB Notification: Performance of simCode: created event and clocks part: time 1.58e-05/4.122, allocations: 9 kB / 1.585 GB, free: 45.92 MB / 0.62 GB Notification: Performance of simCode: created simulation system equations: time 0.0127/4.135, allocations: 5.876 MB / 1.591 GB, free: 40.02 MB / 0.62 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03884/4.174, allocations: 7.058 MB / 1.598 GB, free: 33.14 MB / 0.62 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4471/4.621, allocations: 37.93 MB / 1.635 GB, free: 192.3 MB / 0.62 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0204/4.641, allocations: 10.22 MB / 1.645 GB, free: 191.3 MB / 0.62 GB Notification: Performance of simCode: alias equations: time 0.03095/4.672, allocations: 6.641 MB / 1.651 GB, free: 191 MB / 0.62 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004978/4.677, allocations: 0.9288 MB / 1.652 GB, free: 191 MB / 0.62 GB Notification: Performance of SimCode: time 1.84e-06/4.677, allocations: 0 / 1.652 GB, free: 191 MB / 0.62 GB Notification: Performance of Templates: time 1.015/5.693, allocations: 273.4 MB / 1.919 GB, free: 176 MB / 0.6357 GB