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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.136/1.136, allocations: 140.1 MB / 156 MB, free: 5.176 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001258/0.001258, allocations: 175.2 kB / 188.5 MB, free: 15.85 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.12/2.12, allocations: 205.4 MB / 426.3 MB, free: 8.406 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009538/0.000954, allocations: 82.36 kB / 0.4945 GB, free: 8.352 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.002126/0.002126, allocations: 269.8 kB / 0.5729 GB, free: 66.24 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005189/0.0005193, allocations: 16 kB / 0.662 GB, free: 6.844 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5118/0.5123, allocations: 79.3 MB / 0.7395 GB, free: 46.39 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.048/1.56, allocations: 373.9 MB / 1.105 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003032/1.56, allocations: 95.81 kB / 1.105 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.596/9.156, allocations: 2.061 GB / 3.166 GB, free: 26.92 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.007e-06/9.156, allocations: 3.938 kB / 3.166 GB, free: 26.92 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.001413/9.157, allocations: 173.5 kB / 3.166 GB, free: 26.76 MB / 0.6823 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.02477/9.182, allocations: 6.44 MB / 3.172 GB, free: 20.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.159e-05/9.182, allocations: 8.031 kB / 3.172 GB, free: 20.29 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005789/9.188, allocations: 0.7775 MB / 3.173 GB, free: 19.51 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01895/9.207, allocations: 7.019 MB / 3.18 GB, free: 12.44 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004494/9.208, allocations: 419.4 kB / 3.18 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002585/9.21, allocations: 0.547 MB / 3.181 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01858/9.229, allocations: 7.543 MB / 3.188 GB, free: 3.699 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001783/9.229, allocations: 22.67 kB / 3.188 GB, free: 3.68 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009171/9.23, allocations: 232 kB / 3.188 GB, free: 3.453 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001555/9.23, allocations: 164 kB / 3.188 GB, free: 3.293 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01342/9.243, allocations: 5.974 MB / 3.194 GB, free: 13.3 MB / 0.698 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.5451/9.789, allocations: 29.44 MB / 3.223 GB, free: 78.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00575/9.794, allocations: 3.588 MB / 3.226 GB, free: 78.65 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003898/9.798, allocations: 3.017 MB / 3.229 GB, free: 78.61 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007825/9.799, allocations: 0.8252 MB / 3.23 GB, free: 77.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.309e-05/9.799, allocations: 71.83 kB / 3.23 GB, free: 77.72 MB / 0.698 GB Notification: Performance of pre-optimization done (n=267): time 4.739e-06/9.799, allocations: 3.562 kB / 3.23 GB, free: 77.72 MB / 0.698 GB Notification: Performance of matching and sorting (n=267): time 0.01054/9.81, allocations: 5.705 MB / 3.236 GB, free: 77.34 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/9.81, allocations: 80.23 kB / 3.236 GB, free: 77.28 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008291/9.818, allocations: 4.93 MB / 3.241 GB, free: 76.95 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0009815/9.819, allocations: 79.08 kB / 3.241 GB, free: 76.92 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002809/9.822, allocations: 2.824 MB / 3.244 GB, free: 76.12 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0019/9.824, allocations: 0.9357 MB / 3.244 GB, free: 75.65 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002569/9.824, allocations: 75.97 kB / 3.245 GB, free: 75.65 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002756/9.825, allocations: 466.9 kB / 3.245 GB, free: 75.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002673/9.827, allocations: 1.639 MB / 3.247 GB, free: 75.33 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003076/9.83, allocations: 2.912 MB / 3.249 GB, free: 73.85 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005854/9.836, allocations: 4.905 MB / 3.254 GB, free: 72.34 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.626e-05/9.836, allocations: 14.12 kB / 3.254 GB, free: 72.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009466/9.846, allocations: 5.352 MB / 3.259 GB, free: 71.96 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.15e-05/9.846, allocations: 22.03 kB / 3.259 GB, free: 71.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.093e-05/9.846, allocations: 44.19 kB / 3.26 GB, free: 71.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008662/9.847, allocations: 419.5 kB / 3.26 GB, free: 71.94 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002904/9.85, allocations: 0.8618 MB / 3.261 GB, free: 71.94 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004756/9.854, allocations: 5.32 MB / 3.266 GB, free: 69.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006158/9.861, allocations: 0.6303 MB / 3.267 GB, free: 69.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008126/9.861, allocations: 192.9 kB / 3.267 GB, free: 69.09 MB / 0.698 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.005318/9.867, allocations: 2.264 MB / 3.269 GB, free: 68.98 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001638/9.868, allocations: 482.4 kB / 3.269 GB, free: 68.74 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006711/9.875, allocations: 4.121 MB / 3.273 GB, free: 68.52 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.543e-05/9.875, allocations: 31.28 kB / 3.273 GB, free: 68.52 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/9.875, allocations: 3.625 kB / 3.273 GB, free: 68.52 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00443/9.88, allocations: 3.569 MB / 3.277 GB, free: 68.05 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02132/9.901, allocations: 10.11 MB / 3.287 GB, free: 67.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.444e-05/9.901, allocations: 7.125 kB / 3.287 GB, free: 67.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001955/9.903, allocations: 0.5023 MB / 3.287 GB, free: 67.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007637/9.904, allocations: 366.5 kB / 3.288 GB, free: 67.23 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001991/9.904, allocations: 81.94 kB / 3.288 GB, free: 67.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004466/9.909, allocations: 5.25 MB / 3.293 GB, free: 64.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/9.909, allocations: 12.28 kB / 3.293 GB, free: 64.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009777/9.918, allocations: 6.198 MB / 3.299 GB, free: 63.72 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003894/9.922, allocations: 1.136 MB / 3.3 GB, free: 63.34 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001428/9.924, allocations: 61.45 kB / 3.3 GB, free: 63.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003896/9.928, allocations: 296.6 kB / 3.3 GB, free: 63.31 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003789/9.928, allocations: 180.2 kB / 3.301 GB, free: 63.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003605/9.928, allocations: 125.6 kB / 3.301 GB, free: 63.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.006003/9.934, allocations: 3.596 MB / 3.304 GB, free: 63.12 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/9.934, allocations: 0 / 3.304 GB, free: 63.12 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.007523/9.942, allocations: 1.827 MB / 3.306 GB, free: 62.9 MB / 0.698 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.001859/9.944, allocations: 0.7343 MB / 3.307 GB, free: 62.75 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006579/9.95, allocations: 4.205 MB / 3.311 GB, free: 62.44 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/9.95, allocations: 6.281 kB / 3.311 GB, free: 62.44 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002669/9.953, allocations: 2.012 MB / 3.313 GB, free: 62.18 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02016/9.973, allocations: 3.234 MB / 3.316 GB, free: 62.12 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02396/9.997, allocations: 14.51 MB / 3.33 GB, free: 56.98 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004233/10, allocations: 4.285 MB / 3.334 GB, free: 56.07 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.007904/10.01, allocations: 1.814 MB / 3.336 GB, free: 55.91 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001861/10.01, allocations: 418.2 kB / 3.336 GB, free: 55.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.713e-06/10.01, allocations: 0 / 3.336 GB, free: 55.9 MB / 0.698 GB Notification: Performance of Templates: time 0.2018/10.21, allocations: 112.3 MB / 3.446 GB, free: 4.812 MB / 0.698 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)