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.001227/0.001227, allocations: 105.1 kB / 16.41 MB, free: 6.492 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.001233/0.001233, allocations: 187 kB / 17.34 MB, free: 5.762 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002354/0.002354, allocations: 281.2 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9987/0.9987, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 103.8 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5396/0.5417, allocations: 86.98 MB / 0.767 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05065/0.5924, allocations: 49.28 MB / 0.8152 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02055/0.613, allocations: 13.82 MB / 0.8287 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002673/0.6157, allocations: 67.62 kB / 0.8287 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002385/0.6182, allocations: 0.807 MB / 0.8295 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006748/0.6249, allocations: 2.258 MB / 0.8317 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003473/0.6284, allocations: 1.307 MB / 0.833 GB, free: 184 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01926/0.6477, allocations: 19.59 MB / 0.8521 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01202/0.6597, allocations: 9.914 MB / 0.8618 GB, free: 2.504 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01253/0.6723, allocations: 6.584 MB / 0.8682 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009799/0.6821, allocations: 5.758 MB / 0.8739 GB, free: 6.16 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.002749/0.6849, allocations: 0.8438 MB / 0.8747 GB, free: 5.316 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006229/0.6911, allocations: 1.6 MB / 0.8762 GB, free: 3.715 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.003718/0.6949, allocations: 2.131 MB / 0.8783 GB, free: 1.578 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.009099/0.704, allocations: 4.287 MB / 0.8825 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01627/0.7203, allocations: 12.08 MB / 0.8943 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.7203, allocations: 0 / 0.8943 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7203, allocations: 0 / 0.8943 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0004552/0.7208, allocations: 4 kB / 0.8943 GB, free: 1.16 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.02078/0.7416, allocations: 7.729 MB / 0.9019 GB, free: 9.352 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.7416, allocations: 11.97 kB / 0.9019 GB, free: 9.34 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004088/0.7457, allocations: 0.793 MB / 0.9026 GB, free: 8.539 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01337/0.7591, allocations: 6.313 MB / 0.9088 GB, free: 2.168 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00043/0.7596, allocations: 411.4 kB / 0.9092 GB, free: 1.766 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001894/0.7615, allocations: 0.5466 MB / 0.9097 GB, free: 1.219 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01942/0.7809, allocations: 8.072 MB / 0.9176 GB, free: 8.906 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002696/0.7813, allocations: 23.78 kB / 0.9176 GB, free: 8.883 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001582/0.7829, allocations: 232 kB / 0.9179 GB, free: 8.656 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001863/0.7831, allocations: 164 kB / 0.918 GB, free: 8.496 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01443/0.7975, allocations: 6.528 MB / 0.9244 GB, free: 1.957 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.05042/0.848, allocations: 31.21 MB / 0.9549 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006501/0.8545, allocations: 3.643 MB / 0.9584 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004608/0.8591, allocations: 2.8 MB / 0.9612 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001073/0.8602, allocations: 0.828 MB / 0.962 GB, free: 9.469 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.613e-05/0.8604, allocations: 72.67 kB / 0.962 GB, free: 9.387 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=267): time 5.771e-06/0.8604, allocations: 0 / 0.962 GB, free: 9.387 MB / 0.7325 GB Notification: Performance of matching and sorting (n=267): time 0.01307/0.8734, allocations: 5.759 MB / 0.9677 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.104e-05/0.8736, allocations: 81.52 kB / 0.9677 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4081/1.282, allocations: 5.226 MB / 0.9728 GB, free: 185.1 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0007226/1.282, allocations: 79.45 kB / 0.9729 GB, free: 185.1 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002861/1.285, allocations: 2.87 MB / 0.9757 GB, free: 183.8 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001507/1.287, allocations: 0.9324 MB / 0.9766 GB, free: 183 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001201/1.288, allocations: 0.7169 MB / 0.9773 GB, free: 182.7 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.903e-05/1.288, allocations: 305.6 kB / 0.9776 GB, free: 182.4 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002965/1.291, allocations: 1.673 MB / 0.9793 GB, free: 181.8 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003544/1.295, allocations: 2.935 MB / 0.9821 GB, free: 179.7 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00579/1.3, allocations: 4.97 MB / 0.987 GB, free: 176.7 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.342e-05/1.301, allocations: 14.66 kB / 0.987 GB, free: 176.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009082/1.31, allocations: 5.431 MB / 0.9923 GB, free: 174.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.561e-05/1.31, allocations: 22.84 kB / 0.9923 GB, free: 174.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.688e-05/1.31, allocations: 39.25 kB / 0.9924 GB, free: 174.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009476/1.311, allocations: 428.7 kB / 0.9928 GB, free: 174.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002898/1.314, allocations: 0.856 MB / 0.9936 GB, free: 174.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004557/1.318, allocations: 5.69 MB / 0.9992 GB, free: 170.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004812/1.323, allocations: 0.5202 MB / 0.9997 GB, free: 169.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006661/1.324, allocations: 176.9 kB / 0.9998 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.00392/1.328, allocations: 2.291 MB / 1.002 GB, free: 168.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001581/1.329, allocations: 493.5 kB / 1.003 GB, free: 168.6 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006042/1.335, allocations: 4.175 MB / 1.007 GB, free: 165 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.439e-05/1.335, allocations: 31.98 kB / 1.007 GB, free: 165 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/1.335, allocations: 4 kB / 1.007 GB, free: 164.9 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004054/1.339, allocations: 3.629 MB / 1.01 GB, free: 161.2 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01668/1.356, allocations: 10.27 MB / 1.02 GB, free: 150.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/1.356, allocations: 4 kB / 1.02 GB, free: 150.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001971/1.358, allocations: 0.5001 MB / 1.021 GB, free: 150.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000741/1.359, allocations: 377.5 kB / 1.021 GB, free: 150 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002089/1.359, allocations: 71.97 kB / 1.021 GB, free: 149.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004176/1.363, allocations: 5.652 MB / 1.027 GB, free: 144 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.363, allocations: 4 kB / 1.027 GB, free: 144 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008355/1.372, allocations: 6.246 MB / 1.033 GB, free: 137.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00294/1.375, allocations: 1.091 MB / 1.034 GB, free: 136.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001405/1.376, allocations: 63.98 kB / 1.034 GB, free: 136.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00333/1.38, allocations: 175.2 kB / 1.034 GB, free: 136.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003096/1.38, allocations: 185.6 kB / 1.034 GB, free: 136 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002703/1.38, allocations: 123.9 kB / 1.034 GB, free: 135.9 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.005387/1.386, allocations: 3.835 MB / 1.038 GB, free: 132.1 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.3e-07/1.386, allocations: 0 / 1.038 GB, free: 132.1 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.006382/1.392, allocations: 1.802 MB / 1.04 GB, free: 130.3 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.001413/1.393, allocations: 0.4901 MB / 1.04 GB, free: 129.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005868/1.399, allocations: 4.273 MB / 1.045 GB, free: 125.6 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/1.399, allocations: 4 kB / 1.045 GB, free: 125.6 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002666/1.402, allocations: 2.039 MB / 1.047 GB, free: 123.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01531/1.417, allocations: 3.455 MB / 1.05 GB, free: 120.1 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02247/1.44, allocations: 12.55 MB / 1.062 GB, free: 107.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003564/1.443, allocations: 4.232 MB / 1.066 GB, free: 103.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001767/1.445, allocations: 447.2 kB / 1.067 GB, free: 102.8 MB / 0.7325 GB Notification: Performance of SimCode: time 8.51e-07/1.445, allocations: 0 / 1.067 GB, free: 102.8 MB / 0.7325 GB Notification: Performance of Templates: time 0.2076/1.653, allocations: 175.2 MB / 1.238 GB, free: 8.059 MB / 0.8106 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)