Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009522/0.0009522, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 173 kB / 23.03 MB, free: 1.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9292/0.9292, allocations: 177.1 MB / 203.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001686/0.001686, allocations: 244 kB / 260.2 MB, free: 12.8 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7539/0.7539, allocations: 138.4 MB / 455.2 MB, free: 1.508 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.5551 GB, free: 0.5039 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.727e-05/1.881e-05, allocations: 6.312 kB / 0.5551 GB, free: 0.4961 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.01195/0.01197, allocations: 15.4 MB / 0.5702 GB, free: 1.027 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.007688/0.01966, allocations: 5.606 MB / 0.5756 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001015/0.02068, allocations: 91.25 kB / 0.5757 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008806/0.02156, allocations: 496.2 kB / 0.5762 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.002372/0.02393, allocations: 1.639 MB / 0.5778 GB, free: 9.176 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001662/0.02559, allocations: 1.244 MB / 0.579 GB, free: 7.926 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.01429/0.03988, allocations: 20.16 MB / 0.5987 GB, free: 3.707 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2488/0.2887, allocations: 6.702 MB / 0.6052 GB, free: 63.4 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01412/0.3028, allocations: 9.185 MB / 0.6142 GB, free: 63.39 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00928/0.3121, allocations: 6.002 MB / 0.6201 GB, free: 63.39 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.002587/0.3146, allocations: 0.8305 MB / 0.6209 GB, free: 63.39 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003693/0.3183, allocations: 1.093 MB / 0.622 GB, free: 63.39 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001875/0.3202, allocations: 2.249 MB / 0.6241 GB, free: 63.39 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.006288/0.3265, allocations: 3.019 MB / 0.6271 GB, free: 63.39 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.00906/0.3356, allocations: 7.242 MB / 0.6342 GB, free: 61.54 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3356, allocations: 0 / 0.6342 GB, free: 61.54 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3356, allocations: 1.062 kB / 0.6342 GB, free: 61.54 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003286/0.3359, allocations: 0 / 0.6342 GB, free: 61.54 MB / 0.5105 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.0112/0.3471, allocations: 8.138 MB / 0.6421 GB, free: 57.16 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.3471, allocations: 8.625 kB / 0.6421 GB, free: 57.16 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002283/0.3494, allocations: 1.398 MB / 0.6435 GB, free: 56.52 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004965/0.3544, allocations: 5.034 MB / 0.6484 GB, free: 54.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001787/0.3546, allocations: 418.1 kB / 0.6488 GB, free: 54.12 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005238/0.3551, allocations: 0.5588 MB / 0.6493 GB, free: 53.93 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006313/0.3614, allocations: 5.887 MB / 0.6551 GB, free: 50.48 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.871e-05/0.3615, allocations: 16.98 kB / 0.6551 GB, free: 50.47 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003677/0.3619, allocations: 241.6 kB / 0.6553 GB, free: 50.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.917e-05/0.362, allocations: 173.6 kB / 0.6555 GB, free: 50.29 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003494/0.3655, allocations: 2.086 MB / 0.6575 GB, free: 49.98 MB / 0.5105 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.01572/0.3812, allocations: 23.18 MB / 0.6802 GB, free: 28.77 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001873/0.383, allocations: 1.681 MB / 0.6818 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001387/0.3844, allocations: 1.33 MB / 0.6831 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003346/0.3848, allocations: 122.7 kB / 0.6832 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.538e-05/0.3848, allocations: 75.5 kB / 0.6833 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=267): time 5.35e-06/0.3848, allocations: 3.938 kB / 0.6833 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=267): time 0.004768/0.3896, allocations: 2.882 MB / 0.6861 GB, free: 22.69 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.3896, allocations: 85.52 kB / 0.6862 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003581/0.3932, allocations: 3.781 MB / 0.6899 GB, free: 18.77 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001733/0.3934, allocations: 83.58 kB / 0.69 GB, free: 18.68 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001415/0.3948, allocations: 3.175 MB / 0.6931 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006966/0.3955, allocations: 1.03 MB / 0.6941 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006882/0.3962, allocations: 0.786 MB / 0.6949 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.62e-05/0.3962, allocations: 480.8 kB / 0.6953 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008181/0.3971, allocations: 0.503 MB / 0.6958 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001367/0.3984, allocations: 2.453 MB / 0.6982 GB, free: 9.488 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002456/0.4009, allocations: 3.172 MB / 0.7013 GB, free: 5.684 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-05/0.4009, allocations: 12 kB / 0.7013 GB, free: 5.672 MB / 0.5105 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.003829/0.4047, allocations: 3.154 MB / 0.7044 GB, free: 2.621 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/0.4048, allocations: 27.98 kB / 0.7044 GB, free: 2.594 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.14e-05/0.4048, allocations: 40 kB / 0.7045 GB, free: 2.555 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/0.4059, allocations: 404.4 kB / 0.7048 GB, free: 2.156 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/0.4074, allocations: 0.8624 MB / 0.7057 GB, free: 1.293 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003392/0.4108, allocations: 5.285 MB / 0.7108 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002362/0.4132, allocations: 461.1 kB / 0.7113 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002235/0.4134, allocations: 184 kB / 0.7115 GB, free: 11.16 MB / 0.5261 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.002025/0.4154, allocations: 415.9 kB / 0.7119 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006604/0.4161, allocations: 0.5168 MB / 0.7124 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002946/0.419, allocations: 2.143 MB / 0.7145 GB, free: 8.027 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.061e-05/0.4191, allocations: 32 kB / 0.7145 GB, free: 7.996 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.4191, allocations: 4 kB / 0.7145 GB, free: 7.992 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002112/0.4212, allocations: 1.724 MB / 0.7162 GB, free: 6.156 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0096/0.4308, allocations: 7.111 MB / 0.7231 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.4308, allocations: 11.81 kB / 0.7231 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/0.432, allocations: 0.4954 MB / 0.7236 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001019/0.433, allocations: 349.5 kB / 0.7239 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001812/0.4332, allocations: 83.89 kB / 0.724 GB, free: 14 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003388/0.4366, allocations: 5.222 MB / 0.7291 GB, free: 8.547 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.4366, allocations: 7.938 kB / 0.7291 GB, free: 8.539 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004147/0.4407, allocations: 2.995 MB / 0.7321 GB, free: 5.344 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001355/0.4421, allocations: 0.8849 MB / 0.7329 GB, free: 4.453 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003564/0.4424, allocations: 67.92 kB / 0.733 GB, free: 4.387 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/0.4436, allocations: 157.6 kB / 0.7331 GB, free: 4.234 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002475/0.4439, allocations: 193.2 kB / 0.7333 GB, free: 4.051 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001866/0.444, allocations: 123.9 kB / 0.7334 GB, free: 3.93 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00261/0.4466, allocations: 1.972 MB / 0.7354 GB, free: 1.953 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4466, allocations: 0 / 0.7354 GB, free: 1.953 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004111/0.4508, allocations: 1.816 MB / 0.7371 GB, free: 136 kB / 0.5417 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.0005353/0.4513, allocations: 280.9 kB / 0.7374 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003077/0.4544, allocations: 2.456 MB / 0.7398 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.4544, allocations: 0 / 0.7398 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001294/0.4557, allocations: 1.343 MB / 0.7411 GB, free: 11.96 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005838/0.4615, allocations: 2.675 MB / 0.7437 GB, free: 9.441 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0135/0.475, allocations: 9.811 MB / 0.7533 GB, free: 15.49 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001273/0.4763, allocations: 1.628 MB / 0.7549 GB, free: 13.84 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.003599/0.4799, allocations: 1.377 MB / 0.7562 GB, free: 12.48 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007616/0.4806, allocations: 376.3 kB / 0.7566 GB, free: 12.11 MB / 0.573 GB Notification: Performance of SimCode: time 1.663e-06/0.4806, allocations: 0 / 0.7566 GB, free: 12.11 MB / 0.573 GB Notification: Performance of Templates: time 0.3134/0.7941, allocations: 96.4 MB / 0.8507 GB, free: 204.9 MB / 0.6511 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.920078038237989]