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.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001914/0.001913, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002395/0.002394, allocations: 192.5 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002827/0.002827, allocations: 279 kB / 290.4 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.092/1.092, allocations: 178.6 MB / 0.507 GB, free: 4.746 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002694/0.002694, allocations: 95.95 kB / 0.6059 GB, free: 25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1725, allocations: 89.15 MB / 0.693 GB, free: 4.734 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05234/0.2248, allocations: 48.89 MB / 0.7407 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02027/0.2452, allocations: 13.7 MB / 0.7541 GB, free: 5.938 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002706/0.2479, allocations: 63.62 kB / 0.7542 GB, free: 5.875 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002423/0.2504, allocations: 0.6838 MB / 0.7548 GB, free: 5.188 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.007204/0.2576, allocations: 2.092 MB / 0.7569 GB, free: 3.086 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003532/0.2611, allocations: 1.196 MB / 0.758 GB, free: 1.898 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.3705/0.6316, allocations: 19.68 MB / 0.7773 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01799/0.6496, allocations: 9.825 MB / 0.7868 GB, free: 25.04 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02085/0.6706, allocations: 6.561 MB / 0.7933 GB, free: 23.52 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01459/0.6852, allocations: 5.934 MB / 0.799 GB, free: 21.36 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.003988/0.6892, allocations: 0.8375 MB / 0.7999 GB, free: 21.36 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009606/0.6988, allocations: 1.61 MB / 0.8014 GB, free: 21.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004677/0.7035, allocations: 2.092 MB / 0.8035 GB, free: 19.88 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.01174/0.7153, allocations: 4.282 MB / 0.8077 GB, free: 17.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01776/0.7331, allocations: 11.92 MB / 0.8193 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.7331, allocations: 2.781 kB / 0.8193 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.833e-06/0.7331, allocations: 0 / 0.8193 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0004531/0.7336, allocations: 3.984 kB / 0.8193 GB, free: 11.57 MB / 0.5606 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.02281/0.7564, allocations: 7.715 MB / 0.8268 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.7565, allocations: 8.031 kB / 0.8268 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00345/0.7599, allocations: 0.7813 MB / 0.8276 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01381/0.7738, allocations: 6.238 MB / 0.8337 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000389/0.7742, allocations: 422.4 kB / 0.8341 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001673/0.7759, allocations: 0.5371 MB / 0.8346 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01962/0.7955, allocations: 8.07 MB / 0.8425 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001542/0.7957, allocations: 23.77 kB / 0.8425 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007467/0.7964, allocations: 234.9 kB / 0.8428 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001852/0.7966, allocations: 171.9 kB / 0.8429 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01399/0.8106, allocations: 6.52 MB / 0.8493 GB, free: 13.76 MB / 0.5919 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.0517/0.8624, allocations: 31.12 MB / 0.8797 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006079/0.8685, allocations: 3.64 MB / 0.8832 GB, free: 9.438 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004392/0.8729, allocations: 2.806 MB / 0.886 GB, free: 6.637 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001086/0.874, allocations: 0.8246 MB / 0.8868 GB, free: 5.656 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.688e-05/0.8741, allocations: 76.61 kB / 0.8869 GB, free: 5.57 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=267): time 5.44e-06/0.8741, allocations: 0 / 0.8869 GB, free: 5.57 MB / 0.6231 GB Notification: Performance of matching and sorting (n=267): time 0.01153/0.8856, allocations: 5.763 MB / 0.8925 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.626e-05/0.8857, allocations: 81.52 kB / 0.8926 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008519/0.8943, allocations: 5.028 MB / 0.8975 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0006149/0.8949, allocations: 77.7 kB / 0.8975 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002939/0.8979, allocations: 2.873 MB / 0.9004 GB, free: 7.617 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001598/0.8995, allocations: 0.9341 MB / 0.9013 GB, free: 6.691 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00113/0.9006, allocations: 0.7113 MB / 0.902 GB, free: 5.973 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.9007, allocations: 305.1 kB / 0.9022 GB, free: 5.672 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002833/0.9036, allocations: 1.674 MB / 0.9039 GB, free: 3.996 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003839/0.9074, allocations: 2.935 MB / 0.9067 GB, free: 0.5117 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007067/0.9145, allocations: 4.973 MB / 0.9116 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.363e-05/0.9145, allocations: 12 kB / 0.9116 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01102/0.9256, allocations: 5.434 MB / 0.9169 GB, free: 5.461 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.524e-05/0.9256, allocations: 24.06 kB / 0.9169 GB, free: 5.438 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.299e-05/0.9257, allocations: 43.47 kB / 0.917 GB, free: 5.398 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/0.9267, allocations: 423.7 kB / 0.9174 GB, free: 4.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003023/0.9298, allocations: 0.858 MB / 0.9182 GB, free: 4.121 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006771/0.9366, allocations: 5.715 MB / 0.9238 GB, free: 14.14 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005098/0.9417, allocations: 0.6394 MB / 0.9244 GB, free: 13.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004075/0.9421, allocations: 180 kB / 0.9246 GB, free: 13.32 MB / 0.67 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.004535/0.9466, allocations: 2.281 MB / 0.9268 GB, free: 11.03 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001406/0.9481, allocations: 486.1 kB / 0.9273 GB, free: 10.55 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007529/0.9556, allocations: 4.189 MB / 0.9314 GB, free: 6.305 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.927e-05/0.9556, allocations: 24 kB / 0.9314 GB, free: 6.281 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.9557, allocations: 4 kB / 0.9314 GB, free: 6.277 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00571/0.9614, allocations: 3.638 MB / 0.935 GB, free: 2.527 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01909/0.9805, allocations: 10.21 MB / 0.9449 GB, free: 8.203 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.301e-05/0.9805, allocations: 4 kB / 0.9449 GB, free: 8.199 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002137/0.9827, allocations: 0.5038 MB / 0.9454 GB, free: 7.695 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008541/0.9835, allocations: 372.5 kB / 0.9458 GB, free: 7.328 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001967/0.9837, allocations: 79.95 kB / 0.9459 GB, free: 7.25 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006326/0.9901, allocations: 5.648 MB / 0.9514 GB, free: 1.336 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.9901, allocations: 4 kB / 0.9514 GB, free: 1.332 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01016/1, allocations: 6.239 MB / 0.9575 GB, free: 10.92 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002758/1.003, allocations: 1.08 MB / 0.9585 GB, free: 9.812 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007349/1.004, allocations: 67.92 kB / 0.9586 GB, free: 9.746 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002911/1.007, allocations: 332.1 kB / 0.9589 GB, free: 9.426 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003411/1.007, allocations: 177.6 kB / 0.9591 GB, free: 9.254 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002523/1.007, allocations: 127.9 kB / 0.9592 GB, free: 9.129 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.005703/1.013, allocations: 3.683 MB / 0.9628 GB, free: 5.461 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.71e-07/1.013, allocations: 3.938 kB / 0.9628 GB, free: 5.457 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.005031/1.018, allocations: 1.777 MB / 0.9645 GB, free: 3.676 MB / 0.7012 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.001112/1.019, allocations: 488.4 kB / 0.965 GB, free: 3.227 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01549/1.035, allocations: 8.063 MB / 0.9729 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/1.035, allocations: 4.188 kB / 0.9729 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003014/1.038, allocations: 2.043 MB / 0.9749 GB, free: 9.047 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01515/1.053, allocations: 3.471 MB / 0.9783 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02284/1.076, allocations: 14.89 MB / 0.9928 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005329/1.081, allocations: 4.307 MB / 0.997 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00666/1.088, allocations: 1.844 MB / 0.9988 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00137/1.089, allocations: 419.2 kB / 0.9992 GB, free: 200 kB / 0.7325 GB Notification: Performance of SimCode: time 9.92e-07/1.089, allocations: 0 / 0.9992 GB, free: 200 kB / 0.7325 GB Notification: Performance of Templates: time 0.5256/1.615, allocations: 114.7 MB / 1.111 GB, free: 247 MB / 0.7794 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)