Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001214/0.001214, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001543/0.001543, allocations: 193 kB / 16.13 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.1 MB / 222 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.733/1.733, allocations: 292.2 MB / 0.5484 GB, free: 13.71 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 62.75 kB / 0.6708 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3148, allocations: 114.5 MB / 0.7827 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.06539/0.3803, allocations: 48.99 MB / 0.8305 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02691/0.4073, allocations: 13.75 MB / 0.8439 GB, free: 15.11 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00414/0.4114, allocations: 63.62 kB / 0.844 GB, free: 15.04 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003434/0.415, allocations: 0.6603 MB / 0.8446 GB, free: 14.38 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008612/0.4236, allocations: 2.061 MB / 0.8466 GB, free: 12.31 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004474/0.4281, allocations: 1.192 MB / 0.8478 GB, free: 11.12 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.03333/0.4615, allocations: 25.5 MB / 0.8727 GB, free: 1.559 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01911/0.4807, allocations: 8.075 MB / 0.8806 GB, free: 9.355 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01791/0.4986, allocations: 5.004 MB / 0.8855 GB, free: 4.332 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01697/0.5157, allocations: 5.586 MB / 0.8909 GB, free: 14.72 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.004167/0.5199, allocations: 424 kB / 0.8913 GB, free: 14.31 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01017/0.5302, allocations: 1.108 MB / 0.8924 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0059/0.5361, allocations: 1.611 MB / 0.894 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.01579/0.5519, allocations: 3.733 MB / 0.8976 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.02513/0.5771, allocations: 11.52 MB / 0.9089 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.355e-06/0.5772, allocations: 4 kB / 0.9089 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5772, allocations: 0 / 0.9089 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0005596/0.5778, allocations: 0 / 0.9089 GB, free: 12.27 MB / 0.7325 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.03655/0.6143, allocations: 7.659 MB / 0.9164 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.596e-05/0.6144, allocations: 15.97 kB / 0.9164 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007233/0.6217, allocations: 0.7737 MB / 0.9172 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5701/1.192, allocations: 6.11 MB / 0.9231 GB, free: 128.3 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004757/1.192, allocations: 418.6 kB / 0.9235 GB, free: 128.2 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00231/1.195, allocations: 0.5365 MB / 0.924 GB, free: 128.2 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0196/1.214, allocations: 8.076 MB / 0.9319 GB, free: 125.3 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000152/1.214, allocations: 22.19 kB / 0.9319 GB, free: 125.3 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008459/1.215, allocations: 234.5 kB / 0.9322 GB, free: 125.1 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001703/1.215, allocations: 169.5 kB / 0.9323 GB, free: 125.1 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01776/1.233, allocations: 6.519 MB / 0.9387 GB, free: 122.9 MB / 0.7325 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.05328/1.287, allocations: 31.09 MB / 0.9691 GB, free: 99.42 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006339/1.293, allocations: 3.66 MB / 0.9726 GB, free: 97.56 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004446/1.297, allocations: 2.811 MB / 0.9754 GB, free: 96.26 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008991/1.298, allocations: 0.8243 MB / 0.9762 GB, free: 95.36 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.309e-05/1.298, allocations: 70.3 kB / 0.9762 GB, free: 95.3 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=267): time 6.001e-06/1.298, allocations: 0 / 0.9762 GB, free: 95.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=267): time 0.01154/1.31, allocations: 5.763 MB / 0.9819 GB, free: 90.84 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/1.31, allocations: 81.5 kB / 0.982 GB, free: 90.75 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0129/1.323, allocations: 4.938 MB / 0.9868 GB, free: 85.82 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001239/1.324, allocations: 85.7 kB / 0.9869 GB, free: 85.73 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.003026/1.327, allocations: 2.84 MB / 0.9896 GB, free: 82.87 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001739/1.329, allocations: 0.9391 MB / 0.9905 GB, free: 81.94 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002159/1.331, allocations: 0.7113 MB / 0.9912 GB, free: 81.22 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.12e-05/1.331, allocations: 302.2 kB / 0.9915 GB, free: 80.92 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002807/1.334, allocations: 1.674 MB / 0.9932 GB, free: 79.25 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003288/1.337, allocations: 2.932 MB / 0.996 GB, free: 75.76 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005999/1.343, allocations: 4.962 MB / 1.001 GB, free: 70.21 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-05/1.344, allocations: 12 kB / 1.001 GB, free: 70.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009631/1.353, allocations: 5.441 MB / 1.006 GB, free: 64.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.739e-05/1.353, allocations: 21 kB / 1.006 GB, free: 64.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.989e-05/1.353, allocations: 40 kB / 1.006 GB, free: 64.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009639/1.354, allocations: 415.9 kB / 1.007 GB, free: 64.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00301/1.357, allocations: 0.8616 MB / 1.007 GB, free: 63.37 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004559/1.362, allocations: 5.271 MB / 1.013 GB, free: 57.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005393/1.367, allocations: 0.6433 MB / 1.013 GB, free: 57.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007335/1.368, allocations: 180 kB / 1.013 GB, free: 57.02 MB / 0.7325 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.004456/1.373, allocations: 2.261 MB / 1.016 GB, free: 54.75 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002256/1.375, allocations: 482.2 kB / 1.016 GB, free: 54.27 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007937/1.383, allocations: 4.18 MB / 1.02 GB, free: 50.05 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.601e-05/1.383, allocations: 28 kB / 1.02 GB, free: 50.02 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.871e-05/1.383, allocations: 4 kB / 1.02 GB, free: 50.02 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004696/1.388, allocations: 3.644 MB / 1.024 GB, free: 46.25 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02138/1.409, allocations: 10.18 MB / 1.034 GB, free: 35.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-05/1.409, allocations: 4 kB / 1.034 GB, free: 35.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00212/1.411, allocations: 0.4998 MB / 1.034 GB, free: 35.46 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000814/1.412, allocations: 373.3 kB / 1.035 GB, free: 35.09 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000292/1.412, allocations: 79.95 kB / 1.035 GB, free: 35.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004297/1.417, allocations: 5.208 MB / 1.04 GB, free: 29.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/1.417, allocations: 8 kB / 1.04 GB, free: 29.54 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009315/1.426, allocations: 6.235 MB / 1.046 GB, free: 23.13 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004748/1.431, allocations: 1.072 MB / 1.047 GB, free: 22.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002159/1.433, allocations: 67.83 kB / 1.047 GB, free: 21.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004933/1.438, allocations: 325.4 kB / 1.047 GB, free: 21.65 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00037/1.438, allocations: 177.6 kB / 1.047 GB, free: 21.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004032/1.439, allocations: 123.9 kB / 1.048 GB, free: 21.36 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00729/1.446, allocations: 3.622 MB / 1.051 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.446, allocations: 4 kB / 1.051 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00737/1.453, allocations: 1.792 MB / 1.053 GB, free: 15.97 MB / 0.7325 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.001616/1.455, allocations: 473.2 kB / 1.053 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007064/1.462, allocations: 4.258 MB / 1.057 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/1.462, allocations: 4 kB / 1.057 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003067/1.465, allocations: 2.036 MB / 1.059 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01937/1.485, allocations: 3.287 MB / 1.063 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02725/1.512, allocations: 14.78 MB / 1.077 GB, free: 7.09 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006723/1.519, allocations: 4.274 MB / 1.081 GB, free: 2.781 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.009837/1.529, allocations: 1.913 MB / 1.083 GB, free: 0.8789 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00232/1.531, allocations: 407.3 kB / 1.084 GB, free: 492 kB / 0.7481 GB Notification: Performance of SimCode: time 1.774e-06/1.531, allocations: 4 kB / 1.084 GB, free: 488 kB / 0.7481 GB Notification: Performance of Templates: time 0.1958/1.727, allocations: 110.9 MB / 1.192 GB, free: 2.465 MB / 0.8575 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)