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 0.8696/0.8696, allocations: 141.8 MB / 149.3 MB, free: 9.207 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.001072/0.001072, allocations: 180.8 kB / 182.2 MB, free: 9.441 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.487/1.487, allocations: 221.5 MB / 436.4 MB, free: 13.3 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.0009389/0.0009388, allocations: 97.47 kB / 0.5074 GB, free: 10.13 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00171/0.001709, allocations: 282.9 kB / 0.5889 GB, free: 54.69 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.666e-05/1.669e-05, allocations: 0 / 0.6765 GB, free: 12.86 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4218/0.4218, allocations: 82.77 MB / 0.7574 GB, free: 32.05 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7866/1.208, allocations: 375.1 MB / 1.124 GB, free: 6.289 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000335/1.209, allocations: 95.52 kB / 1.124 GB, free: 6.242 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.921/9.13, allocations: 2.093 GB / 3.217 GB, free: 98.05 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.034e-06/9.13, allocations: 2.594 kB / 3.217 GB, free: 98.05 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.001166/9.131, allocations: 171.5 kB / 3.217 GB, free: 98.03 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.01915/9.15, allocations: 5.493 MB / 3.222 GB, free: 95.95 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/9.15, allocations: 11.14 kB / 3.222 GB, free: 95.95 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005244/9.155, allocations: 0.7724 MB / 3.223 GB, free: 95.59 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01754/9.173, allocations: 7.27 MB / 3.23 GB, free: 94.81 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003767/9.173, allocations: 176.6 kB / 3.23 GB, free: 94.81 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002686/9.176, allocations: 330 kB / 3.231 GB, free: 94.81 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01366/9.19, allocations: 5.499 MB / 3.236 GB, free: 93.39 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02016/9.21, allocations: 6.597 MB / 3.242 GB, free: 90.7 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003577/9.21, allocations: 23.06 kB / 3.243 GB, free: 90.7 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001945/9.212, allocations: 7.719 kB / 3.243 GB, free: 90.7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002527/9.213, allocations: 219 kB / 3.243 GB, free: 90.68 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or 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.04781/9.26, allocations: 28.57 MB / 3.271 GB, free: 68.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005367/9.266, allocations: 3.389 MB / 3.274 GB, free: 65.13 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003838/9.27, allocations: 2.639 MB / 3.277 GB, free: 62.48 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009306/9.271, allocations: 0.8284 MB / 3.277 GB, free: 61.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.658e-05/9.271, allocations: 68.67 kB / 3.277 GB, free: 61.42 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=267): time 6.522e-06/9.271, allocations: 0 / 3.277 GB, free: 61.42 MB / 0.7136 GB Notification: Performance of matching and sorting (n=267): time 0.008325/9.279, allocations: 3.526 MB / 3.281 GB, free: 57.83 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/9.279, allocations: 77.52 kB / 3.281 GB, free: 57.74 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009302/9.288, allocations: 3.912 MB / 3.285 GB, free: 53.82 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0007062/9.289, allocations: 29.7 kB / 3.285 GB, free: 53.78 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.003053/9.292, allocations: 2.831 MB / 3.288 GB, free: 50.92 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001783/9.294, allocations: 0.9047 MB / 3.288 GB, free: 50 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005448/9.295, allocations: 0 / 3.288 GB, free: 50 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0004694/9.295, allocations: 461.9 kB / 3.289 GB, free: 49.54 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00262/9.298, allocations: 1.53 MB / 3.29 GB, free: 48.01 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003345/9.301, allocations: 2.775 MB / 3.293 GB, free: 44.68 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00384/9.305, allocations: 2.23 MB / 3.295 GB, free: 42.43 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-05/9.305, allocations: 8 kB / 3.295 GB, free: 42.42 MB / 0.7136 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.00974/9.315, allocations: 4.916 MB / 3.3 GB, free: 37.45 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.078e-05/9.315, allocations: 24.22 kB / 3.3 GB, free: 37.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.575e-05/9.315, allocations: 43.95 kB / 3.3 GB, free: 37.38 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009311/9.316, allocations: 414.7 kB / 3.3 GB, free: 36.97 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003109/9.319, allocations: 0.8619 MB / 3.301 GB, free: 36.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004974/9.324, allocations: 5.154 MB / 3.306 GB, free: 30.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005765/9.33, allocations: 0.5191 MB / 3.307 GB, free: 30.21 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009062/9.331, allocations: 180 kB / 3.307 GB, free: 30.04 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 () * 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.00147/9.332, allocations: 230.1 kB / 3.307 GB, free: 29.8 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002145/9.334, allocations: 418.8 kB / 3.308 GB, free: 29.39 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008312/9.343, allocations: 3.88 MB / 3.311 GB, free: 25.45 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.332e-05/9.343, allocations: 24 kB / 3.311 GB, free: 25.43 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/9.343, allocations: 4 kB / 3.311 GB, free: 25.43 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00445/9.347, allocations: 3.452 MB / 3.315 GB, free: 21.86 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01877/9.366, allocations: 9.342 MB / 3.324 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.369e-05/9.366, allocations: 4 kB / 3.324 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002047/9.368, allocations: 0.4992 MB / 3.324 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007996/9.369, allocations: 365.6 kB / 3.325 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001683/9.369, allocations: 39.97 kB / 3.325 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004772/9.374, allocations: 5.09 MB / 3.33 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.877e-06/9.374, allocations: 4 kB / 3.33 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5499/9.924, allocations: 6.417 MB / 3.336 GB, free: 95.62 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00454/9.928, allocations: 1.118 MB / 3.337 GB, free: 95.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009843/9.929, allocations: 19.61 kB / 3.337 GB, free: 95.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003178/9.933, allocations: 247.2 kB / 3.337 GB, free: 95.52 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004004/9.933, allocations: 175.2 kB / 3.338 GB, free: 95.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003304/9.933, allocations: 130.2 kB / 3.338 GB, free: 95.52 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.005903/9.939, allocations: 2.978 MB / 3.341 GB, free: 95.34 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.7e-07/9.939, allocations: 1.531 kB / 3.341 GB, free: 95.34 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.007947/9.947, allocations: 1.84 MB / 3.342 GB, free: 95.34 MB / 0.7136 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 () * 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.001875/9.949, allocations: 0.7061 MB / 3.343 GB, free: 95.23 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.006363/9.955, allocations: 3.932 MB / 3.347 GB, free: 94.96 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/9.956, allocations: 3.781 kB / 3.347 GB, free: 94.96 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002561/9.958, allocations: 1.905 MB / 3.349 GB, free: 94.73 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0138/9.972, allocations: 2.379 MB / 3.351 GB, free: 94.71 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01682/9.989, allocations: 10.23 MB / 3.361 GB, free: 92.7 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003529/9.992, allocations: 4.383 MB / 3.365 GB, free: 91.88 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.005754/9.998, allocations: 1.667 MB / 3.367 GB, free: 91.83 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001231/9.999, allocations: 385.4 kB / 3.367 GB, free: 91.83 MB / 0.7136 GB Notification: Performance of SimCode: time 1.353e-06/9.999, allocations: 1.875 kB / 3.367 GB, free: 91.83 MB / 0.7136 GB Notification: Performance of Templates: time 0.1344/10.13, allocations: 83.82 MB / 3.449 GB, free: 87.09 MB / 0.7136 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)