Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.437/2.437, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.001633/0.001633, allocations: 178.3 kB / 325.6 MB, free: 2.82 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.546/2.546, 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.001168/0.001168, allocations: 96.22 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00049/0.0004901, allocations: 16.44 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2184, allocations: 106.3 MB / 0.8989 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics): time 0.1284/0.3468, allocations: 93.72 MB / 0.9904 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.05861/0.4055, allocations: 27.58 MB / 1.017 GB, free: 7.914 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00598/0.4115, allocations: 123.1 kB / 1.017 GB, free: 7.793 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.008687/0.4203, allocations: 1.648 MB / 1.019 GB, free: 6.137 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.0192/0.4395, allocations: 4.127 MB / 1.023 GB, free: 2 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01528/0.4548, allocations: 3.158 MB / 1.026 GB, free: 14.88 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 0.04626/0.5011, allocations: 24.9 MB / 1.05 GB, free: 5.945 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 1.346/1.847, allocations: 15.67 MB / 1.066 GB, free: 10.02 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02753/1.874, allocations: 9.925 MB / 1.075 GB, free: 10.01 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02298/1.897, allocations: 8.633 MB / 1.084 GB, free: 9.973 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.006225/1.904, allocations: 0.7558 MB / 1.085 GB, free: 9.973 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0178/1.922, allocations: 2.283 MB / 1.087 GB, free: 9.969 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.009263/1.931, allocations: 3.177 MB / 1.09 GB, free: 9.969 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.01062/1.941, allocations: 3.7 MB / 1.094 GB, free: 9.805 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.04197/1.984, allocations: 27.18 MB / 1.12 GB, free: 232 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.984, allocations: 0 / 1.12 GB, free: 232 kB / 0.698 GB Notification: Performance of FrontEnd: time 2.795e-06/1.984, allocations: 0 / 1.12 GB, free: 232 kB / 0.698 GB Notification: Performance of Transformations before backend: time 0.001306/1.985, allocations: 0 / 1.12 GB, free: 232 kB / 0.698 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.07035/2.055, allocations: 15.96 MB / 1.136 GB, free: 7.559 MB / 0.7137 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/2.055, allocations: 12.75 kB / 1.136 GB, free: 7.555 MB / 0.7137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01481/2.07, allocations: 1.955 MB / 1.138 GB, free: 6.609 MB / 0.7137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05004/2.12, allocations: 14.45 MB / 1.152 GB, free: 2.039 MB / 0.7137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00159/2.122, allocations: 1.005 MB / 1.153 GB, free: 2.012 MB / 0.7137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006813/2.129, allocations: 1.333 MB / 1.154 GB, free: 2 MB / 0.7137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07523/2.204, allocations: 19.87 MB / 1.173 GB, free: 4.656 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001014/2.205, allocations: 50.81 kB / 1.174 GB, free: 4.609 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005873/2.211, allocations: 0.5399 MB / 1.174 GB, free: 4.484 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006186/2.212, allocations: 385.7 kB / 1.174 GB, free: 4.121 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06307/2.275, allocations: 18.07 MB / 1.192 GB, free: 8.18 MB / 0.7449 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.2178/2.493, allocations: 87 MB / 1.277 GB, free: 5.195 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0391/2.532, allocations: 13.23 MB / 1.29 GB, free: 8.027 MB / 0.8387 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.09525/2.627, allocations: 27.16 MB / 1.316 GB, free: 11.89 MB / 0.8699 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01932/2.646, allocations: 5.951 MB / 1.322 GB, free: 5.887 MB / 0.8699 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01116/2.658, allocations: 0.8643 MB / 1.323 GB, free: 5.016 MB / 0.8699 GB Notification: Performance of pre-optimization done (n=784): time 2.749e-05/2.658, allocations: 0 / 1.323 GB, free: 5.016 MB / 0.8699 GB Notification: Performance of matching and sorting (n=784): time 0.2618/2.92, allocations: 32.17 MB / 1.355 GB, free: 4.688 MB / 0.9012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001542/2.92, allocations: 159.2 kB / 1.355 GB, free: 4.512 MB / 0.9012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04103/2.961, allocations: 13.03 MB / 1.367 GB, free: 7.504 MB / 0.9168 GB Notification: Performance of collectPreVariables (initialization): time 0.002856/2.964, allocations: 197.7 kB / 1.368 GB, free: 7.305 MB / 0.9168 GB Notification: Performance of collectInitialEqns (initialization): time 0.0136/2.977, allocations: 6.923 MB / 1.374 GB, free: 380 kB / 0.9168 GB Notification: Performance of collectInitialBindings (initialization): time 0.006463/2.984, allocations: 2.741 MB / 1.377 GB, free: 13.65 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003006/2.987, allocations: 228 kB / 1.377 GB, free: 13.43 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 0.001501/2.988, allocations: 0.7838 MB / 1.378 GB, free: 12.64 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02118/3.01, allocations: 6.292 MB / 1.384 GB, free: 6.344 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02573/3.036, allocations: 9.567 MB / 1.393 GB, free: 11.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02568/3.061, allocations: 8.183 MB / 1.401 GB, free: 3.172 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001244/3.061, allocations: 28 kB / 1.402 GB, free: 3.145 MB / 0.948 GB Notification: Performance of matching and sorting (n=1486) (initialization): time 0.724/3.785, allocations: 18.89 MB / 1.42 GB, free: 343 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.01164/3.797, allocations: 55.67 MB / 1.474 GB, free: 284.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003822/3.798, allocations: 98.72 kB / 1.474 GB, free: 284.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1704/3.968, allocations: 9.089 MB / 1.483 GB, free: 284.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02746/3.995, allocations: 2.523 MB / 1.486 GB, free: 284.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02413/4.02, allocations: 10.43 MB / 1.496 GB, free: 278.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02159/4.041, allocations: 1.127 MB / 1.497 GB, free: 278.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003763/4.045, allocations: 0.5243 MB / 1.498 GB, free: 278 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/4.045, allocations: 6 kB / 1.498 GB, free: 278 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0577/4.103, allocations: 17.91 MB / 1.515 GB, free: 271 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003764/4.103, allocations: 98.22 kB / 1.515 GB, free: 271 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1234/4.227, allocations: 9.056 MB / 1.524 GB, free: 267.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02481/4.252, allocations: 2.521 MB / 1.526 GB, free: 265.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01834/4.27, allocations: 10.44 MB / 1.537 GB, free: 255 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02081/4.291, allocations: 1.091 MB / 1.538 GB, free: 253.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003878/4.295, allocations: 0.5194 MB / 1.538 GB, free: 253.4 MB / 0.948 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.01889/4.314, allocations: 5.947 MB / 1.544 GB, free: 247.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006108/4.32, allocations: 1.143 MB / 1.545 GB, free: 246.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04243/4.362, allocations: 13.49 MB / 1.558 GB, free: 233.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001103/4.363, allocations: 83.98 kB / 1.558 GB, free: 233.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.859e-05/4.363, allocations: 4 kB / 1.558 GB, free: 233.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03294/4.396, allocations: 11.15 MB / 1.569 GB, free: 221.9 MB / 0.948 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.09673/4.492, allocations: 29.49 MB / 1.598 GB, free: 192.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001547/4.493, allocations: 7.938 kB / 1.598 GB, free: 192.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01912/4.512, allocations: 1.241 MB / 1.599 GB, free: 191.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1278/4.64, allocations: 8.297 MB / 1.607 GB, free: 182.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002297/4.642, allocations: 195.9 kB / 1.608 GB, free: 182.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01831/4.66, allocations: 10.11 MB / 1.617 GB, free: 172.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/4.66, allocations: 4 kB / 1.617 GB, free: 172.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06226/4.723, allocations: 20.8 MB / 1.638 GB, free: 151.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01296/4.736, allocations: 3.091 MB / 1.641 GB, free: 148.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006194/4.742, allocations: 160 kB / 1.641 GB, free: 148 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01841/4.76, allocations: 0.8924 MB / 1.642 GB, free: 147.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002664/4.763, allocations: 465.4 kB / 1.642 GB, free: 146.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002321/4.765, allocations: 295.8 kB / 1.643 GB, free: 146.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.02522/4.791, allocations: 9.367 MB / 1.652 GB, free: 137.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.122e-06/4.791, allocations: 4 kB / 1.652 GB, free: 137.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.04276/4.833, allocations: 8.074 MB / 1.66 GB, free: 129.3 MB / 0.948 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.004607/4.838, allocations: 0.9611 MB / 1.661 GB, free: 128.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.06595/4.904, allocations: 23.23 MB / 1.683 GB, free: 105.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.888e-05/4.904, allocations: 4.562 kB / 1.683 GB, free: 105.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.02288/4.927, allocations: 5.955 MB / 1.689 GB, free: 99.18 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06647/4.994, allocations: 6.927 MB / 1.696 GB, free: 92.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09418/5.088, allocations: 37.89 MB / 1.733 GB, free: 54.42 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02342/5.111, allocations: 10.22 MB / 1.743 GB, free: 44.15 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.04115/5.152, allocations: 6.678 MB / 1.749 GB, free: 37.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007115/5.16, allocations: 0.9482 MB / 1.75 GB, free: 36.55 MB / 0.948 GB Notification: Performance of SimCode: time 9.11e-07/5.16, allocations: 0 / 1.75 GB, free: 36.55 MB / 0.948 GB Notification: Performance of Templates: time 1.504/6.664, allocations: 276.6 MB / 2.02 GB, free: 130.9 MB / 0.948 GB