Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005803/0.005803, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001234, allocations: 191.5 kB / 16.67 MB, free: 5.523 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.49/1.49, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.43/1.43, allocations: 251.7 MB / 0.5094 GB, free: 396 kB / 430.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.001471/0.001471, allocations: 71.91 kB / 0.7258 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7941/0.7956, allocations: 104.7 MB / 0.828 GB, free: 2.578 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05908/0.8547, allocations: 56.02 MB / 0.8827 GB, free: 10.35 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02606/0.8808, allocations: 17.83 MB / 0.9001 GB, free: 8.477 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004077/0.885, allocations: 71.62 kB / 0.9002 GB, free: 8.406 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.003646/0.8887, allocations: 0.9197 MB / 0.9011 GB, free: 7.48 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01002/0.8987, allocations: 2.6 MB / 0.9036 GB, free: 4.867 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.005225/0.904, allocations: 1.479 MB / 0.9051 GB, free: 3.395 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.03276/0.9368, allocations: 21.16 MB / 0.9258 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02141/0.9582, allocations: 10.66 MB / 0.9362 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01924/0.9775, allocations: 7.21 MB / 0.9432 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01461/0.9922, allocations: 6.37 MB / 0.9494 GB, free: 5.824 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.004318/0.9966, allocations: 0.9374 MB / 0.9503 GB, free: 4.887 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01001/1.007, allocations: 1.702 MB / 0.952 GB, free: 3.184 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.007244/1.014, allocations: 2.318 MB / 0.9543 GB, free: 0.8594 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.01445/1.028, allocations: 4.661 MB / 0.9588 GB, free: 12.18 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.02676/1.055, allocations: 13.04 MB / 0.9715 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.186e-05/1.055, allocations: 0 / 0.9715 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.727e-06/1.055, allocations: 0 / 0.9715 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.001058/1.056, allocations: 0 / 0.9715 GB, free: 15.1 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.03382/1.09, allocations: 8.44 MB / 0.9798 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.239e-05/1.09, allocations: 16.02 kB / 0.9798 GB, free: 6.551 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006332/1.097, allocations: 0.8508 MB / 0.9806 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01947/1.116, allocations: 6.598 MB / 0.9871 GB, free: 15.02 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006688/1.117, allocations: 460.6 kB / 0.9875 GB, free: 14.57 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003277/1.12, allocations: 0.6052 MB / 0.9881 GB, free: 13.97 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03222/1.152, allocations: 8.919 MB / 0.9968 GB, free: 4.75 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004384/1.153, allocations: 15.84 kB / 0.9968 GB, free: 4.734 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003034/1.156, allocations: 260 kB / 0.9971 GB, free: 4.48 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003232/1.156, allocations: 183.9 kB / 0.9973 GB, free: 4.301 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02396/1.18, allocations: 7.485 MB / 1.005 GB, free: 12.8 MB / 0.8106 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.07364/1.254, allocations: 35.13 MB / 1.039 GB, free: 7.688 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008718/1.263, allocations: 4.419 MB / 1.043 GB, free: 3.273 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006153/1.269, allocations: 3.343 MB / 1.046 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001573/1.271, allocations: 0.9583 MB / 1.047 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005573/1.276, allocations: 2.392 MB / 1.05 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00346/1.28, allocations: 367.7 kB / 1.05 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=329): time 1.913e-05/1.28, allocations: 8 kB / 1.05 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of matching and sorting (n=329): time 0.0185/1.298, allocations: 7.234 MB / 1.057 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.168e-05/1.298, allocations: 97.86 kB / 1.057 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01295/1.311, allocations: 5.555 MB / 1.063 GB, free: 15 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0009614/1.312, allocations: 89.7 kB / 1.063 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.004025/1.316, allocations: 3.145 MB / 1.066 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.002124/1.319, allocations: 1.152 MB / 1.067 GB, free: 10.56 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002999/1.322, allocations: 0.8661 MB / 1.068 GB, free: 9.68 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.32e-05/1.322, allocations: 305.1 kB / 1.068 GB, free: 9.379 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004257/1.326, allocations: 2.195 MB / 1.07 GB, free: 7.176 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005435/1.331, allocations: 3.683 MB / 1.074 GB, free: 2.82 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009723/1.341, allocations: 6.343 MB / 1.08 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.717e-05/1.341, allocations: 16 kB / 1.08 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01392/1.355, allocations: 6.817 MB / 1.087 GB, free: 4.902 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 8.95e-05/1.355, allocations: 57.7 kB / 1.087 GB, free: 4.84 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.704e-05/1.355, allocations: 48.05 kB / 1.087 GB, free: 4.793 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/1.357, allocations: 441 kB / 1.087 GB, free: 4.359 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004053/1.361, allocations: 1.018 MB / 1.088 GB, free: 3.34 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006175/1.367, allocations: 5.681 MB / 1.094 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005621/1.372, allocations: 283.5 kB / 1.094 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001023/1.373, allocations: 220 kB / 1.094 GB, free: 12.89 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 214 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (548): * Single equations (assignments): 545 * Array equations: 0 * Algorithm blocks: 1 * 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.005641/1.379, allocations: 2.463 MB / 1.097 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002339/1.381, allocations: 0.5171 MB / 1.097 GB, free: 9.895 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01216/1.394, allocations: 5.363 MB / 1.102 GB, free: 4.477 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.784e-05/1.394, allocations: 35.94 kB / 1.102 GB, free: 4.441 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-05/1.394, allocations: 4 kB / 1.102 GB, free: 4.438 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.492/1.886, allocations: 4.609 MB / 1.107 GB, free: 257.3 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02859/1.914, allocations: 12.05 MB / 1.119 GB, free: 253.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.386e-05/1.914, allocations: 0 / 1.119 GB, free: 253.4 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002768/1.917, allocations: 0.6693 MB / 1.119 GB, free: 253.4 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007889/1.918, allocations: 372.9 kB / 1.12 GB, free: 253.3 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002427/1.918, allocations: 88.75 kB / 1.12 GB, free: 253.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004718/1.923, allocations: 5.603 MB / 1.125 GB, free: 249.1 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.923, allocations: 0 / 1.125 GB, free: 249.1 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01083/1.934, allocations: 7.892 MB / 1.133 GB, free: 245.9 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00296/1.937, allocations: 1.137 MB / 1.134 GB, free: 245.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001141/1.938, allocations: 66.69 kB / 1.134 GB, free: 245.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003246/1.941, allocations: 204.9 kB / 1.134 GB, free: 245.2 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004394/1.942, allocations: 211.8 kB / 1.135 GB, free: 245.1 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002642/1.942, allocations: 129.8 kB / 1.135 GB, free: 245.1 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.005564/1.948, allocations: 3.882 MB / 1.138 GB, free: 241.9 MB / 0.9044 GB Notification: Performance of sort global known variables: time 4.31e-07/1.948, allocations: 0 / 1.138 GB, free: 241.9 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.007655/1.955, allocations: 2.012 MB / 1.14 GB, free: 240.1 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 20 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,HIn_flow.h_out,HOut_flow.h_out,HInEnh_flow.h_out,HOutEnh_flow.h_out,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (308): * Single equations (assignments): 301 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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.001843/1.957, allocations: 492.2 kB / 1.141 GB, free: 239.7 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.009569/1.967, allocations: 5.521 MB / 1.146 GB, free: 234.1 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.82e-05/1.967, allocations: 4 kB / 1.146 GB, free: 234.1 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.005372/1.972, allocations: 2.589 MB / 1.149 GB, free: 231.5 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02164/1.994, allocations: 3.393 MB / 1.152 GB, free: 228.4 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02823/2.022, allocations: 14.02 MB / 1.166 GB, free: 214.4 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00681/2.029, allocations: 4.618 MB / 1.17 GB, free: 209.8 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.007994/2.037, allocations: 2.026 MB / 1.172 GB, free: 207.7 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002511/2.04, allocations: 474.5 kB / 1.173 GB, free: 207.3 MB / 0.9044 GB Notification: Performance of SimCode: time 1.272e-06/2.04, allocations: 0 / 1.173 GB, free: 207.3 MB / 0.9044 GB Notification: Performance of Templates: time 0.1566/2.196, allocations: 116.2 MB / 1.286 GB, free: 92.3 MB / 0.9044 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)