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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 1.093/1.093, allocations: 143.4 MB / 158.3 MB, free: 5.793 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 185 kB / 191.5 MB, free: 5.762 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.702/1.702, allocations: 223.2 MB / 447.7 MB, free: 4.734 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 88.31 kB / 0.5188 GB, free: 1.098 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002148/0.002148, allocations: 275.5 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004562/0.0004562, allocations: 13.77 kB / 0.6929 GB, free: 59.65 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2039, allocations: 82.79 MB / 0.7737 GB, free: 13.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9309/1.135, allocations: 375.8 MB / 1.141 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003392/1.135, allocations: 98.7 kB / 1.141 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.877/9.013, allocations: 2.109 GB / 3.25 GB, free: 90.94 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.816e-06/9.013, allocations: 0 / 3.25 GB, free: 90.94 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.001207/9.014, allocations: 182 kB / 3.25 GB, free: 90.91 MB / 0.7136 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.02533/9.039, allocations: 6.51 MB / 3.256 GB, free: 88.54 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/9.039, allocations: 7.906 kB / 3.256 GB, free: 88.54 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005297/9.045, allocations: 0.7831 MB / 3.257 GB, free: 88.17 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02139/9.066, allocations: 7.29 MB / 3.264 GB, free: 87.4 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005127/9.067, allocations: 417 kB / 3.264 GB, free: 87.38 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003031/9.07, allocations: 0.5482 MB / 3.265 GB, free: 87.38 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02402/9.094, allocations: 7.504 MB / 3.272 GB, free: 86.6 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004132/9.094, allocations: 14.12 kB / 3.272 GB, free: 86.6 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002184/9.096, allocations: 234.7 kB / 3.272 GB, free: 86.6 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002458/9.097, allocations: 228.2 kB / 3.273 GB, free: 86.59 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0142/9.111, allocations: 5.968 MB / 3.279 GB, free: 84.91 MB / 0.7136 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.05606/9.167, allocations: 29.68 MB / 3.307 GB, free: 65.64 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006291/9.173, allocations: 3.579 MB / 3.311 GB, free: 63.54 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009575/9.174, allocations: 0.8248 MB / 3.312 GB, free: 62.55 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.832e-05/9.174, allocations: 72.67 kB / 3.312 GB, free: 62.47 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=267): time 4.869e-06/9.174, allocations: 1.094 kB / 3.312 GB, free: 62.47 MB / 0.7136 GB Notification: Performance of matching and sorting (n=267): time 0.01212/9.187, allocations: 5.739 MB / 3.317 GB, free: 56.65 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/9.187, allocations: 79.27 kB / 3.318 GB, free: 56.56 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01083/9.197, allocations: 4.817 MB / 3.322 GB, free: 51.75 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0009545/9.198, allocations: 81.7 kB / 3.322 GB, free: 51.67 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.003282/9.202, allocations: 2.82 MB / 3.325 GB, free: 48.84 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001812/9.204, allocations: 0.9455 MB / 3.326 GB, free: 47.9 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006943/9.204, allocations: 76 kB / 3.326 GB, free: 47.82 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0004322/9.205, allocations: 457.9 kB / 3.327 GB, free: 47.37 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003131/9.208, allocations: 1.655 MB / 3.328 GB, free: 45.71 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003786/9.212, allocations: 2.927 MB / 3.331 GB, free: 42.23 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003839/9.216, allocations: 2.269 MB / 3.333 GB, free: 39.94 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.703e-05/9.216, allocations: 12 kB / 3.333 GB, free: 39.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01127/9.227, allocations: 5.391 MB / 3.338 GB, free: 34.48 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.817e-05/9.227, allocations: 22.25 kB / 3.338 GB, free: 34.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.435e-05/9.227, allocations: 51.92 kB / 3.339 GB, free: 34.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009667/9.228, allocations: 421.3 kB / 3.339 GB, free: 33.99 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00334/9.231, allocations: 0.854 MB / 3.34 GB, free: 33.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004839/9.236, allocations: 5.416 MB / 3.345 GB, free: 27.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006846/9.243, allocations: 0.6722 MB / 3.346 GB, free: 26.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001162/9.244, allocations: 180 kB / 3.346 GB, free: 26.62 MB / 0.7136 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.006367/9.251, allocations: 2.264 MB / 3.348 GB, free: 24.34 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002308/9.253, allocations: 478.2 kB / 3.349 GB, free: 23.87 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008484/9.262, allocations: 4.161 MB / 3.353 GB, free: 19.65 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.327e-05/9.262, allocations: 24 kB / 3.353 GB, free: 19.63 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.477e-05/9.262, allocations: 4 kB / 3.353 GB, free: 19.62 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004786/9.266, allocations: 3.612 MB / 3.356 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02351/9.29, allocations: 10.02 MB / 3.366 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.075e-05/9.29, allocations: 8.062 kB / 3.366 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0022/9.292, allocations: 0.4987 MB / 3.366 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007991/9.293, allocations: 371.6 kB / 3.367 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003327/9.293, allocations: 79.95 kB / 3.367 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004708/9.298, allocations: 5.342 MB / 3.372 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/9.298, allocations: 4 kB / 3.372 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01148/9.31, allocations: 6.88 MB / 3.379 GB, free: 8.027 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004735/9.315, allocations: 1.205 MB / 3.38 GB, free: 6.797 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001867/9.316, allocations: 62.61 kB / 3.38 GB, free: 6.738 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005172/9.322, allocations: 303.2 kB / 3.38 GB, free: 6.441 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004972/9.322, allocations: 181.7 kB / 3.381 GB, free: 6.266 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005523/9.323, allocations: 127.9 kB / 3.381 GB, free: 6.141 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.009239/9.332, allocations: 3.926 MB / 3.384 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.81e-07/9.332, allocations: 0 / 3.384 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.01001/9.342, allocations: 1.847 MB / 3.386 GB, free: 384 kB / 0.7292 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.4421/9.784, allocations: 0.7364 MB / 3.387 GB, free: 102.9 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.009115/9.793, allocations: 4.253 MB / 3.391 GB, free: 102.6 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-05/9.793, allocations: 4.25 kB / 3.391 GB, free: 102.6 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.004246/9.798, allocations: 2.032 MB / 3.393 GB, free: 102.3 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0192/9.817, allocations: 3.244 MB / 3.396 GB, free: 102.3 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03063/9.847, allocations: 14.53 MB / 3.411 GB, free: 97.2 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005113/9.853, allocations: 4.387 MB / 3.415 GB, free: 96.36 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.008422/9.861, allocations: 1.88 MB / 3.417 GB, free: 96.31 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001915/9.863, allocations: 419.5 kB / 3.417 GB, free: 96.3 MB / 0.7292 GB Notification: Performance of SimCode: time 1.152e-06/9.863, allocations: 0 / 3.417 GB, free: 96.3 MB / 0.7292 GB Notification: Performance of Templates: time 0.1793/10.04, allocations: 111.8 MB / 3.526 GB, free: 88.2 MB / 0.7292 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)