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.0009485/0.0009485, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.0008588/0.0008587, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 223.3 MB / 240 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001781/0.001781, allocations: 259.2 kB / 291.3 MB, free: 1.824 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9567/0.9567, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003945/0.0003946, allocations: 14.5 kB / 0.598 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1366, allocations: 88.55 MB / 0.6845 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04186/0.1785, allocations: 45.32 MB / 0.7287 GB, free: 2 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0163/0.1949, allocations: 12.96 MB / 0.7414 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001628/0.1965, allocations: 59.62 kB / 0.7415 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001571/0.1981, allocations: 0.5665 MB / 0.742 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004402/0.2025, allocations: 1.791 MB / 0.7438 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002471/0.205, allocations: 0.9413 MB / 0.7447 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.2974/0.5025, allocations: 21.74 MB / 0.7659 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008367/0.5109, allocations: 6.526 MB / 0.7723 GB, free: 26.64 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007932/0.5188, allocations: 4.779 MB / 0.7769 GB, free: 26.63 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008486/0.5273, allocations: 4.93 MB / 0.7818 GB, free: 26.62 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001537/0.5289, allocations: 302.8 kB / 0.7821 GB, free: 26.62 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004084/0.533, allocations: 0.7383 MB / 0.7828 GB, free: 26.62 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00159/0.5346, allocations: 1.366 MB / 0.7841 GB, free: 26.61 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002556/0.5371, allocations: 1.477 MB / 0.7855 GB, free: 26.58 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.008629/0.5458, allocations: 9.471 MB / 0.7948 GB, free: 26.11 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.5458, allocations: 0 / 0.7948 GB, free: 26.11 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5458, allocations: 0 / 0.7948 GB, free: 26.11 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0002994/0.5461, allocations: 1.219 kB / 0.7948 GB, free: 26.11 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.01195/0.5581, allocations: 6.298 MB / 0.8009 GB, free: 23.05 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.5581, allocations: 12.22 kB / 0.801 GB, free: 23.05 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002665/0.5608, allocations: 0.7877 MB / 0.8017 GB, free: 22.67 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009525/0.5703, allocations: 6.093 MB / 0.8077 GB, free: 20.77 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002314/0.5706, allocations: 414 kB / 0.8081 GB, free: 20.76 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001006/0.5716, allocations: 0.5453 MB / 0.8086 GB, free: 20.75 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01285/0.5845, allocations: 8.019 MB / 0.8164 GB, free: 18.34 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001182/0.5846, allocations: 29.45 kB / 0.8165 GB, free: 18.33 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006013/0.5852, allocations: 237.7 kB / 0.8167 GB, free: 18.33 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001257/0.5854, allocations: 160.1 kB / 0.8168 GB, free: 18.32 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00989/0.5953, allocations: 6.484 MB / 0.8232 GB, free: 17.11 MB / 0.5606 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.03624/0.6315, allocations: 31.15 MB / 0.8536 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005424/0.637, allocations: 3.631 MB / 0.8571 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003953/0.6409, allocations: 2.882 MB / 0.86 GB, free: 444 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009572/0.6419, allocations: 0.838 MB / 0.8608 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.221e-05/0.642, allocations: 76.61 kB / 0.8609 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=267): time 4.288e-06/0.642, allocations: 2.734 kB / 0.8609 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=267): time 0.01074/0.6527, allocations: 5.733 MB / 0.8665 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.6528, allocations: 81.45 kB / 0.8665 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007293/0.6601, allocations: 4.989 MB / 0.8714 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0004076/0.6605, allocations: 81.7 kB / 0.8715 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.002441/0.663, allocations: 2.863 MB / 0.8743 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001119/0.6641, allocations: 0.9371 MB / 0.8752 GB, free: 0.5469 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002015/0.6643, allocations: 76 kB / 0.8753 GB, free: 484 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002532/0.6646, allocations: 461.9 kB / 0.8757 GB, free: 16 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002646/0.6672, allocations: 1.666 MB / 0.8773 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003393/0.6706, allocations: 2.91 MB / 0.8802 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00335/0.674, allocations: 2.268 MB / 0.8824 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.019e-05/0.674, allocations: 12 kB / 0.8824 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008803/0.6829, allocations: 5.414 MB / 0.8877 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.686e-05/0.6829, allocations: 20 kB / 0.8877 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.342e-05/0.683, allocations: 40 kB / 0.8877 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009458/0.6839, allocations: 427.5 kB / 0.8882 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003002/0.6869, allocations: 0.858 MB / 0.889 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00556/0.6925, allocations: 5.274 MB / 0.8941 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004376/0.6969, allocations: 0.6504 MB / 0.8948 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003549/0.6973, allocations: 184 kB / 0.895 GB, free: 11.43 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004033/0.7013, allocations: 2.281 MB / 0.8972 GB, free: 9.129 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009685/0.7023, allocations: 486.2 kB / 0.8976 GB, free: 8.648 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00694/0.7092, allocations: 4.174 MB / 0.9017 GB, free: 4.426 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.701e-05/0.7093, allocations: 24 kB / 0.9017 GB, free: 4.402 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.7093, allocations: 4 kB / 0.9017 GB, free: 4.398 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005183/0.7145, allocations: 3.612 MB / 0.9053 GB, free: 0.6719 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01727/0.7317, allocations: 10.19 MB / 0.9152 GB, free: 6.367 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.477e-05/0.7318, allocations: 4 kB / 0.9152 GB, free: 6.363 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002159/0.734, allocations: 0.5037 MB / 0.9157 GB, free: 5.859 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008225/0.7348, allocations: 373.3 kB / 0.9161 GB, free: 5.488 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001965/0.735, allocations: 75.97 kB / 0.9162 GB, free: 5.414 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005376/0.7404, allocations: 5.209 MB / 0.9212 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/0.7404, allocations: 7.938 kB / 0.9212 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009385/0.7498, allocations: 6.218 MB / 0.9273 GB, free: 9.555 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002844/0.7527, allocations: 1.162 MB / 0.9285 GB, free: 8.367 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007831/0.7534, allocations: 59.98 kB / 0.9285 GB, free: 8.309 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002864/0.7563, allocations: 335.4 kB / 0.9288 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002944/0.7566, allocations: 173.7 kB / 0.929 GB, free: 7.816 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002699/0.7569, allocations: 131.9 kB / 0.9291 GB, free: 7.688 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00574/0.7626, allocations: 3.644 MB / 0.9327 GB, free: 4.059 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.8e-07/0.7627, allocations: 0 / 0.9327 GB, free: 4.059 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.005286/0.768, allocations: 1.78 MB / 0.9344 GB, free: 2.277 MB / 0.6544 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009866/0.769, allocations: 461.5 kB / 0.9349 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.006389/0.7754, allocations: 4.24 MB / 0.939 GB, free: 13.57 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/0.7754, allocations: 4 kB / 0.939 GB, free: 13.57 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002841/0.7782, allocations: 2.038 MB / 0.941 GB, free: 11.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01326/0.7915, allocations: 3.277 MB / 0.9442 GB, free: 8.289 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02018/0.8117, allocations: 14.63 MB / 0.9585 GB, free: 9.605 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004203/0.8159, allocations: 4.303 MB / 0.9627 GB, free: 5.27 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.005972/0.8219, allocations: 1.835 MB / 0.9645 GB, free: 3.453 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001184/0.8231, allocations: 415.3 kB / 0.9649 GB, free: 3.047 MB / 0.6856 GB Notification: Performance of SimCode: time 6.21e-07/0.8231, allocations: 4 kB / 0.9649 GB, free: 3.043 MB / 0.6856 GB Notification: Performance of Templates: time 0.4251/1.248, allocations: 107.3 MB / 1.07 GB, free: 238.5 MB / 0.7637 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)