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.001357/0.001357, allocations: 103.9 kB / 16.35 MB, free: 5.879 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.001091/0.001091, allocations: 195.2 kB / 17.29 MB, free: 5.516 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.329/1.329, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.801/1.801, allocations: 292.3 MB / 0.5496 GB, free: 17.54 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.00147/0.00147, allocations: 67.91 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2268, allocations: 114.5 MB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.4324/0.6592, allocations: 49.31 MB / 0.8329 GB, free: 17.43 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01699/0.6763, allocations: 13.74 MB / 0.8463 GB, free: 7.594 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002751/0.6791, allocations: 65.72 kB / 0.8464 GB, free: 7.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002469/0.6816, allocations: 0.805 MB / 0.8472 GB, free: 7.066 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007197/0.6888, allocations: 2.231 MB / 0.8494 GB, free: 5.727 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004067/0.6929, allocations: 1.302 MB / 0.8506 GB, free: 5.008 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.02219/0.7151, allocations: 19.45 MB / 0.8696 GB, free: 11.79 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01343/0.7286, allocations: 9.911 MB / 0.8793 GB, free: 6.512 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01452/0.7431, allocations: 6.534 MB / 0.8857 GB, free: 2.969 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01138/0.7545, allocations: 5.753 MB / 0.8913 GB, free: 13.4 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002966/0.7575, allocations: 0.8438 MB / 0.8921 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007686/0.7652, allocations: 1.6 MB / 0.8937 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.00441/0.7697, allocations: 2.111 MB / 0.8958 GB, free: 8.836 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.01152/0.7812, allocations: 4.268 MB / 0.8999 GB, free: 4.551 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01591/0.7972, allocations: 12.02 MB / 0.9117 GB, free: 8.5 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.7972, allocations: 0 / 0.9117 GB, free: 8.5 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.582e-06/0.7972, allocations: 0 / 0.9117 GB, free: 8.5 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0003361/0.7976, allocations: 0 / 0.9117 GB, free: 8.5 MB / 0.7012 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.01891/0.8165, allocations: 7.677 MB / 0.9192 GB, free: 0.7461 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.8165, allocations: 8.031 kB / 0.9192 GB, free: 0.7383 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002949/0.8195, allocations: 0.7854 MB / 0.9199 GB, free: 15.94 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01183/0.8314, allocations: 5.933 MB / 0.9257 GB, free: 9.957 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000299/0.8317, allocations: 411.4 kB / 0.9261 GB, free: 9.555 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001313/0.833, allocations: 0.5467 MB / 0.9266 GB, free: 9.008 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01599/0.849, allocations: 8.068 MB / 0.9345 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001396/0.8492, allocations: 15.92 kB / 0.9345 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000774/0.85, allocations: 232.6 kB / 0.9348 GB, free: 472 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00017/0.8502, allocations: 171.9 kB / 0.9349 GB, free: 300 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01295/0.8631, allocations: 6.52 MB / 0.9413 GB, free: 9.762 MB / 0.7325 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.04234/0.9055, allocations: 31.18 MB / 0.9717 GB, free: 8.746 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005725/0.9112, allocations: 3.642 MB / 0.9753 GB, free: 5.109 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004124/0.9154, allocations: 2.815 MB / 0.978 GB, free: 2.285 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009639/0.9164, allocations: 0.8317 MB / 0.9789 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.102e-05/0.9165, allocations: 76.66 kB / 0.9789 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=267): time 4.108e-06/0.9165, allocations: 0 / 0.9789 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of matching and sorting (n=267): time 0.01173/0.9282, allocations: 5.755 MB / 0.9846 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.35e-05/0.9283, allocations: 81.52 kB / 0.9846 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009038/0.9374, allocations: 5.145 MB / 0.9897 GB, free: 6.113 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0007387/0.9382, allocations: 77.7 kB / 0.9897 GB, free: 6.031 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.002638/0.9408, allocations: 2.84 MB / 0.9925 GB, free: 3.16 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.001509/0.9423, allocations: 0.9359 MB / 0.9934 GB, free: 2.211 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001036/0.9434, allocations: 0.7152 MB / 0.9941 GB, free: 1.488 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.9435, allocations: 313 kB / 0.9944 GB, free: 1.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002685/0.9462, allocations: 1.67 MB / 0.996 GB, free: 15.51 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003521/0.9497, allocations: 2.94 MB / 0.9989 GB, free: 12.02 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007802/0.9575, allocations: 4.962 MB / 1.004 GB, free: 6.461 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.289e-05/0.9576, allocations: 12 kB / 1.004 GB, free: 6.449 MB / 0.795 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009562/0.9672, allocations: 5.422 MB / 1.009 GB, free: 0.9727 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.307e-05/0.9672, allocations: 24 kB / 1.009 GB, free: 0.9492 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.778e-05/0.9673, allocations: 43.94 kB / 1.009 GB, free: 0.9062 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009637/0.9683, allocations: 426 kB / 1.01 GB, free: 496 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003076/0.9714, allocations: 0.8657 MB / 1.01 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006194/0.9776, allocations: 5.697 MB / 1.016 GB, free: 9.645 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004363/0.9819, allocations: 0.5151 MB / 1.016 GB, free: 9.125 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004617/0.9824, allocations: 180 kB / 1.017 GB, free: 8.949 MB / 0.8106 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.004122/0.9866, allocations: 2.258 MB / 1.019 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001596/0.9882, allocations: 486.2 kB / 1.019 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007079/0.9952, allocations: 4.172 MB / 1.023 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-05/0.9953, allocations: 35.98 kB / 1.023 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.9953, allocations: 4.562 kB / 1.023 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00517/1.001, allocations: 3.62 MB / 1.027 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0201/1.021, allocations: 10.24 MB / 1.037 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/1.021, allocations: 8.031 kB / 1.037 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002158/1.023, allocations: 0.4954 MB / 1.037 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008588/1.024, allocations: 373.3 kB / 1.038 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001928/1.024, allocations: 76.52 kB / 1.038 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005583/1.03, allocations: 5.659 MB / 1.043 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/1.03, allocations: 7.938 kB / 1.043 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01016/1.04, allocations: 6.243 MB / 1.049 GB, free: 6.48 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003234/1.043, allocations: 1.085 MB / 1.051 GB, free: 5.371 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001208/1.044, allocations: 67.92 kB / 1.051 GB, free: 5.305 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003104/1.047, allocations: 174 kB / 1.051 GB, free: 5.137 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003764/1.048, allocations: 181.6 kB / 1.051 GB, free: 4.961 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002747/1.048, allocations: 131.9 kB / 1.051 GB, free: 4.832 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.005987/1.054, allocations: 3.778 MB / 1.055 GB, free: 1.066 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.81e-07/1.054, allocations: 3.938 kB / 1.055 GB, free: 1.062 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.007/1.061, allocations: 1.792 MB / 1.057 GB, free: 15.26 MB / 0.8575 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.00131/1.062, allocations: 490.9 kB / 1.057 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.006692/1.069, allocations: 4.28 MB / 1.061 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/1.069, allocations: 4 kB / 1.061 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.00297/1.072, allocations: 2.036 MB / 1.063 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01452/1.087, allocations: 3.462 MB / 1.067 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01988/1.107, allocations: 12.38 MB / 1.079 GB, free: 8.617 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004362/1.111, allocations: 4.286 MB / 1.083 GB, free: 4.297 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.00562/1.117, allocations: 1.843 MB / 1.085 GB, free: 2.477 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001341/1.118, allocations: 419.2 kB / 1.085 GB, free: 2.066 MB / 0.8731 GB Notification: Performance of SimCode: time 8.32e-07/1.118, allocations: 0 / 1.085 GB, free: 2.066 MB / 0.8731 GB Notification: Performance of Templates: time 0.5224/1.64, allocations: 111.7 MB / 1.194 GB, free: 265.7 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)