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.001117/0.001117, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00131/0.00131, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.307/1.307, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002102/0.002102, allocations: 278.9 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9644/0.9644, allocations: 169.2 MB / 0.4977 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 93.19 kB / 0.5945 GB, free: 28.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1774, allocations: 86.98 MB / 0.6794 GB, free: 1.16 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04318/0.2206, allocations: 48.97 MB / 0.7273 GB, free: 36 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01796/0.2386, allocations: 13.82 MB / 0.7408 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003034/0.2417, allocations: 63.62 kB / 0.7408 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002236/0.244, allocations: 0.6486 MB / 0.7414 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006417/0.2504, allocations: 2.1 MB / 0.7435 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003963/0.2544, allocations: 1.183 MB / 0.7447 GB, free: 14.18 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.02469/0.2791, allocations: 25.65 MB / 0.7697 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3984/0.6775, allocations: 8.079 MB / 0.7776 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01222/0.6898, allocations: 4.992 MB / 0.7825 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01142/0.7013, allocations: 5.595 MB / 0.7879 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0029/0.7042, allocations: 422.1 kB / 0.7883 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006988/0.7112, allocations: 1.099 MB / 0.7894 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003914/0.7152, allocations: 1.621 MB / 0.791 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.009737/0.7249, allocations: 3.755 MB / 0.7947 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.02009/0.745, allocations: 11.58 MB / 0.806 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.7451, allocations: 1.125 kB / 0.806 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7451, allocations: 0 / 0.806 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0005332/0.7456, allocations: 0 / 0.806 GB, free: 8.445 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.02965/0.7753, allocations: 7.72 MB / 0.8135 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.7754, allocations: 10.12 kB / 0.8135 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00534/0.7807, allocations: 0.7809 MB / 0.8143 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.014/0.7947, allocations: 6.244 MB / 0.8204 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004233/0.7952, allocations: 418.6 kB / 0.8208 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002797/0.798, allocations: 0.541 MB / 0.8213 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02239/0.8204, allocations: 8.079 MB / 0.8292 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002708/0.8207, allocations: 17.03 kB / 0.8292 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002197/0.8229, allocations: 235.6 kB / 0.8294 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001966/0.8231, allocations: 164.5 kB / 0.8296 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01412/0.8373, allocations: 6.533 MB / 0.836 GB, free: 15.67 MB / 0.5762 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.05016/0.8875, allocations: 31.11 MB / 0.8664 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005627/0.8931, allocations: 3.64 MB / 0.8699 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004252/0.8974, allocations: 2.81 MB / 0.8727 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001039/0.8985, allocations: 0.8241 MB / 0.8735 GB, free: 0.6211 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.538e-05/0.8986, allocations: 80.17 kB / 0.8735 GB, free: 0.5352 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=267): time 5.059e-06/0.8986, allocations: 0 / 0.8735 GB, free: 0.5352 MB / 0.5919 GB Notification: Performance of matching and sorting (n=267): time 0.01147/0.9101, allocations: 5.753 MB / 0.8792 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.9101, allocations: 85.52 kB / 0.8792 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01104/0.9212, allocations: 5.032 MB / 0.8841 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0009396/0.9221, allocations: 73.7 kB / 0.8842 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.003008/0.9252, allocations: 2.873 MB / 0.887 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001644/0.9268, allocations: 0.9321 MB / 0.8879 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00173/0.9286, allocations: 0.7113 MB / 0.8886 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.972e-05/0.9287, allocations: 308.7 kB / 0.8889 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002904/0.9316, allocations: 1.678 MB / 0.8906 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00351/0.9351, allocations: 2.94 MB / 0.8934 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006236/0.9414, allocations: 4.964 MB / 0.8983 GB, free: 6.105 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.809e-05/0.9414, allocations: 8 kB / 0.8983 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009128/0.9505, allocations: 5.436 MB / 0.9036 GB, free: 0.8555 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.775e-05/0.9506, allocations: 21.41 kB / 0.9036 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-05/0.9506, allocations: 40 kB / 0.9037 GB, free: 0.7969 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009712/0.9516, allocations: 422.8 kB / 0.9041 GB, free: 388 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002917/0.9545, allocations: 0.8566 MB / 0.9049 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005457/0.96, allocations: 5.273 MB / 0.91 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005724/0.9658, allocations: 0.6432 MB / 0.9107 GB, free: 9.438 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004547/0.9662, allocations: 180 kB / 0.9108 GB, free: 9.262 MB / 0.6387 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.005437/0.9717, allocations: 2.29 MB / 0.9131 GB, free: 7.016 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001919/0.9736, allocations: 490.1 kB / 0.9135 GB, free: 6.531 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007209/0.9808, allocations: 4.179 MB / 0.9176 GB, free: 2.32 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-05/0.9809, allocations: 24 kB / 0.9177 GB, free: 2.297 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.9809, allocations: 11.56 kB / 0.9177 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005018/0.9859, allocations: 3.636 MB / 0.9212 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01884/1.005, allocations: 10.21 MB / 0.9312 GB, free: 4.285 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/1.005, allocations: 4 kB / 0.9312 GB, free: 4.281 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002155/1.007, allocations: 0.498 MB / 0.9317 GB, free: 3.805 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008537/1.008, allocations: 375.1 kB / 0.932 GB, free: 3.438 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001928/1.008, allocations: 75.95 kB / 0.9321 GB, free: 3.363 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005367/1.013, allocations: 5.2 MB / 0.9372 GB, free: 13.93 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/1.013, allocations: 4 kB / 0.9372 GB, free: 13.93 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01022/1.024, allocations: 6.241 MB / 0.9433 GB, free: 7.527 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003835/1.028, allocations: 1.083 MB / 0.9443 GB, free: 6.422 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001044/1.029, allocations: 63.92 kB / 0.9444 GB, free: 6.359 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003053/1.032, allocations: 338.1 kB / 0.9447 GB, free: 6.035 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003686/1.032, allocations: 173.4 kB / 0.9449 GB, free: 5.871 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002656/1.032, allocations: 131.9 kB / 0.945 GB, free: 5.742 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.006657/1.039, allocations: 3.679 MB / 0.9486 GB, free: 2.078 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.31e-07/1.039, allocations: 0 / 0.9486 GB, free: 2.078 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.007175/1.046, allocations: 1.781 MB / 0.9503 GB, free: 300 kB / 0.67 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.001388/1.048, allocations: 485.7 kB / 0.9508 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00676/1.054, allocations: 4.258 MB / 0.955 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/1.054, allocations: 4.438 kB / 0.955 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002846/1.057, allocations: 2.035 MB / 0.957 GB, free: 9.688 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01564/1.073, allocations: 3.276 MB / 0.9602 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0228/1.096, allocations: 14.89 MB / 0.9747 GB, free: 7.559 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00433/1.1, allocations: 4.309 MB / 0.9789 GB, free: 3.215 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.00642/1.107, allocations: 1.839 MB / 0.9807 GB, free: 1.398 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001243/1.108, allocations: 413.9 kB / 0.9811 GB, free: 0.9961 MB / 0.7012 GB Notification: Performance of SimCode: time 9.01e-07/1.108, allocations: 4 kB / 0.9811 GB, free: 0.9922 MB / 0.7012 GB Notification: Performance of Templates: time 0.5874/1.695, allocations: 110.9 MB / 1.089 GB, free: 252.9 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)