Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001657/0.001657, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001668/0.001668, allocations: 190 kB / 16.14 MB, free: 6.703 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.53/1.53, allocations: 205.1 MB / 222 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.49/1.49, allocations: 251.7 MB / 0.5088 GB, free: 3.27 MB / 414.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.001655/0.001655, allocations: 67.89 kB / 0.6216 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6631/0.6648, allocations: 104.7 MB / 0.7238 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04599/0.7109, allocations: 48.99 MB / 0.7716 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01879/0.7297, allocations: 13.72 MB / 0.785 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0032/0.7329, allocations: 59.62 kB / 0.7851 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003223/0.7362, allocations: 0.6525 MB / 0.7857 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.008557/0.7448, allocations: 2.061 MB / 0.7877 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004014/0.7489, allocations: 1.151 MB / 0.7889 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.02369/0.7726, allocations: 25.5 MB / 0.8138 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01364/0.7863, allocations: 8.071 MB / 0.8217 GB, free: 8.504 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01185/0.7982, allocations: 4.996 MB / 0.8265 GB, free: 3.488 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01054/0.8088, allocations: 5.594 MB / 0.832 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.00215/0.8109, allocations: 424 kB / 0.8324 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006075/0.817, allocations: 1.096 MB / 0.8335 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00283/0.8199, allocations: 1.611 MB / 0.835 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.008541/0.8284, allocations: 3.721 MB / 0.8387 GB, free: 7.004 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01734/0.8458, allocations: 11.43 MB / 0.8498 GB, free: 11.54 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.8459, allocations: 0 / 0.8498 GB, free: 11.54 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.854e-06/0.8459, allocations: 8 kB / 0.8499 GB, free: 11.54 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0004765/0.8464, allocations: 0 / 0.8499 GB, free: 11.54 MB / 0.67 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.02661/0.873, allocations: 7.639 MB / 0.8573 GB, free: 3.816 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.948e-05/0.8731, allocations: 8.031 kB / 0.8573 GB, free: 3.809 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005244/0.8783, allocations: 0.7698 MB / 0.8581 GB, free: 3.031 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01273/0.8911, allocations: 6.162 MB / 0.8641 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003751/0.8915, allocations: 415.4 kB / 0.8645 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002285/0.8938, allocations: 0.5506 MB / 0.865 GB, free: 11.85 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01901/0.9128, allocations: 7.965 MB / 0.8728 GB, free: 3.672 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001648/0.913, allocations: 23.78 kB / 0.8728 GB, free: 3.648 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008194/0.9138, allocations: 236 kB / 0.873 GB, free: 3.418 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001835/0.914, allocations: 167.9 kB / 0.8732 GB, free: 3.254 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01506/0.9291, allocations: 6.563 MB / 0.8796 GB, free: 12.68 MB / 0.7012 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.5273/1.456, allocations: 30.46 MB / 0.9094 GB, free: 155.2 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00793/1.464, allocations: 3.759 MB / 0.913 GB, free: 155.2 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005651/1.47, allocations: 2.832 MB / 0.9158 GB, free: 154.4 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008524/1.471, allocations: 0.83 MB / 0.9166 GB, free: 153.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.176e-05/1.471, allocations: 65.11 kB / 0.9167 GB, free: 153.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=275): time 6.372e-06/1.471, allocations: 0 / 0.9167 GB, free: 153.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=275): time 0.01122/1.482, allocations: 5.837 MB / 0.9224 GB, free: 151.6 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/1.482, allocations: 81.08 kB / 0.9225 GB, free: 151.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0076/1.49, allocations: 4.944 MB / 0.9273 GB, free: 149.9 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0007489/1.491, allocations: 80.86 kB / 0.9274 GB, free: 149.9 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002133/1.493, allocations: 2.824 MB / 0.9301 GB, free: 147.9 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001445/1.494, allocations: 0.9671 MB / 0.9311 GB, free: 147 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009497/1.495, allocations: 0.7253 MB / 0.9318 GB, free: 146.6 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.493e-05/1.495, allocations: 308.8 kB / 0.9321 GB, free: 146.3 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002316/1.498, allocations: 1.699 MB / 0.9337 GB, free: 145.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002962/1.501, allocations: 2.924 MB / 0.9366 GB, free: 143 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005443/1.506, allocations: 4.968 MB / 0.9414 GB, free: 139.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.546e-05/1.506, allocations: 9.562 kB / 0.9414 GB, free: 139.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=483) (initialization): time 0.008197/1.514, allocations: 5.47 MB / 0.9468 GB, free: 134.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.072e-05/1.514, allocations: 23.98 kB / 0.9468 GB, free: 134.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.195e-05/1.515, allocations: 43.78 kB / 0.9468 GB, free: 134.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009036/1.515, allocations: 417 kB / 0.9472 GB, free: 133.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002811/1.518, allocations: 0.871 MB / 0.9481 GB, free: 132.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0043/1.523, allocations: 5.268 MB / 0.9532 GB, free: 127.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005447/1.528, allocations: 0.6432 MB / 0.9539 GB, free: 126.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000796/1.529, allocations: 186.8 kB / 0.954 GB, free: 126.5 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 173 * 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 (455): * Single equations (assignments): 453 * 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.004111/1.533, allocations: 2.257 MB / 0.9562 GB, free: 124.2 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001709/1.535, allocations: 474.3 kB / 0.9567 GB, free: 123.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006078/1.541, allocations: 4.246 MB / 0.9608 GB, free: 119.4 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.379e-05/1.541, allocations: 27.94 kB / 0.9609 GB, free: 119.4 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/1.541, allocations: 8 kB / 0.9609 GB, free: 119.4 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004121/1.545, allocations: 3.68 MB / 0.9645 GB, free: 115.6 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02388/1.569, allocations: 10.51 MB / 0.9747 GB, free: 104.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.297e-05/1.569, allocations: 4 kB / 0.9747 GB, free: 104.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002384/1.571, allocations: 0.5194 MB / 0.9753 GB, free: 104.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000866/1.572, allocations: 373.3 kB / 0.9756 GB, free: 104 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000454/1.573, allocations: 83.95 kB / 0.9757 GB, free: 103.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004317/1.577, allocations: 5.201 MB / 0.9808 GB, free: 98.49 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/1.577, allocations: 11.94 kB / 0.9808 GB, free: 98.48 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0102/1.587, allocations: 6.351 MB / 0.987 GB, free: 91.93 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003284/1.591, allocations: 1.061 MB / 0.988 GB, free: 90.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001646/1.592, allocations: 63.98 kB / 0.9881 GB, free: 90.78 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004169/1.597, allocations: 333.6 kB / 0.9884 GB, free: 90.46 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004341/1.597, allocations: 177.7 kB / 0.9886 GB, free: 90.28 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000358/1.597, allocations: 119.9 kB / 0.9887 GB, free: 90.16 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.006258/1.604, allocations: 3.633 MB / 0.9922 GB, free: 86.54 MB / 0.7169 GB Notification: Performance of sort global known variables: time 5.71e-07/1.604, allocations: 0 / 0.9922 GB, free: 86.54 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.006245/1.61, allocations: 1.78 MB / 0.994 GB, free: 84.78 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 20 (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,HIn_flow.h_out,HOut_flow.h_out,HInEnh_flow.h_out,HOutEnh_flow.h_out,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 (250): * Single equations (assignments): 245 * 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.001452/1.611, allocations: 481.5 kB / 0.9944 GB, free: 84.36 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007856/1.619, allocations: 4.306 MB / 0.9986 GB, free: 80 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.184e-05/1.619, allocations: 0 / 0.9986 GB, free: 80 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003254/1.623, allocations: 2.072 MB / 1.001 GB, free: 77.9 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01822/1.641, allocations: 3.288 MB / 1.004 GB, free: 74.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02617/1.667, allocations: 15.06 MB / 1.019 GB, free: 59.55 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004798/1.672, allocations: 4.284 MB / 1.023 GB, free: 55.23 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.006309/1.678, allocations: 1.85 MB / 1.025 GB, free: 53.39 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001488/1.68, allocations: 411.3 kB / 1.025 GB, free: 52.99 MB / 0.7169 GB Notification: Performance of SimCode: time 2.184e-06/1.68, allocations: 0 / 1.025 GB, free: 52.99 MB / 0.7169 GB Notification: Performance of Templates: time 0.1613/1.841, allocations: 110.4 MB / 1.133 GB, free: 7.543 MB / 0.7794 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)