Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.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.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.58/2.58, allocations: 287.9 MB / 302.9 MB, free: 8.309 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001406/0.001405, allocations: 186 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.057/2.057, allocations: 205.4 MB / 0.6301 GB, free: 10.43 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00107/0.001069, allocations: 90.88 kB / 0.7434 GB, free: 6.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004672/0.0004675, allocations: 12.56 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1533, allocations: 115.3 MB / 0.9788 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible): time 0.8478/1.001, allocations: 205.4 MB / 1.179 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.02205/1.023, allocations: 11 MB / 1.19 GB, free: 9.316 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002753/1.026, allocations: 58.41 kB / 1.19 GB, free: 9.289 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.003886/1.03, allocations: 0.9602 MB / 1.191 GB, free: 8.469 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01157/1.041, allocations: 3.018 MB / 1.194 GB, free: 5.984 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.006574/1.048, allocations: 1.668 MB / 1.196 GB, free: 4.852 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.006074/1.054, allocations: 2.736 MB / 1.198 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002196/1.056, allocations: 1.131 MB / 1.199 GB, free: 2.391 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003912/1.06, allocations: 1.456 MB / 1.201 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001843/1.062, allocations: 0.8239 MB / 1.202 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0002664/1.063, allocations: 59.97 kB / 1.202 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003785/1.066, allocations: 1.175 MB / 1.203 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0005633/1.067, allocations: 396.9 kB / 1.203 GB, free: 264 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0006064/1.068, allocations: 387.7 kB / 1.204 GB, free: 56 kB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.003517/1.071, allocations: 2.196 MB / 1.206 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.84e-06/1.071, allocations: 0 / 1.206 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.67e-06/1.071, allocations: 2.562 kB / 1.206 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.241e-05/1.071, allocations: 0 / 1.206 GB, free: 14.55 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.004192/1.075, allocations: 1.899 MB / 1.208 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/1.075, allocations: 7.406 kB / 1.208 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002239/1.078, allocations: 359.1 kB / 1.208 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003034/1.081, allocations: 1.251 MB / 1.209 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.21e-05/1.081, allocations: 84.66 kB / 1.209 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002242/1.081, allocations: 128.4 kB / 1.209 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002874/1.084, allocations: 1.201 MB / 1.211 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.509e-05/1.084, allocations: 10.73 kB / 1.211 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000154/1.084, allocations: 42.31 kB / 1.211 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-05/1.084, allocations: 52.88 kB / 1.211 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002496/1.087, allocations: 0.964 MB / 1.212 GB, free: 10.57 MB / 0.7448 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.009957/1.097, allocations: 5.528 MB / 1.217 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001922/1.099, allocations: 0.8864 MB / 1.218 GB, free: 3.672 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005128/1.099, allocations: 438.1 kB / 1.218 GB, free: 3.152 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.684e-05/1.099, allocations: 43.12 kB / 1.218 GB, free: 3.102 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=70): time 4.252e-06/1.099, allocations: 3.938 kB / 1.218 GB, free: 3.098 MB / 0.7448 GB Notification: Performance of matching and sorting (n=70): time 0.005049/1.104, allocations: 1.458 MB / 1.22 GB, free: 1.59 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/1.104, allocations: 59.97 kB / 1.22 GB, free: 1.52 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002367/1.107, allocations: 1.209 MB / 1.221 GB, free: 304 kB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001649/1.107, allocations: 41.7 kB / 1.221 GB, free: 256 kB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007904/1.108, allocations: 0.6811 MB / 1.222 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003383/1.108, allocations: 256.3 kB / 1.222 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-05/1.108, allocations: 12 kB / 1.222 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000192/1.108, allocations: 334 kB / 1.222 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008618/1.109, allocations: 301.8 kB / 1.223 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0011/1.11, allocations: 0.5231 MB / 1.223 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009765/1.111, allocations: 382.8 kB / 1.223 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.259e-06/1.111, allocations: 0 / 1.223 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.003293/1.115, allocations: 1.071 MB / 1.224 GB, free: 12.6 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006252/1.115, allocations: 1.086 MB / 1.226 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/1.115, allocations: 0 / 1.226 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009732/1.116, allocations: 157.5 kB / 1.226 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/1.118, allocations: 175.8 kB / 1.226 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00168/1.119, allocations: 1.761 MB / 1.228 GB, free: 9.281 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001796/1.121, allocations: 187.1 kB / 1.228 GB, free: 9.098 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/1.121, allocations: 31.98 kB / 1.228 GB, free: 9.066 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/1.121, allocations: 5.719 kB / 1.228 GB, free: 9.062 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002443/1.124, allocations: 0.8605 MB / 1.229 GB, free: 8.199 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/1.124, allocations: 4 kB / 1.229 GB, free: 8.195 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003967/1.124, allocations: 93.59 kB / 1.229 GB, free: 8.098 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008847/1.125, allocations: 164 kB / 1.229 GB, free: 7.938 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004126/1.129, allocations: 3.157 MB / 1.232 GB, free: 4.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001786/1.131, allocations: 171.1 kB / 1.232 GB, free: 4.332 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.855e-05/1.131, allocations: 24 kB / 1.232 GB, free: 4.309 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (87): * Single equations (assignments): 83 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.001044/1.132, allocations: 454.4 kB / 1.233 GB, free: 3.855 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000448/1.133, allocations: 142.3 kB / 1.233 GB, free: 3.715 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002711/1.135, allocations: 0.9561 MB / 1.234 GB, free: 2.742 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.005e-05/1.135, allocations: 8 kB / 1.234 GB, free: 2.734 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.618e-06/1.135, allocations: 0 / 1.234 GB, free: 2.734 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002354/1.138, allocations: 1.079 MB / 1.235 GB, free: 1.562 MB / 0.7605 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.006546/1.144, allocations: 2.53 MB / 1.237 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-05/1.144, allocations: 8 kB / 1.237 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/1.145, allocations: 156.1 kB / 1.237 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003643/1.146, allocations: 93.59 kB / 1.237 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.593e-05/1.146, allocations: 31.94 kB / 1.237 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001535/1.147, allocations: 1.734 MB / 1.239 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.502e-06/1.148, allocations: 4 kB / 1.239 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003734/1.151, allocations: 1.627 MB / 1.241 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009594/1.152, allocations: 331.1 kB / 1.241 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002226/1.153, allocations: 24 kB / 1.241 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001387/1.154, allocations: 113.7 kB / 1.241 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/1.154, allocations: 56.39 kB / 1.241 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.34e-05/1.154, allocations: 27.98 kB / 1.241 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001675/1.156, allocations: 0.8239 MB / 1.242 GB, free: 9.664 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.333e-06/1.156, allocations: 0 / 1.242 GB, free: 9.664 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003036/1.159, allocations: 0.8105 MB / 1.243 GB, free: 8.852 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 5 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.vol2.dynBal.m,hex.vol2.dynBal.mXi[1],hex.mas.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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009738/1.16, allocations: 394.9 kB / 1.243 GB, free: 8.469 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.004033/1.164, allocations: 1.468 MB / 1.245 GB, free: 6.973 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/1.164, allocations: 0 / 1.245 GB, free: 6.973 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001252/1.165, allocations: 415.7 kB / 1.245 GB, free: 6.57 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004614/1.17, allocations: 0.7816 MB / 1.246 GB, free: 5.793 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006836/1.177, allocations: 3.259 MB / 1.249 GB, free: 2.465 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001361/1.178, allocations: 1.316 MB / 1.25 GB, free: 1.121 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.00214/1.18, allocations: 340.8 kB / 1.251 GB, free: 0.7891 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003805/1.181, allocations: 111.3 kB / 1.251 GB, free: 0.6797 MB / 0.7761 GB Notification: Performance of SimCode: time 2.102e-06/1.181, allocations: 0 / 1.251 GB, free: 0.6797 MB / 0.7761 GB Notification: Performance of Templates: time 0.06862/1.249, allocations: 27.71 MB / 1.278 GB, free: 5.242 MB / 0.8073 GB