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.001501/0.001501, allocations: 103.1 kB / 16.4 MB, free: 6.438 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.001627/0.001627, allocations: 192 kB / 17.34 MB, free: 5.711 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.433/1.433, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002521/0.002521, allocations: 289.7 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.009/1.009, allocations: 169.2 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00274/0.00274, allocations: 104.3 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4605/0.4632, allocations: 86.98 MB / 0.767 GB, free: 3.754 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05374/0.517, allocations: 49.36 MB / 0.8152 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02172/0.5387, allocations: 13.85 MB / 0.8288 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00222/0.5409, allocations: 67.62 kB / 0.8288 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002153/0.5431, allocations: 0.8343 MB / 0.8297 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005794/0.5489, allocations: 2.352 MB / 0.8319 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0031/0.552, allocations: 1.319 MB / 0.8332 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.02006/0.572, allocations: 19.57 MB / 0.8524 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01109/0.5831, allocations: 8.192 MB / 0.8604 GB, free: 3.809 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01332/0.5964, allocations: 6.583 MB / 0.8668 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009725/0.6061, allocations: 5.758 MB / 0.8724 GB, free: 7.469 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.002125/0.6083, allocations: 0.8438 MB / 0.8732 GB, free: 6.625 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005312/0.6136, allocations: 1.604 MB / 0.8748 GB, free: 5.02 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002693/0.6163, allocations: 2.212 MB / 0.877 GB, free: 2.801 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.007818/0.6241, allocations: 4.283 MB / 0.8811 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01712/0.6412, allocations: 12.13 MB / 0.893 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.6412, allocations: 0 / 0.893 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.234e-06/0.6412, allocations: 4 kB / 0.893 GB, free: 2.336 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0003718/0.6416, allocations: 0 / 0.893 GB, free: 2.336 MB / 0.6544 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.02011/0.6617, allocations: 7.913 MB / 0.9007 GB, free: 10.33 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.6617, allocations: 12.03 kB / 0.9007 GB, free: 10.32 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003084/0.6648, allocations: 0.8243 MB / 0.9015 GB, free: 9.492 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01319/0.678, allocations: 6.337 MB / 0.9077 GB, free: 3.098 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003676/0.6784, allocations: 419.4 kB / 0.9081 GB, free: 2.688 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001441/0.6798, allocations: 0.5428 MB / 0.9086 GB, free: 2.145 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01584/0.6957, allocations: 8.068 MB / 0.9165 GB, free: 9.836 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001211/0.6958, allocations: 19.83 kB / 0.9165 GB, free: 9.816 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006541/0.6964, allocations: 244 kB / 0.9168 GB, free: 9.578 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001677/0.6966, allocations: 163.9 kB / 0.9169 GB, free: 9.418 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01189/0.7085, allocations: 6.528 MB / 0.9233 GB, free: 2.879 MB / 0.6856 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.04652/0.755, allocations: 31.26 MB / 0.9538 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005673/0.7607, allocations: 3.432 MB / 0.9572 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003974/0.7647, allocations: 2.585 MB / 0.9597 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001041/0.7657, allocations: 0.8319 MB / 0.9605 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.39e-05/0.7658, allocations: 72.66 kB / 0.9606 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=267): time 4.278e-06/0.7658, allocations: 0 / 0.9606 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=267): time 0.01123/0.777, allocations: 5.773 MB / 0.9662 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.303e-05/0.7771, allocations: 81.45 kB / 0.9663 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4128/1.19, allocations: 5.232 MB / 0.9714 GB, free: 184.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0006904/1.191, allocations: 80.02 kB / 0.9715 GB, free: 184.4 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002939/1.193, allocations: 2.932 MB / 0.9744 GB, free: 183.6 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001482/1.195, allocations: 0.9829 MB / 0.9753 GB, free: 182.9 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001373/1.196, allocations: 0.7178 MB / 0.976 GB, free: 182.6 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.556e-05/1.196, allocations: 309.5 kB / 0.9763 GB, free: 182.3 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002708/1.199, allocations: 1.673 MB / 0.978 GB, free: 181.7 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003324/1.202, allocations: 2.932 MB / 0.9808 GB, free: 179.6 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005742/1.208, allocations: 4.97 MB / 0.9857 GB, free: 176.6 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.808e-05/1.208, allocations: 11.91 kB / 0.9857 GB, free: 176.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008534/1.217, allocations: 5.451 MB / 0.991 GB, free: 174.5 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.594e-05/1.217, allocations: 22.5 kB / 0.991 GB, free: 174.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.142e-05/1.217, allocations: 38.09 kB / 0.9911 GB, free: 174.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000904/1.218, allocations: 415.8 kB / 0.9915 GB, free: 174.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00294/1.221, allocations: 0.8613 MB / 0.9923 GB, free: 174.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004517/1.225, allocations: 5.705 MB / 0.9979 GB, free: 170.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004425/1.23, allocations: 0.5313 MB / 0.9984 GB, free: 169.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004507/1.23, allocations: 177.4 kB / 0.9986 GB, free: 169.9 MB / 0.7325 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.003258/1.233, allocations: 2.291 MB / 1.001 GB, free: 168.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001239/1.235, allocations: 0.5042 MB / 1.001 GB, free: 168.7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005592/1.24, allocations: 4.17 MB / 1.005 GB, free: 166.4 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.068e-05/1.24, allocations: 28 kB / 1.005 GB, free: 166.4 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/1.24, allocations: 4 kB / 1.005 GB, free: 166.4 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003821/1.244, allocations: 3.621 MB / 1.009 GB, free: 162.6 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01431/1.258, allocations: 10.26 MB / 1.019 GB, free: 152.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/1.258, allocations: 4 kB / 1.019 GB, free: 152.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001861/1.26, allocations: 0.5019 MB / 1.019 GB, free: 151.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007112/1.261, allocations: 373.9 kB / 1.02 GB, free: 151.4 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001531/1.261, allocations: 75.95 kB / 1.02 GB, free: 151.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004014/1.265, allocations: 5.644 MB / 1.025 GB, free: 145.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.265, allocations: 7 kB / 1.025 GB, free: 145.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007614/1.273, allocations: 6.263 MB / 1.032 GB, free: 139.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002797/1.275, allocations: 1.122 MB / 1.033 GB, free: 137.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009502/1.276, allocations: 59.98 kB / 1.033 GB, free: 137.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002735/1.279, allocations: 180.5 kB / 1.033 GB, free: 137.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002711/1.279, allocations: 173.6 kB / 1.033 GB, free: 137.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002205/1.28, allocations: 135.9 kB / 1.033 GB, free: 137.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.004715/1.284, allocations: 3.835 MB / 1.037 GB, free: 133.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.11e-07/1.284, allocations: 0 / 1.037 GB, free: 133.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.005119/1.289, allocations: 1.803 MB / 1.039 GB, free: 131.9 MB / 0.7325 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.001065/1.291, allocations: 496.1 kB / 1.039 GB, free: 131.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005165/1.296, allocations: 4.138 MB / 1.043 GB, free: 127.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/1.296, allocations: 4 kB / 1.043 GB, free: 127.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002165/1.298, allocations: 1.924 MB / 1.045 GB, free: 125.3 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01509/1.313, allocations: 3.465 MB / 1.048 GB, free: 122 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0165/1.329, allocations: 12.67 MB / 1.061 GB, free: 109.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002814/1.332, allocations: 4.303 MB / 1.065 GB, free: 104.9 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.004859/1.337, allocations: 1.862 MB / 1.067 GB, free: 103.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001184/1.338, allocations: 411.3 kB / 1.067 GB, free: 102.7 MB / 0.7325 GB Notification: Performance of SimCode: time 9.92e-07/1.338, allocations: 0 / 1.067 GB, free: 102.7 MB / 0.7325 GB Notification: Performance of Templates: time 0.1508/1.489, allocations: 113.8 MB / 1.178 GB, free: 5.957 MB / 0.7481 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)