Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001072/0.001072, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.009611/0.009611, allocations: 173.9 kB / 16.27 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.515/1.515, allocations: 205.4 MB / 222.5 MB, free: 5.793 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.774/1.774, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008801/0.0008806, allocations: 18.22 kB / 0.6743 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3248, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05533/0.3802, allocations: 47.98 MB / 0.8347 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02184/0.4021, allocations: 13.6 MB / 0.848 GB, free: 13.8 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003374/0.4055, allocations: 55.62 kB / 0.8481 GB, free: 13.75 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002907/0.4084, allocations: 0.6564 MB / 0.8487 GB, free: 13.09 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01009/0.4186, allocations: 2.072 MB / 0.8507 GB, free: 11.01 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004287/0.4229, allocations: 1.17 MB / 0.8519 GB, free: 9.844 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.03431/0.4572, allocations: 25.5 MB / 0.8768 GB, free: 280 kB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01498/0.4722, allocations: 7.816 MB / 0.8844 GB, free: 8.348 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01137/0.4836, allocations: 4.699 MB / 0.889 GB, free: 3.629 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01175/0.4954, allocations: 5.215 MB / 0.8941 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.002681/0.4982, allocations: 300 kB / 0.8944 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006932/0.5051, allocations: 0.9942 MB / 0.8953 GB, free: 13.1 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.00411/0.5093, allocations: 1.424 MB / 0.8967 GB, free: 11.67 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.009697/0.519, allocations: 3.516 MB / 0.9002 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.5365/1.056, allocations: 11.2 MB / 0.9111 GB, free: 39.82 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/1.056, allocations: 1.406 kB / 0.9111 GB, free: 39.82 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.196e-06/1.056, allocations: 0 / 0.9111 GB, free: 39.82 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0004927/1.056, allocations: 0.6875 kB / 0.9111 GB, free: 39.82 MB / 0.7169 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.01954/1.076, allocations: 6.18 MB / 0.9171 GB, free: 37.43 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/1.076, allocations: 11.25 kB / 0.9171 GB, free: 37.43 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005673/1.081, allocations: 0.7758 MB / 0.9179 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01546/1.097, allocations: 6.122 MB / 0.9239 GB, free: 36.16 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005993/1.098, allocations: 419.1 kB / 0.9243 GB, free: 36.15 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002947/1.1, allocations: 0.5429 MB / 0.9248 GB, free: 36.14 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0284/1.129, allocations: 8.07 MB / 0.9327 GB, free: 35.36 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000187/1.129, allocations: 14.38 kB / 0.9327 GB, free: 35.36 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001101/1.13, allocations: 243.9 kB / 0.9329 GB, free: 35.35 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002296/1.13, allocations: 164.2 kB / 0.9331 GB, free: 35.35 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0167/1.147, allocations: 6.524 MB / 0.9395 GB, free: 35.3 MB / 0.7169 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.05562/1.203, allocations: 31.14 MB / 0.9699 GB, free: 19.29 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007769/1.211, allocations: 3.638 MB / 0.9734 GB, free: 17.51 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004702/1.215, allocations: 2.835 MB / 0.9762 GB, free: 16.2 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001012/1.216, allocations: 0.8377 MB / 0.977 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001017/1.217, allocations: 78.97 kB / 0.9771 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=267): time 6.963e-06/1.217, allocations: 0 / 0.9771 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of matching and sorting (n=267): time 0.01277/1.229, allocations: 5.782 MB / 0.9827 GB, free: 12.17 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/1.229, allocations: 80.92 kB / 0.9828 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01055/1.24, allocations: 4.941 MB / 0.9876 GB, free: 9.586 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.001157/1.241, allocations: 84.72 kB / 0.9877 GB, free: 9.512 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002958/1.244, allocations: 2.841 MB / 0.9905 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.002036/1.246, allocations: 0.9352 MB / 0.9914 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001131/1.247, allocations: 307.8 kB / 0.9917 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.349e-05/1.247, allocations: 305.1 kB / 0.992 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003311/1.251, allocations: 1.675 MB / 0.9936 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003824/1.255, allocations: 2.93 MB / 0.9965 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006525/1.261, allocations: 4.967 MB / 1.001 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.072e-05/1.261, allocations: 16 kB / 1.001 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009962/1.271, allocations: 5.423 MB / 1.007 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.924e-05/1.271, allocations: 26.3 kB / 1.007 GB, free: 8.273 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.394e-05/1.271, allocations: 44.16 kB / 1.007 GB, free: 8.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001034/1.272, allocations: 424 kB / 1.007 GB, free: 7.812 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002949/1.275, allocations: 0.8577 MB / 1.008 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005621/1.281, allocations: 5.254 MB / 1.013 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006295/1.287, allocations: 0.6457 MB / 1.014 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007161/1.288, allocations: 184 kB / 1.014 GB, free: 0.7148 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.004993/1.293, allocations: 2.271 MB / 1.016 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002038/1.295, allocations: 474.3 kB / 1.017 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007668/1.303, allocations: 4.183 MB / 1.021 GB, free: 9.809 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-05/1.303, allocations: 24 kB / 1.021 GB, free: 9.785 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/1.303, allocations: 12 kB / 1.021 GB, free: 9.773 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004902/1.308, allocations: 3.627 MB / 1.024 GB, free: 6.047 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02187/1.33, allocations: 10.19 MB / 1.034 GB, free: 11.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.742e-05/1.33, allocations: 12.02 kB / 1.034 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002259/1.332, allocations: 0.4986 MB / 1.035 GB, free: 11.32 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001104/1.333, allocations: 377.3 kB / 1.035 GB, free: 10.95 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004327/1.334, allocations: 71.97 kB / 1.035 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005951/1.34, allocations: 5.204 MB / 1.04 GB, free: 5.438 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/1.34, allocations: 6.625 kB / 1.04 GB, free: 5.434 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01162/1.351, allocations: 6.246 MB / 1.046 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004067/1.355, allocations: 1.154 MB / 1.047 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001808/1.357, allocations: 63.92 kB / 1.047 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005011/1.362, allocations: 343.7 kB / 1.048 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004853/1.363, allocations: 173.1 kB / 1.048 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005409/1.363, allocations: 131.9 kB / 1.048 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.00804/1.371, allocations: 3.626 MB / 1.052 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of sort global known variables: time 6.42e-07/1.371, allocations: 2.625 kB / 1.052 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.008721/1.38, allocations: 1.773 MB / 1.053 GB, free: 7.781 MB / 0.7794 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.001876/1.382, allocations: 478.4 kB / 1.054 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.008554/1.391, allocations: 4.263 MB / 1.058 GB, free: 3.18 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.219e-05/1.391, allocations: 4 kB / 1.058 GB, free: 3.176 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.003821/1.394, allocations: 2.033 MB / 1.06 GB, free: 1.168 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02418/1.419, allocations: 3.291 MB / 1.063 GB, free: 13.95 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02761/1.446, allocations: 15 MB / 1.078 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005622/1.452, allocations: 4.278 MB / 1.082 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.007209/1.459, allocations: 1.905 MB / 1.084 GB, free: 8.707 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001569/1.461, allocations: 410 kB / 1.084 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of SimCode: time 9.12e-07/1.461, allocations: 0 / 1.084 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of Templates: time 0.1892/1.65, allocations: 110 MB / 1.192 GB, free: 11.54 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) Environment - environmentSimulation: