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.001182/0.001182, allocations: 108.6 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 190.3 kB / 16.66 MB, free: 6.59 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.575/1.575, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.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.576/1.576, allocations: 251.7 MB / 0.5094 GB, free: 3.059 MB / 414.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.001442/0.001442, allocations: 75.89 kB / 0.7258 GB, free: 9.035 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2893, allocations: 104.7 MB / 0.828 GB, free: 240 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05832/0.3476, allocations: 56.01 MB / 0.8827 GB, free: 8.02 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02673/0.3744, allocations: 17.85 MB / 0.9002 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004267/0.3787, allocations: 75.56 kB / 0.9002 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003077/0.3819, allocations: 0.8885 MB / 0.9011 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.009231/0.3911, allocations: 2.479 MB / 0.9035 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004861/0.396, allocations: 1.479 MB / 0.905 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.6691/1.065, allocations: 21.1 MB / 0.9256 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01869/1.084, allocations: 10.66 MB / 0.936 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02065/1.105, allocations: 7.155 MB / 0.943 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01545/1.12, allocations: 6.369 MB / 0.9492 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.004157/1.124, allocations: 0.935 MB / 0.9501 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009712/1.134, allocations: 1.692 MB / 0.9517 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.005856/1.14, allocations: 2.321 MB / 0.954 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.01704/1.157, allocations: 4.846 MB / 0.9587 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.02244/1.179, allocations: 13.08 MB / 0.9715 GB, free: 9.473 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.375e-06/1.179, allocations: 0 / 0.9715 GB, free: 9.473 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.424e-06/1.179, allocations: 0 / 0.9715 GB, free: 9.473 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0005535/1.18, allocations: 0 / 0.9715 GB, free: 9.473 MB / 0.7325 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.03019/1.21, allocations: 8.655 MB / 0.98 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/1.21, allocations: 8.031 kB / 0.98 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005585/1.216, allocations: 0.8855 MB / 0.9808 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01567/1.232, allocations: 6.64 MB / 0.9873 GB, free: 9.344 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004524/1.232, allocations: 465.4 kB / 0.9878 GB, free: 8.891 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002855/1.235, allocations: 0.6079 MB / 0.9884 GB, free: 8.289 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02575/1.261, allocations: 8.913 MB / 0.9971 GB, free: 15.09 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003819/1.261, allocations: 23.81 kB / 0.9971 GB, free: 15.06 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002755/1.264, allocations: 267.8 kB / 0.9973 GB, free: 14.8 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002685/1.264, allocations: 175.9 kB / 0.9975 GB, free: 14.63 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02081/1.285, allocations: 7.481 MB / 1.005 GB, free: 7.145 MB / 0.7637 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.07199/1.357, allocations: 35.21 MB / 1.039 GB, free: 2.254 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01024/1.367, allocations: 4.419 MB / 1.044 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006278/1.374, allocations: 3.334 MB / 1.047 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00157/1.375, allocations: 0.9638 MB / 1.048 GB, free: 9.375 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005508/1.381, allocations: 2.381 MB / 1.05 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003533/1.384, allocations: 380.9 kB / 1.05 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=329): time 1.667e-05/1.384, allocations: 4 kB / 1.05 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of matching and sorting (n=329): time 0.01783/1.402, allocations: 7.268 MB / 1.058 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.461e-05/1.402, allocations: 90 kB / 1.058 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0125/1.415, allocations: 5.563 MB / 1.063 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0009799/1.416, allocations: 85.7 kB / 1.063 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.003777/1.42, allocations: 3.215 MB / 1.066 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.002158/1.422, allocations: 1.211 MB / 1.067 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001538/1.423, allocations: 0.8704 MB / 1.068 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000107/1.424, allocations: 310.7 kB / 1.069 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003637/1.427, allocations: 2.199 MB / 1.071 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004834/1.432, allocations: 3.684 MB / 1.074 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009505/1.442, allocations: 6.344 MB / 1.081 GB, free: 6.316 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.546e-05/1.442, allocations: 12 kB / 1.081 GB, free: 6.305 MB / 0.8419 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01388/1.456, allocations: 6.847 MB / 1.087 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.242e-05/1.456, allocations: 49.7 kB / 1.087 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.846e-05/1.456, allocations: 48 kB / 1.087 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/1.457, allocations: 433.2 kB / 1.088 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004181/1.461, allocations: 1.022 MB / 1.089 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005964/1.467, allocations: 5.708 MB / 1.094 GB, free: 7.883 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005985/1.473, allocations: 287.7 kB / 1.095 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001177/1.474, allocations: 216 kB / 1.095 GB, free: 7.391 MB / 0.8575 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.005866/1.48, allocations: 2.455 MB / 1.097 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002318/1.482, allocations: 0.5396 MB / 1.098 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01112/1.494, allocations: 5.359 MB / 1.103 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.723e-05/1.494, allocations: 35.98 kB / 1.103 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/1.494, allocations: 4 kB / 1.103 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008319/1.502, allocations: 4.624 MB / 1.107 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02603/1.528, allocations: 12.05 MB / 1.119 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/1.528, allocations: 3.938 kB / 1.119 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002919/1.531, allocations: 0.6671 MB / 1.12 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009076/1.532, allocations: 376.7 kB / 1.12 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002756/1.532, allocations: 83.95 kB / 1.12 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005652/1.538, allocations: 5.618 MB / 1.126 GB, free: 7.082 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.538, allocations: 0 / 1.126 GB, free: 7.082 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01297/1.551, allocations: 7.922 MB / 1.134 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003679/1.555, allocations: 1.165 MB / 1.135 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00157/1.556, allocations: 71.92 kB / 1.135 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003864/1.56, allocations: 195.6 kB / 1.135 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000512/1.561, allocations: 209.9 kB / 1.135 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003477/1.561, allocations: 127.9 kB / 1.135 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.007499/1.568, allocations: 3.889 MB / 1.139 GB, free: 9.426 MB / 0.9044 GB Notification: Performance of sort global known variables: time 4.41e-07/1.569, allocations: 0 / 1.139 GB, free: 9.426 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.008764/1.577, allocations: 2.016 MB / 1.141 GB, free: 7.406 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.002012/1.579, allocations: 0.5021 MB / 1.142 GB, free: 6.934 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.009124/1.588, allocations: 5.51 MB / 1.147 GB, free: 1.391 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/1.589, allocations: 4.938 kB / 1.147 GB, free: 1.387 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.003827/1.592, allocations: 2.593 MB / 1.149 GB, free: 14.77 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02108/1.613, allocations: 3.391 MB / 1.153 GB, free: 11.46 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03021/1.644, allocations: 14.24 MB / 1.167 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006462/1.65, allocations: 4.603 MB / 1.171 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.007808/1.658, allocations: 2.043 MB / 1.173 GB, free: 6.5 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002191/1.66, allocations: 467.2 kB / 1.174 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of SimCode: time 1.804e-06/1.66, allocations: 0 / 1.174 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of Templates: time 0.2048/1.865, allocations: 116.2 MB / 1.287 GB, free: 3.055 MB / 1.045 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)