Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0009886/0.0009887, allocations: 97.64 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.005845/0.005845, allocations: 172.1 kB / 16.27 MB, free: 6.32 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.516/1.516, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.868/2.868, allocations: 473.4 MB / 0.7469 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004006/0.0004005, allocations: 10.66 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4035/0.4039, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04607/0.4501, allocations: 48 MB / 1.121 GB, free: 7.379 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01922/0.4694, allocations: 13.68 MB / 1.134 GB, free: 9.68 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002667/0.4721, allocations: 59.62 kB / 1.134 GB, free: 9.621 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001992/0.4741, allocations: 0.6564 MB / 1.135 GB, free: 8.961 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00635/0.4804, allocations: 2.084 MB / 1.137 GB, free: 6.867 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003036/0.4835, allocations: 1.19 MB / 1.138 GB, free: 5.684 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.02348/0.507, allocations: 25.63 MB / 1.163 GB, free: 11.98 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01056/0.5176, allocations: 7.817 MB / 1.171 GB, free: 4.059 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01159/0.5292, allocations: 4.699 MB / 1.175 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01323/0.5425, allocations: 5.215 MB / 1.181 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.002907/0.5454, allocations: 300 kB / 1.181 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008394/0.5539, allocations: 0.9905 MB / 1.182 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.004399/0.5583, allocations: 1.428 MB / 1.183 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.01299/0.5713, allocations: 3.531 MB / 1.187 GB, free: 3.828 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.02918/0.6006, allocations: 11.26 MB / 1.198 GB, free: 8.531 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.6006, allocations: 4 kB / 1.198 GB, free: 8.527 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.817e-06/0.6007, allocations: 0 / 1.198 GB, free: 8.527 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0005455/0.6012, allocations: 0 / 1.198 GB, free: 8.527 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.02927/0.6305, allocations: 6.221 MB / 1.204 GB, free: 2.23 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.913e-05/0.6306, allocations: 12.03 kB / 1.204 GB, free: 2.219 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007262/0.6379, allocations: 0.7775 MB / 1.205 GB, free: 1.434 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02369/0.6617, allocations: 6.241 MB / 1.211 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005378/0.6623, allocations: 419.4 kB / 1.211 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002455/0.6647, allocations: 0.5389 MB / 1.212 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02383/0.6886, allocations: 8.076 MB / 1.219 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003148/0.6889, allocations: 19.78 kB / 1.219 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001658/0.6906, allocations: 232 kB / 1.22 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001987/0.6908, allocations: 164 kB / 1.22 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0142/0.705, allocations: 6.528 MB / 1.226 GB, free: 10.91 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.7962/1.501, allocations: 31.17 MB / 1.257 GB, free: 153.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008896/1.51, allocations: 3.651 MB / 1.26 GB, free: 153 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004981/1.515, allocations: 2.822 MB / 1.263 GB, free: 153 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001028/1.516, allocations: 0.8417 MB / 1.264 GB, free: 152.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.112e-05/1.516, allocations: 66.44 kB / 1.264 GB, free: 152.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=267): time 4.859e-06/1.516, allocations: 2.922 kB / 1.264 GB, free: 152.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=267): time 0.01613/1.533, allocations: 5.78 MB / 1.27 GB, free: 151.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.521e-05/1.533, allocations: 84.02 kB / 1.27 GB, free: 151.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01747/1.55, allocations: 5.03 MB / 1.274 GB, free: 149.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.001024/1.551, allocations: 83.23 kB / 1.275 GB, free: 149.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003909/1.555, allocations: 2.867 MB / 1.277 GB, free: 147.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002099/1.557, allocations: 0.9431 MB / 1.278 GB, free: 146.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001237/1.559, allocations: 306.5 kB / 1.279 GB, free: 146.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.079e-05/1.559, allocations: 302.9 kB / 1.279 GB, free: 146.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004085/1.563, allocations: 1.676 MB / 1.281 GB, free: 145.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004887/1.568, allocations: 2.933 MB / 1.283 GB, free: 143.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009355/1.577, allocations: 4.97 MB / 1.288 GB, free: 140.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.122e-05/1.577, allocations: 11.88 kB / 1.288 GB, free: 140.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01322/1.59, allocations: 5.443 MB / 1.294 GB, free: 138.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.74e-05/1.59, allocations: 22.38 kB / 1.294 GB, free: 138.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.752e-05/1.591, allocations: 39.03 kB / 1.294 GB, free: 138.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/1.592, allocations: 421.3 kB / 1.294 GB, free: 138.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003278/1.595, allocations: 0.8555 MB / 1.295 GB, free: 138.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005037/1.6, allocations: 5.265 MB / 1.3 GB, free: 134.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005802/1.606, allocations: 0.6436 MB / 1.301 GB, free: 134 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000632/1.606, allocations: 176.8 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.004398/1.611, allocations: 2.287 MB / 1.303 GB, free: 133 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001429/1.612, allocations: 487 kB / 1.303 GB, free: 132.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006671/1.619, allocations: 4.185 MB / 1.308 GB, free: 130.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-05/1.619, allocations: 31.2 kB / 1.308 GB, free: 130.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.717e-05/1.619, allocations: 8.062 kB / 1.308 GB, free: 130.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005395/1.625, allocations: 3.63 MB / 1.311 GB, free: 128.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02041/1.645, allocations: 10.21 MB / 1.321 GB, free: 122.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/1.645, allocations: 3.156 kB / 1.321 GB, free: 122.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001939/1.647, allocations: 0.4999 MB / 1.322 GB, free: 122.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008061/1.648, allocations: 380.6 kB / 1.322 GB, free: 121.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001839/1.648, allocations: 73.59 kB / 1.322 GB, free: 121.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004128/1.652, allocations: 5.204 MB / 1.327 GB, free: 116.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/1.652, allocations: 8.484 kB / 1.327 GB, free: 116.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008698/1.661, allocations: 6.261 MB / 1.333 GB, free: 110 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003309/1.664, allocations: 1.166 MB / 1.334 GB, free: 108.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000859/1.665, allocations: 63.98 kB / 1.334 GB, free: 108.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003033/1.668, allocations: 326.1 kB / 1.335 GB, free: 108.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000307/1.668, allocations: 181.4 kB / 1.335 GB, free: 108.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000225/1.669, allocations: 127.9 kB / 1.335 GB, free: 108.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004632/1.673, allocations: 3.683 MB / 1.339 GB, free: 104.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.673, allocations: 0 / 1.339 GB, free: 104.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005298/1.679, 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.00106/1.68, allocations: 482.6 kB / 1.341 GB, free: 102.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005551/1.685, allocations: 4.244 MB / 1.345 GB, free: 97.96 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-05/1.685, allocations: 8.781 kB / 1.345 GB, free: 97.95 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002351/1.688, allocations: 2.041 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.01842/1.706, allocations: 3.279 MB / 1.35 GB, free: 92.72 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01834/1.724, allocations: 15.12 MB / 1.365 GB, free: 77.52 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002946/1.727, allocations: 4.312 MB / 1.369 GB, free: 73.17 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.005809/1.733, allocations: 1.844 MB / 1.371 GB, free: 71.34 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001218/1.734, allocations: 419.2 kB / 1.371 GB, free: 70.93 MB / 0.9981 GB Notification: Performance of SimCode: time 8.42e-07/1.735, allocations: 0 / 1.371 GB, free: 70.93 MB / 0.9981 GB Notification: Performance of Templates: time 0.1654/1.9, allocations: 110.1 MB / 1.479 GB, free: 9.871 MB / 1.045 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)