Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008374/0.008374, allocations: 170.6 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.974/2.974, allocations: 473.4 MB / 0.7469 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004127/0.0004127, allocations: 9.625 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4067, allocations: 162.2 MB / 1.074 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04651/0.4533, allocations: 48 MB / 1.121 GB, free: 7.383 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01963/0.4729, allocations: 13.67 MB / 1.134 GB, free: 9.691 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00292/0.4759, allocations: 63.56 kB / 1.134 GB, free: 9.629 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002475/0.4784, allocations: 0.6486 MB / 1.135 GB, free: 8.977 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.007431/0.4859, allocations: 2.084 MB / 1.137 GB, free: 6.883 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003759/0.4896, allocations: 1.193 MB / 1.138 GB, free: 5.699 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0256/0.5153, allocations: 25.62 MB / 1.163 GB, free: 12.01 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01188/0.5272, allocations: 7.824 MB / 1.171 GB, free: 4.074 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01169/0.5389, allocations: 4.699 MB / 1.175 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0117/0.5507, allocations: 5.215 MB / 1.181 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001993/0.5527, allocations: 304 kB / 1.181 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006079/0.5588, allocations: 0.9866 MB / 1.182 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.002598/0.5614, allocations: 1.424 MB / 1.183 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.008974/0.5704, allocations: 3.539 MB / 1.187 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01648/0.587, allocations: 11.25 MB / 1.198 GB, free: 8.551 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/0.587, allocations: 7.984 kB / 1.198 GB, free: 8.543 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.816e-06/0.587, allocations: 3.938 kB / 1.198 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0004545/0.5875, allocations: 0 / 1.198 GB, free: 8.539 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.01686/0.6044, allocations: 6.221 MB / 1.204 GB, free: 2.246 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.721e-05/0.6044, allocations: 8.031 kB / 1.204 GB, free: 2.238 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004912/0.6093, allocations: 0.7814 MB / 1.205 GB, free: 1.449 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01384/0.6232, allocations: 6.243 MB / 1.211 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004275/0.6237, allocations: 411.4 kB / 1.211 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002166/0.6259, allocations: 0.5544 MB / 1.212 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02028/0.6462, allocations: 8.065 MB / 1.219 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001711/0.6464, allocations: 19.78 kB / 1.219 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009802/0.6474, allocations: 240 kB / 1.22 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001778/0.6476, allocations: 160 kB / 1.22 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01545/0.663, allocations: 6.528 MB / 1.226 GB, free: 10.93 MB / 0.9825 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.8683/1.531, allocations: 31.17 MB / 1.257 GB, free: 153.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007601/1.539, allocations: 3.648 MB / 1.26 GB, free: 153.1 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003901/1.543, allocations: 2.821 MB / 1.263 GB, free: 153.1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008166/1.544, allocations: 0.8412 MB / 1.264 GB, free: 152.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.845e-05/1.544, allocations: 71.31 kB / 1.264 GB, free: 152.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=267): time 4.679e-06/1.544, allocations: 0 / 1.264 GB, free: 152.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=267): time 0.0118/1.556, allocations: 5.783 MB / 1.27 GB, free: 151.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.575e-05/1.556, allocations: 83.14 kB / 1.27 GB, free: 151.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01104/1.567, allocations: 5.032 MB / 1.275 GB, free: 149.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000892/1.568, allocations: 80.64 kB / 1.275 GB, free: 149.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002533/1.57, allocations: 2.865 MB / 1.277 GB, free: 147.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001417/1.572, allocations: 0.9424 MB / 1.278 GB, free: 146.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004407/1.572, allocations: 307.7 kB / 1.279 GB, free: 146.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.97e-05/1.572, allocations: 301.8 kB / 1.279 GB, free: 146.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00291/1.575, allocations: 1.676 MB / 1.281 GB, free: 145.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00339/1.578, allocations: 2.936 MB / 1.283 GB, free: 143.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006515/1.585, allocations: 4.964 MB / 1.288 GB, free: 140.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.974e-05/1.585, allocations: 12 kB / 1.288 GB, free: 140.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01035/1.595, allocations: 5.443 MB / 1.294 GB, free: 138.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.545e-05/1.596, allocations: 23.66 kB / 1.294 GB, free: 138.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.792e-05/1.596, allocations: 40.59 kB / 1.294 GB, free: 138.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001033/1.597, allocations: 417.9 kB / 1.294 GB, free: 138.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003117/1.6, allocations: 0.8598 MB / 1.295 GB, free: 138.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005099/1.605, allocations: 5.263 MB / 1.3 GB, free: 134.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006318/1.611, allocations: 0.6435 MB / 1.301 GB, free: 134.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000704/1.612, allocations: 180.3 kB / 1.301 GB, free: 134 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 2 (dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (447): * Single equations (assignments): 445 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004863/1.617, allocations: 2.279 MB / 1.303 GB, free: 133.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001729/1.619, allocations: 491.2 kB / 1.303 GB, free: 132.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006393/1.625, allocations: 4.193 MB / 1.308 GB, free: 130.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.132e-05/1.625, allocations: 26.72 kB / 1.308 GB, free: 130.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/1.625, allocations: 3.438 kB / 1.308 GB, free: 130.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004287/1.629, allocations: 3.629 MB / 1.311 GB, free: 128.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01749/1.647, allocations: 10.21 MB / 1.321 GB, free: 122.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/1.647, allocations: 7.094 kB / 1.321 GB, free: 122.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001996/1.649, allocations: 0.5036 MB / 1.322 GB, free: 122.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007651/1.65, allocations: 376.6 kB / 1.322 GB, free: 121.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002316/1.65, allocations: 75.81 kB / 1.322 GB, free: 121.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004136/1.654, allocations: 5.216 MB / 1.327 GB, free: 116.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.654, allocations: 4 kB / 1.327 GB, free: 116.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008489/1.663, allocations: 6.253 MB / 1.333 GB, free: 110 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003686/1.666, allocations: 1.166 MB / 1.334 GB, free: 108.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00136/1.668, allocations: 63.17 kB / 1.334 GB, free: 108.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00359/1.671, allocations: 330.4 kB / 1.335 GB, free: 108.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003021/1.672, allocations: 173.6 kB / 1.335 GB, free: 108.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002519/1.672, allocations: 135.5 kB / 1.335 GB, free: 108.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00478/1.677, allocations: 3.683 MB / 1.339 GB, free: 104.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.4e-07/1.677, allocations: 0 / 1.339 GB, free: 104.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.006054/1.683, allocations: 1.785 MB / 1.34 GB, free: 102.7 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * 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 (242): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001336/1.684, allocations: 466 kB / 1.341 GB, free: 102.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005837/1.69, allocations: 4.252 MB / 1.345 GB, free: 97.95 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/1.69, allocations: 7.781 kB / 1.345 GB, free: 97.94 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002115/1.692, allocations: 2.043 MB / 1.347 GB, free: 95.88 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01919/1.711, allocations: 3.287 MB / 1.35 GB, free: 92.69 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01883/1.73, allocations: 15.11 MB / 1.365 GB, free: 77.49 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003196/1.733, allocations: 4.315 MB / 1.369 GB, free: 73.14 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.006002/1.739, allocations: 1.839 MB / 1.371 GB, free: 71.32 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0013/1.741, allocations: 415.2 kB / 1.371 GB, free: 70.91 MB / 0.9981 GB Notification: Performance of SimCode: time 1.022e-06/1.741, allocations: 0 / 1.371 GB, free: 70.91 MB / 0.9981 GB Notification: Performance of Templates: time 0.1753/1.916, allocations: 110.1 MB / 1.479 GB, free: 9.855 MB / 1.045 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f Buildings_1.6_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_1.6_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)