Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Storage.Validation.HeatExchangerLocation.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.HeatExchangerLocation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Storage.Validation.HeatExchangerLocation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.453/2.453, allocations: 287.9 MB / 302.9 MB, free: 8.316 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.001414/0.001414, allocations: 171 kB / 371.4 MB, free: 10.67 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 1.965/1.965, allocations: 205.4 MB / 0.6301 GB, free: 10.33 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.001087/0.001087, allocations: 90.45 kB / 0.7434 GB, free: 6.344 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004663/0.0004666, allocations: 11 kB / 0.8662 GB, free: 141.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1654, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.HeatExchangerLocation): time 0.1196/0.2851, allocations: 91.66 MB / 1.068 GB, free: 324 kB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.5871/0.8722, allocations: 27.15 MB / 1.095 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005649/0.8779, allocations: 119.9 kB / 1.095 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.006334/0.8842, allocations: 1.592 MB / 1.096 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01586/0.9001, allocations: 4.027 MB / 1.1 GB, free: 11 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01269/0.9129, allocations: 3.218 MB / 1.104 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.03974/0.9526, allocations: 29.62 MB / 1.132 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03678/0.9894, allocations: 18.91 MB / 1.151 GB, free: 17.88 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02576/1.015, allocations: 11.69 MB / 1.162 GB, free: 11.71 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02238/1.038, allocations: 10.22 MB / 1.172 GB, free: 2.355 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.005053/1.043, allocations: 0.9062 MB / 1.173 GB, free: 1.449 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01543/1.058, allocations: 2.371 MB / 1.175 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.007994/1.066, allocations: 3.838 MB / 1.179 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.01068/1.077, allocations: 4.308 MB / 1.183 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.04558/1.123, allocations: 31.32 MB / 1.214 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.643e-06/1.123, allocations: 0 / 1.214 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.926e-06/1.123, allocations: 0 / 1.214 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0007853/1.123, allocations: 0 / 1.214 GB, free: 7.562 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: 4015 * Number of variables: 4015 Notification: Performance of Generate backend data structure: time 0.05106/1.174, allocations: 18.48 MB / 1.232 GB, free: 4.992 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/1.175, allocations: 12.03 kB / 1.232 GB, free: 4.98 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0118/1.186, allocations: 2.27 MB / 1.234 GB, free: 2.688 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04909/1.235, allocations: 17.17 MB / 1.251 GB, free: 1.422 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001658/1.237, allocations: 1.181 MB / 1.252 GB, free: 248 kB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005365/1.243, allocations: 1.582 MB / 1.254 GB, free: 14.66 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0662/1.309, allocations: 23.88 MB / 1.277 GB, free: 6.133 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007335/1.31, allocations: 59.48 kB / 1.277 GB, free: 6.074 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00412/1.314, allocations: 0.6484 MB / 1.278 GB, free: 5.426 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005721/1.314, allocations: 467.8 kB / 1.278 GB, free: 4.969 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06616/1.38, allocations: 21.11 MB / 1.299 GB, free: 15.84 MB / 0.8386 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.222/1.603, allocations: 100.2 MB / 1.397 GB, free: 6.465 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03442/1.637, allocations: 15.09 MB / 1.411 GB, free: 7.523 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.255/2.892, allocations: 28.68 MB / 1.439 GB, free: 310.7 MB / 0.9637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001329/2.892, allocations: 153.6 kB / 1.44 GB, free: 310.7 MB / 0.9637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007853/2.9, allocations: 0.9921 MB / 1.441 GB, free: 310.7 MB / 0.9637 GB Notification: Performance of pre-optimization done (n=915): time 3.877e-05/2.9, allocations: 0.75 kB / 1.441 GB, free: 310.7 MB / 0.9637 GB Notification: Performance of matching and sorting (n=915): time 0.05261/2.953, allocations: 19.77 MB / 1.46 GB, free: 305.6 MB / 0.9637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/2.953, allocations: 148.9 kB / 1.46 GB, free: 305.5 MB / 0.9637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03277/2.986, allocations: 14.89 MB / 1.474 GB, free: 300.6 MB / 0.9637 GB Notification: Performance of collectPreVariables (initialization): time 0.001924/2.988, allocations: 219.6 kB / 1.475 GB, free: 300.5 MB / 0.9637 GB Notification: Performance of collectInitialEqns (initialization): time 0.008625/2.996, allocations: 8.103 MB / 1.483 GB, free: 294.7 MB / 0.9637 GB Notification: Performance of collectInitialBindings (initialization): time 0.004371/3.001, allocations: 3.185 MB / 1.486 GB, free: 292.3 MB / 0.9637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001485/3.002, allocations: 263.3 kB / 1.486 GB, free: 292.1 MB / 0.9637 GB Notification: Performance of setup shared object (initialization): time 0.001013/3.003, allocations: 0.8434 MB / 1.487 GB, free: 291.5 MB / 0.9637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01497/3.018, allocations: 6.82 MB / 1.493 GB, free: 289.1 MB / 0.9637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01649/3.035, allocations: 10.82 MB / 1.504 GB, free: 281.7 MB / 0.9637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01763/3.052, allocations: 9.021 MB / 1.513 GB, free: 277.1 MB / 0.9637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001021/3.053, allocations: 41.61 kB / 1.513 GB, free: 277.1 MB / 0.9637 GB Notification: Performance of matching and sorting (n=1681) (initialization): time 0.04695/3.1, allocations: 20.01 MB / 1.532 GB, free: 264.8 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 0.01335/3.113, allocations: 74.25 MB / 1.605 GB, free: 185.9 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003322/3.113, allocations: 128 kB / 1.605 GB, free: 185.7 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002317/3.116, allocations: 0.8182 MB / 1.606 GB, free: 184.9 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0158/3.132, allocations: 3.128 MB / 1.609 GB, free: 181.8 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009992/3.142, allocations: 7.978 MB / 1.617 GB, free: 173.5 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01676/3.158, allocations: 1.179 MB / 1.618 GB, free: 172.4 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002616/3.161, allocations: 0.5936 MB / 1.618 GB, free: 171.8 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/3.161, allocations: 4 kB / 1.618 GB, free: 171.8 MB / 0.9637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03885/3.2, allocations: 18.82 MB / 1.637 GB, free: 152.9 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003267/3.2, allocations: 124 kB / 1.637 GB, free: 152.7 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00206/3.202, allocations: 0.8042 MB / 1.638 GB, free: 151.9 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01554/3.218, allocations: 3.134 MB / 1.641 GB, free: 148.8 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01356/3.232, allocations: 9.095 MB / 1.65 GB, free: 139.3 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01805/3.25, allocations: 1.128 MB / 1.651 GB, free: 138.2 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002756/3.252, allocations: 0.5898 MB / 1.651 GB, free: 137.6 MB / 0.9637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 561 * 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 (1629): * Single equations (assignments): 1626 * Array equations: 0 * Algorithm blocks: 0 * 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%) 24,(1,100.0%) 24} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.01409/3.267, allocations: 6.929 MB / 1.658 GB, free: 130.6 MB / 0.9637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004862/3.271, allocations: 1.355 MB / 1.659 GB, free: 129.3 MB / 0.9637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03567/3.307, allocations: 14.92 MB / 1.674 GB, free: 114.3 MB / 0.9637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.355e-05/3.307, allocations: 95.98 kB / 1.674 GB, free: 114.2 MB / 0.9637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.92e-05/3.307, allocations: 8 kB / 1.674 GB, free: 114.2 MB / 0.9637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02448/3.332, allocations: 12.4 MB / 1.686 GB, free: 101.7 MB / 0.9637 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.1363/3.468, allocations: 33.46 MB / 1.719 GB, free: 68.29 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.321e-05/3.468, allocations: 4 kB / 1.719 GB, free: 68.29 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01073/3.479, allocations: 1.767 MB / 1.721 GB, free: 66.52 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001759/3.481, allocations: 0.6037 MB / 1.721 GB, free: 65.91 MB / 0.9637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00127/3.482, allocations: 243.9 kB / 1.721 GB, free: 65.67 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009435/3.491, allocations: 7.733 MB / 1.729 GB, free: 57.66 MB / 0.9637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.734e-06/3.491, allocations: 7.984 kB / 1.729 GB, free: 57.66 MB / 0.9637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0427/3.534, allocations: 23.33 MB / 1.752 GB, free: 34.2 MB / 0.9637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01059/3.545, allocations: 3.606 MB / 1.755 GB, free: 30.55 MB / 0.9637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004237/3.549, allocations: 192 kB / 1.755 GB, free: 30.37 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01346/3.563, allocations: 1.006 MB / 1.756 GB, free: 29.37 MB / 0.9637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00209/3.565, allocations: 0.5297 MB / 1.757 GB, free: 28.84 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001776/3.567, allocations: 375.7 kB / 1.757 GB, free: 28.47 MB / 0.9637 GB Notification: Performance of sorting global known variables: time 0.02988/3.596, allocations: 10.89 MB / 1.768 GB, free: 17.64 MB / 0.9637 GB Notification: Performance of sort global known variables: time 1.314e-06/3.596, allocations: 1.312 kB / 1.768 GB, free: 17.64 MB / 0.9637 GB Notification: Performance of remove unused functions: time 0.03877/3.635, allocations: 9.365 MB / 1.777 GB, free: 8.301 MB / 0.9637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 48 (tan_aTop.vol[1].dynBal.U,tan_aTop.vol[2].dynBal.U,tan_aTop.vol[3].dynBal.U,tan_aTop.vol[4].dynBal.U,tan_aTop.vol[5].dynBal.U,tan_aTop.vol[6].dynBal.U,tan_aTop.vol[7].dynBal.U,tan_aTop.vol[8].dynBal.U,tan_aTop.vol[9].dynBal.U,tan_aTop.vol[10].dynBal.U,tan_aTop.vol[11].dynBal.U,tan_aTop.vol[12].dynBal.U,tan_aTop.indTanHex.vol[1].dynBal.U,tan_aTop.indTanHex.vol[2].dynBal.U,tan_aTop.indTanHex.vol[3].dynBal.U,tan_aTop.indTanHex.vol[4].dynBal.U,tan_aTop.indTanHex.vol[5].dynBal.U,tan_aTop.indTanHex.vol[6].dynBal.U,tan_aTop.indTanHex.cap[1].T,tan_aTop.indTanHex.cap[2].T,tan_aTop.indTanHex.cap[3].T,tan_aTop.indTanHex.cap[4].T,tan_aTop.indTanHex.cap[5].T,tan_aTop.indTanHex.cap[6].T,tan_bTop.vol[1].dynBal.U,tan_bTop.vol[2].dynBal.U,tan_bTop.vol[3].dynBal.U,tan_bTop.vol[4].dynBal.U,tan_bTop.vol[5].dynBal.U,tan_bTop.vol[6].dynBal.U,tan_bTop.vol[7].dynBal.U,tan_bTop.vol[8].dynBal.U,tan_bTop.vol[9].dynBal.U,tan_bTop.vol[10].dynBal.U,tan_bTop.vol[11].dynBal.U,tan_bTop.vol[12].dynBal.U,tan_bTop.indTanHex.vol[1].dynBal.U,tan_bTop.indTanHex.vol[2].dynBal.U,tan_bTop.indTanHex.vol[3].dynBal.U,tan_bTop.indTanHex.vol[4].dynBal.U,tan_bTop.indTanHex.vol[5].dynBal.U,tan_bTop.indTanHex.vol[6].dynBal.U,tan_bTop.indTanHex.cap[1].T,tan_bTop.indTanHex.cap[2].T,tan_bTop.indTanHex.cap[3].T,tan_bTop.indTanHex.cap[4].T,tan_bTop.indTanHex.cap[5].T,tan_bTop.indTanHex.cap[6].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 (884): * Single equations (assignments): 872 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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%) 24,(1,100.0%) 24} * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003289/3.639, allocations: 1.026 MB / 1.778 GB, free: 7.402 MB / 0.9637 GB Notification: Performance of simCode: created initialization part: time 1.26/4.899, allocations: 25.79 MB / 1.803 GB, free: 312.7 MB / 0.9794 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-05/4.899, allocations: 8.531 kB / 1.803 GB, free: 312.7 MB / 0.9794 GB Notification: Performance of simCode: created simulation system equations: time 0.01657/4.916, allocations: 6.863 MB / 1.81 GB, free: 312.2 MB / 0.9794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.045/4.961, allocations: 8.566 MB / 1.818 GB, free: 311.4 MB / 0.9794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09035/5.051, allocations: 45.71 MB / 1.863 GB, free: 289.2 MB / 0.9794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02296/5.074, allocations: 11.84 MB / 1.875 GB, free: 285.5 MB / 0.9794 GB Notification: Performance of simCode: alias equations: time 0.04849/5.123, allocations: 9.192 MB / 1.884 GB, free: 281.5 MB / 0.9794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01162/5.134, allocations: 1.185 MB / 1.885 GB, free: 281.4 MB / 0.9794 GB Notification: Performance of SimCode: time 3.802e-06/5.134, allocations: 4 kB / 1.885 GB, free: 281.4 MB / 0.9794 GB Notification: Performance of Templates: time 1.198/6.333, allocations: 301.6 MB / 2.179 GB, free: 322.4 MB / 0.995 GB