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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.499/1.499, allocations: 252 MB / 268 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009901/0.00099, allocations: 171.9 kB / 327.6 MB, free: 2.129 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.757/1.757, allocations: 205.4 MB / 0.5786 GB, free: 20.47 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007943/0.0007943, allocations: 92.23 kB / 0.6832 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003852/0.0003858, allocations: 9.594 kB / 0.7976 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1969, allocations: 106.3 MB / 0.9014 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.03818/0.2351, allocations: 47.98 MB / 0.9483 GB, free: 15.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01455/0.2497, allocations: 13.58 MB / 0.9616 GB, free: 2.129 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00251/0.2523, allocations: 59.62 kB / 0.9616 GB, free: 2.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002097/0.2544, allocations: 0.6486 MB / 0.9622 GB, free: 1.418 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0059/0.2603, allocations: 2.068 MB / 0.9643 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003278/0.2636, allocations: 1.143 MB / 0.9654 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0251/0.2887, allocations: 25.49 MB / 0.9903 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01145/0.3002, allocations: 7.797 MB / 0.9979 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009698/0.3099, allocations: 4.804 MB / 1.003 GB, free: 7.914 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008947/0.3189, allocations: 5.231 MB / 1.008 GB, free: 2.66 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001986/0.321, allocations: 303.9 kB / 1.008 GB, free: 2.363 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005256/0.3262, allocations: 0.9905 MB / 1.009 GB, free: 1.371 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.002797/0.3291, allocations: 1.408 MB / 1.01 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.008363/0.3375, allocations: 3.508 MB / 1.014 GB, free: 12.43 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01358/0.3511, allocations: 9.399 MB / 1.023 GB, free: 3.004 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 9.668e-06/0.3511, allocations: 4 kB / 1.023 GB, free: 3 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.066e-06/0.3511, allocations: 0 / 1.023 GB, free: 3 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0004727/0.3516, allocations: 0 / 1.023 GB, free: 3 MB / 0.6667 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.01559/0.3672, allocations: 6.188 MB / 1.029 GB, free: 12.74 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.3673, allocations: 12.03 kB / 1.029 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003949/0.3713, allocations: 0.7659 MB / 1.03 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01334/0.3846, allocations: 6.174 MB / 1.036 GB, free: 5.715 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004592/0.3851, allocations: 419.4 kB / 1.036 GB, free: 5.305 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00184/0.387, allocations: 0.5467 MB / 1.037 GB, free: 4.758 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02023/0.4072, allocations: 7.965 MB / 1.044 GB, free: 12.57 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001941/0.4075, allocations: 19.78 kB / 1.044 GB, free: 12.55 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001075/0.4086, allocations: 236 kB / 1.045 GB, free: 12.32 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001944/0.4088, allocations: 164 kB / 1.045 GB, free: 12.16 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01409/0.4229, allocations: 6.559 MB / 1.051 GB, free: 5.594 MB / 0.698 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.4177/0.8406, allocations: 30.54 MB / 1.081 GB, free: 122.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006496/0.8471, allocations: 3.762 MB / 1.085 GB, free: 122.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004074/0.8512, allocations: 2.858 MB / 1.088 GB, free: 122.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007941/0.852, allocations: 0.8384 MB / 1.088 GB, free: 121.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.029e-05/0.8521, allocations: 65.08 kB / 1.088 GB, free: 121.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=275): time 5.09e-06/0.8521, allocations: 1.5 kB / 1.088 GB, free: 121.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=275): time 0.00992/0.862, allocations: 5.848 MB / 1.094 GB, free: 118.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.8621, allocations: 80.38 kB / 1.094 GB, free: 118.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008797/0.8709, allocations: 4.946 MB / 1.099 GB, free: 115.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006992/0.8717, allocations: 80.05 kB / 1.099 GB, free: 115.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002082/0.8737, allocations: 2.827 MB / 1.102 GB, free: 113.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001469/0.8752, allocations: 0.9701 MB / 1.103 GB, free: 112.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001951/0.8754, allocations: 75.5 kB / 1.103 GB, free: 112.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002173/0.8757, allocations: 460.3 kB / 1.103 GB, free: 111.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002478/0.8781, allocations: 1.704 MB / 1.105 GB, free: 111 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00272/0.8809, allocations: 2.917 MB / 1.108 GB, free: 108.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005255/0.8861, allocations: 4.976 MB / 1.113 GB, free: 104.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.671e-05/0.8862, allocations: 12 kB / 1.113 GB, free: 104.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=483) (initialization): time 0.007553/0.8938, allocations: 5.474 MB / 1.118 GB, free: 99.21 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.41e-05/0.8938, allocations: 24.06 kB / 1.118 GB, free: 99.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.094e-05/0.8939, allocations: 36 kB / 1.118 GB, free: 99.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000842/0.8947, allocations: 426.4 kB / 1.119 GB, free: 98.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002795/0.8975, allocations: 0.8658 MB / 1.119 GB, free: 97.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004365/0.9019, allocations: 5.271 MB / 1.125 GB, free: 92.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005279/0.9072, allocations: 0.651 MB / 1.125 GB, free: 91.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005659/0.9078, allocations: 176 kB / 1.125 GB, free: 91.51 MB / 0.698 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.003815/0.9116, allocations: 2.261 MB / 1.128 GB, free: 89.24 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001297/0.913, allocations: 478.2 kB / 1.128 GB, free: 88.77 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005963/0.9189, allocations: 4.236 MB / 1.132 GB, free: 84.48 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.121e-05/0.919, allocations: 31.94 kB / 1.132 GB, free: 84.45 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.467e-06/0.919, allocations: 4 kB / 1.132 GB, free: 84.45 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004114/0.9231, allocations: 3.69 MB / 1.136 GB, free: 80.64 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01811/0.9412, allocations: 10.54 MB / 1.146 GB, free: 69.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.355e-05/0.9413, allocations: 4.984 kB / 1.146 GB, free: 69.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002371/0.9437, allocations: 0.5195 MB / 1.147 GB, free: 69.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007357/0.9444, allocations: 380.2 kB / 1.147 GB, free: 69.04 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002058/0.9446, allocations: 79.95 kB / 1.147 GB, free: 68.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003974/0.9486, allocations: 5.196 MB / 1.152 GB, free: 63.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.9486, allocations: 14.2 kB / 1.152 GB, free: 63.49 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007811/0.9565, allocations: 6.345 MB / 1.158 GB, free: 56.95 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002934/0.9594, allocations: 1.15 MB / 1.159 GB, free: 55.77 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001041/0.9605, allocations: 63.98 kB / 1.16 GB, free: 55.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003406/0.9639, allocations: 334.7 kB / 1.16 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003177/0.9643, allocations: 185.7 kB / 1.16 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002353/0.9645, allocations: 119.9 kB / 1.16 GB, free: 55.09 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.005311/0.9698, allocations: 3.626 MB / 1.164 GB, free: 51.47 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.61e-07/0.9699, allocations: 1.875 kB / 1.164 GB, free: 51.47 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005909/0.9758, allocations: 1.783 MB / 1.165 GB, free: 49.7 MB / 0.698 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.00137/0.9772, allocations: 479 kB / 1.166 GB, free: 49.27 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005872/0.9831, allocations: 4.304 MB / 1.17 GB, free: 44.92 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/0.9831, allocations: 4 kB / 1.17 GB, free: 44.92 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002537/0.9856, allocations: 2.067 MB / 1.172 GB, free: 42.82 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01928/1.005, allocations: 3.295 MB / 1.175 GB, free: 39.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01949/1.024, allocations: 15.4 MB / 1.19 GB, free: 24.09 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003116/1.028, allocations: 4.218 MB / 1.194 GB, free: 19.84 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001815/1.029, allocations: 443.2 kB / 1.195 GB, free: 19.41 MB / 0.698 GB Notification: Performance of SimCode: time 6.92e-07/1.03, allocations: 4 kB / 1.195 GB, free: 19.4 MB / 0.698 GB Notification: Performance of Templates: time 0.2185/1.248, allocations: 170 MB / 1.361 GB, free: 9.363 MB / 0.8542 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)