Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.085/2.085, allocations: 251.1 MB / 266.7 MB, free: 11.56 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.001379/0.001378, allocations: 183.2 kB / 326.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.435/2.435, allocations: 205.4 MB / 0.5772 GB, free: 21.17 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.0009588/0.0009586, allocations: 105.2 kB / 0.6817 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006545/0.0006547, allocations: 12.31 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2148, allocations: 106.3 MB / 0.8995 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.187/1.402, allocations: 396.9 MB / 1.287 GB, free: 6.191 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003061/1.402, allocations: 90.27 kB / 1.287 GB, free: 6.145 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 10.65/12.05, allocations: 2.009 GB / 3.296 GB, free: 138 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.415e-06/12.05, allocations: 6.312 kB / 3.296 GB, free: 138 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0009686/12.05, allocations: 173 kB / 3.296 GB, free: 138 MB / 0.8855 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.0258/12.08, allocations: 6.507 MB / 3.303 GB, free: 134 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/12.08, allocations: 11.56 kB / 3.303 GB, free: 134 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005005/12.08, allocations: 0.7714 MB / 3.303 GB, free: 133.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02087/12.11, allocations: 6.886 MB / 3.31 GB, free: 129.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004588/12.11, allocations: 416.4 kB / 3.311 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002187/12.11, allocations: 0.5486 MB / 3.311 GB, free: 129 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02245/12.13, allocations: 7.426 MB / 3.318 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002687/12.13, allocations: 26.83 kB / 3.318 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001353/12.13, allocations: 235.4 kB / 3.319 GB, free: 123.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002008/12.13, allocations: 163.9 kB / 3.319 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01918/12.15, allocations: 6.005 MB / 3.325 GB, free: 117.4 MB / 0.8855 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.05971/12.21, allocations: 28.85 MB / 3.353 GB, free: 87.59 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009416/12.22, allocations: 3.691 MB / 3.356 GB, free: 83.93 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006708/12.23, allocations: 3.048 MB / 3.359 GB, free: 80.88 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001235/12.23, allocations: 0.8291 MB / 3.36 GB, free: 79.89 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.418e-05/12.23, allocations: 68.73 kB / 3.36 GB, free: 79.82 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=275): time 5.961e-06/12.23, allocations: 0 / 3.36 GB, free: 79.82 MB / 0.8855 GB Notification: Performance of matching and sorting (n=275): time 0.01854/12.25, allocations: 5.761 MB / 3.366 GB, free: 73.96 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/12.25, allocations: 87.92 kB / 3.366 GB, free: 73.86 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01123/12.26, allocations: 4.921 MB / 3.371 GB, free: 68.95 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0008514/12.26, allocations: 81.7 kB / 3.371 GB, free: 68.86 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.003099/12.26, allocations: 2.805 MB / 3.374 GB, free: 66.04 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001711/12.26, allocations: 0.9658 MB / 3.374 GB, free: 65.08 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003757/12.26, allocations: 76 kB / 3.375 GB, free: 65.01 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002667/12.27, allocations: 462 kB / 3.375 GB, free: 64.55 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004386/12.27, allocations: 1.67 MB / 3.377 GB, free: 62.88 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005485/12.27, allocations: 2.901 MB / 3.379 GB, free: 59.44 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00567/12.28, allocations: 2.275 MB / 3.382 GB, free: 57.14 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-05/12.28, allocations: 8 kB / 3.382 GB, free: 57.14 MB / 0.8855 GB Notification: Performance of matching and sorting (n=483) (initialization): time 0.01705/12.3, allocations: 5.409 MB / 3.387 GB, free: 51.68 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.743e-05/12.3, allocations: 20.62 kB / 3.387 GB, free: 51.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-05/12.3, allocations: 42.28 kB / 3.387 GB, free: 51.62 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001643/12.3, allocations: 415.5 kB / 3.387 GB, free: 51.21 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006659/12.31, allocations: 0.8697 MB / 3.388 GB, free: 50.34 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007761/12.31, allocations: 5.317 MB / 3.393 GB, free: 44.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008295/12.32, allocations: 0.6355 MB / 3.394 GB, free: 44.12 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001084/12.32, allocations: 184 kB / 3.394 GB, free: 43.94 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006262/12.33, allocations: 2.257 MB / 3.396 GB, free: 41.67 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001729/12.33, allocations: 478.2 kB / 3.397 GB, free: 41.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01283/12.34, allocations: 4.183 MB / 3.401 GB, free: 36.96 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.713e-05/12.34, allocations: 32 kB / 3.401 GB, free: 36.93 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/12.34, allocations: 4 kB / 3.401 GB, free: 36.93 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009287/12.35, allocations: 3.622 MB / 3.405 GB, free: 33.19 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0302/12.38, allocations: 10.44 MB / 3.415 GB, free: 22.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.797e-05/12.38, allocations: 4 kB / 3.415 GB, free: 22.59 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004639/12.39, allocations: 0.5152 MB / 3.415 GB, free: 22.07 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001389/12.39, allocations: 373.3 kB / 3.416 GB, free: 21.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005594/12.39, allocations: 79.95 kB / 3.416 GB, free: 21.62 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007173/12.4, allocations: 5.268 MB / 3.421 GB, free: 16.09 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/12.4, allocations: 8 kB / 3.421 GB, free: 16.08 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01507/12.41, allocations: 6.298 MB / 3.427 GB, free: 9.586 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00452/12.42, allocations: 1.134 MB / 3.428 GB, free: 8.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001839/12.42, allocations: 63.98 kB / 3.428 GB, free: 8.367 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006603/12.43, allocations: 299.1 kB / 3.428 GB, free: 8.074 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008089/12.43, allocations: 177.7 kB / 3.429 GB, free: 7.898 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004542/12.43, allocations: 131.7 kB / 3.429 GB, free: 7.773 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.008976/12.44, allocations: 3.598 MB / 3.432 GB, free: 4.188 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.81e-07/12.44, allocations: 0 / 3.432 GB, free: 4.188 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.008495/12.45, allocations: 1.824 MB / 3.434 GB, free: 2.359 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002289/12.45, allocations: 0.721 MB / 3.435 GB, free: 1.734 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01193/12.46, allocations: 4.258 MB / 3.439 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/12.46, allocations: 0 / 3.439 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.005961/12.47, allocations: 2.043 MB / 3.441 GB, free: 11.36 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02878/12.49, allocations: 3.283 MB / 3.444 GB, free: 8.199 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7629/13.26, allocations: 14.82 MB / 3.459 GB, free: 150 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01215/13.27, allocations: 4.29 MB / 3.463 GB, free: 149.2 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.01281/13.28, allocations: 1.824 MB / 3.465 GB, free: 149.2 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003211/13.29, allocations: 418.7 kB / 3.465 GB, free: 149.2 MB / 0.9011 GB Notification: Performance of SimCode: time 1.202e-06/13.29, allocations: 0 / 3.465 GB, free: 149.2 MB / 0.9011 GB Notification: Performance of Templates: time 0.2751/13.56, allocations: 110.3 MB / 3.573 GB, free: 144.4 MB / 0.9011 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_7.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)