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.001125/0.001126, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.52/1.52, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.569/1.569, allocations: 251.7 MB / 0.5092 GB, free: 3.117 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.00169/0.00169, allocations: 67.89 kB / 0.6223 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.626/0.6277, allocations: 104.7 MB / 0.7245 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05073/0.6785, allocations: 49.32 MB / 0.7727 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02045/0.699, allocations: 13.71 MB / 0.7861 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003298/0.7023, allocations: 63.62 kB / 0.7861 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002561/0.705, allocations: 0.8031 MB / 0.7869 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007543/0.7125, allocations: 2.223 MB / 0.7891 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003524/0.7161, allocations: 1.264 MB / 0.7903 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01898/0.7351, allocations: 19.45 MB / 0.8093 GB, free: 5.828 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01279/0.7479, allocations: 9.883 MB / 0.8189 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01765/0.7656, allocations: 6.475 MB / 0.8253 GB, free: 5.367 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01207/0.7777, allocations: 5.766 MB / 0.8309 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.003352/0.7811, allocations: 0.8359 MB / 0.8317 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007983/0.7891, allocations: 1.6 MB / 0.8333 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0046/0.7938, allocations: 2.092 MB / 0.8353 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01083/0.8046, allocations: 4.248 MB / 0.8395 GB, free: 6.777 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01671/0.8214, allocations: 11.79 MB / 0.851 GB, free: 10.96 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 1.014e-05/0.8214, allocations: 7.875 kB / 0.851 GB, free: 10.95 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8214, allocations: 0 / 0.851 GB, free: 10.95 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0005094/0.822, allocations: 0 / 0.851 GB, free: 10.95 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.02063/0.8426, allocations: 7.655 MB / 0.8585 GB, free: 3.215 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.8427, allocations: 8.031 kB / 0.8585 GB, free: 3.207 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003195/0.8459, allocations: 0.7737 MB / 0.8592 GB, free: 2.426 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01215/0.858, allocations: 5.975 MB / 0.8651 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00034/0.8584, allocations: 419.4 kB / 0.8655 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001823/0.8603, allocations: 0.5505 MB / 0.866 GB, free: 11.42 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0158/0.8761, allocations: 7.969 MB / 0.8738 GB, free: 3.242 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001317/0.8762, allocations: 15.88 kB / 0.8738 GB, free: 3.227 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000594/0.8768, allocations: 235.9 kB / 0.874 GB, free: 2.996 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001526/0.877, allocations: 167.9 kB / 0.8742 GB, free: 2.832 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.012/0.889, allocations: 6.559 MB / 0.8806 GB, free: 12.26 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.5914/1.48, allocations: 30.78 MB / 0.9106 GB, free: 154.9 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008837/1.489, allocations: 3.756 MB / 0.9143 GB, free: 154.8 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006184/1.496, allocations: 2.84 MB / 0.9171 GB, free: 154 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000923/1.496, allocations: 0.8321 MB / 0.9179 GB, free: 153.1 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.422e-05/1.497, allocations: 68.77 kB / 0.918 GB, free: 153 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=275): time 5.27e-06/1.497, allocations: 0 / 0.918 GB, free: 153 MB / 0.7169 GB Notification: Performance of matching and sorting (n=275): time 0.01195/1.509, allocations: 5.832 MB / 0.9237 GB, free: 151.2 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/1.509, allocations: 80.95 kB / 0.9237 GB, free: 151.1 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009344/1.518, allocations: 5.149 MB / 0.9288 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000836/1.519, allocations: 74.34 kB / 0.9288 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002267/1.521, allocations: 2.836 MB / 0.9316 GB, free: 147.4 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001461/1.523, allocations: 0.96 MB / 0.9325 GB, free: 146.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001018/1.524, allocations: 0.7233 MB / 0.9332 GB, free: 146.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.486e-05/1.524, allocations: 307.1 kB / 0.9335 GB, free: 145.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002306/1.526, allocations: 1.698 MB / 0.9352 GB, free: 144.9 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003354/1.529, allocations: 2.921 MB / 0.9381 GB, free: 142.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006132/1.536, allocations: 4.963 MB / 0.9429 GB, free: 139 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.698e-05/1.536, allocations: 11.22 kB / 0.9429 GB, free: 139 MB / 0.7169 GB Notification: Performance of matching and sorting (n=483) (initialization): time 0.008511/1.544, allocations: 5.479 MB / 0.9483 GB, free: 133.7 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.081e-05/1.544, allocations: 20 kB / 0.9483 GB, free: 133.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.575e-05/1.544, allocations: 39.28 kB / 0.9483 GB, free: 133.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009098/1.545, allocations: 432.2 kB / 0.9487 GB, free: 133.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002829/1.548, allocations: 0.8656 MB / 0.9496 GB, free: 132.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004924/1.553, allocations: 5.698 MB / 0.9551 GB, free: 126.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005517/1.558, allocations: 0.522 MB / 0.9556 GB, free: 125.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004569/1.559, allocations: 183.9 kB / 0.9558 GB, free: 125.7 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.003961/1.563, allocations: 2.258 MB / 0.958 GB, free: 123.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001509/1.564, allocations: 481.9 kB / 0.9585 GB, free: 123 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005892/1.57, allocations: 4.235 MB / 0.9626 GB, free: 118.7 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.623e-05/1.57, allocations: 35.98 kB / 0.9627 GB, free: 118.6 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/1.57, allocations: 7.891 kB / 0.9627 GB, free: 118.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004/1.574, allocations: 3.684 MB / 0.9663 GB, free: 114.8 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01803/1.592, allocations: 10.59 MB / 0.9766 GB, free: 104.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.655e-05/1.593, allocations: 10.5 kB / 0.9766 GB, free: 104.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001932/1.594, allocations: 0.5155 MB / 0.9771 GB, free: 103.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000739/1.595, allocations: 377 kB / 0.9775 GB, free: 103.2 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001832/1.595, allocations: 79.97 kB / 0.9776 GB, free: 103.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004245/1.6, allocations: 5.636 MB / 0.9831 GB, free: 97.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/1.6, allocations: 12 kB / 0.9831 GB, free: 97.19 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008749/1.608, allocations: 6.347 MB / 0.9893 GB, free: 90.65 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003062/1.612, allocations: 1.083 MB / 0.9903 GB, free: 89.54 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00117/1.613, allocations: 63.98 kB / 0.9904 GB, free: 89.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002949/1.616, allocations: 179.3 kB / 0.9906 GB, free: 89.31 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003382/1.616, allocations: 185.6 kB / 0.9907 GB, free: 89.12 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002327/1.616, allocations: 127.8 kB / 0.9909 GB, free: 89 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.005362/1.622, allocations: 3.778 MB / 0.9945 GB, free: 85.23 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.81e-07/1.622, allocations: 0 / 0.9945 GB, free: 85.23 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.006896/1.629, allocations: 1.798 MB / 0.9963 GB, free: 83.45 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.001386/1.63, allocations: 490.8 kB / 0.9968 GB, free: 83.02 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01318/1.643, allocations: 8.189 MB / 1.005 GB, free: 74.82 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/1.643, allocations: 4 kB / 1.005 GB, free: 74.81 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002593/1.646, allocations: 2.075 MB / 1.007 GB, free: 72.71 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01719/1.663, allocations: 3.458 MB / 1.01 GB, free: 69.39 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02005/1.683, allocations: 12.81 MB / 1.023 GB, free: 56.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0036/1.687, allocations: 4.278 MB / 1.027 GB, free: 52.19 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.006272/1.693, allocations: 1.841 MB / 1.029 GB, free: 50.36 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001446/1.695, allocations: 423.2 kB / 1.029 GB, free: 49.95 MB / 0.7169 GB Notification: Performance of SimCode: time 8.92e-07/1.695, allocations: 0 / 1.029 GB, free: 49.95 MB / 0.7169 GB Notification: Performance of Templates: time 0.1731/1.868, allocations: 116.5 MB / 1.143 GB, free: 14.47 MB / 0.795 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)