Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001486/0.001485, allocations: 101.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00174/0.001739, allocations: 200.6 kB / 16.64 MB, free: 6.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.482/1.482, allocations: 205.1 MB / 222.5 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.741/1.741, allocations: 292.3 MB / 0.549 GB, free: 12.77 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 74.64 kB / 0.6723 GB, free: 25.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2794, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05368/0.3331, allocations: 49.29 MB / 0.8323 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0218/0.355, allocations: 13.75 MB / 0.8457 GB, free: 13.48 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003847/0.3589, allocations: 67.62 kB / 0.8457 GB, free: 13.41 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003474/0.3624, allocations: 0.8148 MB / 0.8465 GB, free: 12.59 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008912/0.3714, allocations: 2.219 MB / 0.8487 GB, free: 10.36 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004984/0.3764, allocations: 1.308 MB / 0.85 GB, free: 9.062 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.02694/0.4034, allocations: 19.46 MB / 0.869 GB, free: 5.555 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01666/0.4201, allocations: 9.898 MB / 0.8787 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01677/0.4369, allocations: 6.532 MB / 0.885 GB, free: 5.02 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01204/0.449, allocations: 5.747 MB / 0.8906 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.003499/0.4526, allocations: 0.8438 MB / 0.8915 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008485/0.4611, allocations: 1.608 MB / 0.893 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.004926/0.466, allocations: 2.123 MB / 0.8951 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.01179/0.4779, allocations: 4.26 MB / 0.8993 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.5503/1.028, allocations: 12 MB / 0.911 GB, free: 43.67 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/1.028, allocations: 0 / 0.911 GB, free: 43.67 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.703e-06/1.028, allocations: 0.9062 kB / 0.911 GB, free: 43.67 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.000513/1.029, allocations: 0.5156 kB / 0.911 GB, free: 43.67 MB / 0.7169 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.02774/1.056, allocations: 7.677 MB / 0.9185 GB, free: 41.06 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/1.057, allocations: 9.312 kB / 0.9185 GB, free: 41.06 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005807/1.062, allocations: 0.7807 MB / 0.9193 GB, free: 40.7 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01509/1.077, allocations: 6.163 MB / 0.9253 GB, free: 39.8 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005829/1.078, allocations: 411.8 kB / 0.9257 GB, free: 39.79 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003739/1.082, allocations: 0.5444 MB / 0.9262 GB, free: 39.79 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02683/1.109, allocations: 8.07 MB / 0.9341 GB, free: 39 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002587/1.109, allocations: 17.72 kB / 0.9341 GB, free: 38.99 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002286/1.111, allocations: 239.4 kB / 0.9343 GB, free: 38.99 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002197/1.112, allocations: 166.1 kB / 0.9345 GB, free: 38.99 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01778/1.129, allocations: 6.519 MB / 0.9409 GB, free: 38.94 MB / 0.7169 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.06007/1.189, allocations: 31.17 MB / 0.9713 GB, free: 18.21 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006007/1.195, allocations: 3.648 MB / 0.9749 GB, free: 16.38 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004325/1.2, allocations: 2.821 MB / 0.9776 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009487/1.201, allocations: 0.8262 MB / 0.9784 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.542e-05/1.201, allocations: 72.27 kB / 0.9785 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=267): time 6.041e-06/1.201, allocations: 0 / 0.9785 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of matching and sorting (n=267): time 0.01304/1.214, allocations: 5.765 MB / 0.9841 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.777e-05/1.214, allocations: 76.36 kB / 0.9842 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01184/1.226, allocations: 5.147 MB / 0.9892 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.001171/1.227, allocations: 78.14 kB / 0.9893 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002079/1.229, allocations: 2.847 MB / 0.9921 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001627/1.231, allocations: 0.9318 MB / 0.993 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00111/1.232, allocations: 0.7176 MB / 0.9937 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.561e-05/1.232, allocations: 305.1 kB / 0.994 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002361/1.234, allocations: 1.681 MB / 0.9956 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002619/1.237, allocations: 2.93 MB / 0.9985 GB, free: 272 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006631/1.244, allocations: 4.965 MB / 1.003 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.051e-05/1.244, allocations: 12 kB / 1.003 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01091/1.255, allocations: 5.434 MB / 1.009 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.39e-05/1.255, allocations: 20 kB / 1.009 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.599e-05/1.255, allocations: 40 kB / 1.009 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/1.256, allocations: 419.6 kB / 1.009 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003498/1.259, allocations: 0.86 MB / 1.01 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006912/1.266, allocations: 5.693 MB / 1.016 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006723/1.273, allocations: 0.5223 MB / 1.016 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001047/1.274, allocations: 176.9 kB / 1.016 GB, free: 13.74 MB / 0.7481 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.005724/1.28, allocations: 2.269 MB / 1.018 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002068/1.282, allocations: 482.2 kB / 1.019 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009477/1.292, allocations: 4.181 MB / 1.023 GB, free: 6.828 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.87e-05/1.292, allocations: 24 kB / 1.023 GB, free: 6.805 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-05/1.292, allocations: 8.688 kB / 1.023 GB, free: 6.801 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006452/1.298, allocations: 3.626 MB / 1.027 GB, free: 3.074 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02554/1.324, allocations: 10.24 MB / 1.037 GB, free: 8.773 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.646e-05/1.324, allocations: 4 kB / 1.037 GB, free: 8.77 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002237/1.326, allocations: 0.5035 MB / 1.037 GB, free: 8.289 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009655/1.327, allocations: 369.3 kB / 1.037 GB, free: 7.922 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003077/1.327, allocations: 75.97 kB / 1.037 GB, free: 7.848 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006167/1.333, allocations: 5.65 MB / 1.043 GB, free: 1.969 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/1.334, allocations: 4 kB / 1.043 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01201/1.346, allocations: 6.245 MB / 1.049 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004685/1.35, allocations: 1.089 MB / 1.05 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002271/1.353, allocations: 63.92 kB / 1.05 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004967/1.358, allocations: 181.4 kB / 1.05 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005743/1.358, allocations: 172.6 kB / 1.051 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006545/1.359, allocations: 131.9 kB / 1.051 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.009591/1.368, allocations: 3.774 MB / 1.054 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.81e-07/1.368, allocations: 0 / 1.054 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.009656/1.378, allocations: 1.804 MB / 1.056 GB, free: 4.355 MB / 0.7794 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.002071/1.38, allocations: 492.2 kB / 1.057 GB, free: 3.93 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.008638/1.389, allocations: 4.279 MB / 1.061 GB, free: 15.74 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.178e-05/1.389, allocations: 1 kB / 1.061 GB, free: 15.74 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.003726/1.393, allocations: 2.042 MB / 1.063 GB, free: 13.73 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02014/1.413, allocations: 3.461 MB / 1.066 GB, free: 10.38 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02755/1.44, allocations: 12.38 MB / 1.078 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01106/1.452, allocations: 4.278 MB / 1.082 GB, free: 9.66 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.008843/1.46, allocations: 1.843 MB / 1.084 GB, free: 7.832 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002183/1.463, allocations: 418.5 kB / 1.085 GB, free: 7.426 MB / 0.8106 GB Notification: Performance of SimCode: time 1.112e-06/1.463, allocations: 1.422 kB / 1.085 GB, free: 7.426 MB / 0.8106 GB Notification: Performance of Templates: time 0.1779/1.641, allocations: 111.7 MB / 1.194 GB, free: 9.117 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)