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.007925/0.007925, allocations: 100.6 kB / 15.73 MB, free: 6.035 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.001955/0.001954, allocations: 192.2 kB / 16.67 MB, free: 5.973 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.525/1.525, allocations: 205.1 MB / 222.5 MB, free: 4.488 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.574/1.574, allocations: 251.7 MB / 0.5094 GB, free: 3.004 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.001393/0.001393, allocations: 74.06 kB / 0.7258 GB, free: 8.988 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2708, allocations: 104.7 MB / 0.828 GB, free: 180 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05735/0.3282, allocations: 56.01 MB / 0.8827 GB, free: 7.965 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02702/0.3552, allocations: 17.84 MB / 0.9001 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004726/0.36, allocations: 71.62 kB / 0.9002 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003635/0.3637, allocations: 0.9196 MB / 0.9011 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.009472/0.3732, allocations: 2.593 MB / 0.9036 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004688/0.3779, allocations: 1.483 MB / 0.9051 GB, free: 1 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.6749/1.053, allocations: 21.14 MB / 0.9257 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01894/1.072, allocations: 10.66 MB / 0.9361 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02188/1.094, allocations: 7.224 MB / 0.9432 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01682/1.111, allocations: 6.378 MB / 0.9494 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.005086/1.116, allocations: 0.9301 MB / 0.9503 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01248/1.128, allocations: 1.695 MB / 0.952 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.006265/1.135, allocations: 2.313 MB / 0.9542 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.01733/1.152, allocations: 4.841 MB / 0.959 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.02433/1.176, allocations: 13.04 MB / 0.9717 GB, free: 9.348 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/1.176, allocations: 4 kB / 0.9717 GB, free: 9.344 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.273e-06/1.176, allocations: 0 / 0.9717 GB, free: 9.344 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0005371/1.177, allocations: 1.781 kB / 0.9717 GB, free: 9.344 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.02716/1.204, allocations: 8.437 MB / 0.98 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/1.204, allocations: 12.03 kB / 0.98 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005359/1.209, allocations: 0.847 MB / 0.9808 GB, free: 12 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01649/1.226, allocations: 6.605 MB / 0.9872 GB, free: 9.473 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005198/1.227, allocations: 459.1 kB / 0.9877 GB, free: 9.023 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003044/1.23, allocations: 0.6045 MB / 0.9883 GB, free: 8.422 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0302/1.26, allocations: 8.925 MB / 0.997 GB, free: 15.21 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003419/1.26, allocations: 15.88 kB / 0.997 GB, free: 15.2 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002769/1.263, allocations: 256 kB / 0.9972 GB, free: 14.95 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002258/1.263, allocations: 179.9 kB / 0.9974 GB, free: 14.77 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01792/1.281, allocations: 7.481 MB / 1.005 GB, free: 7.281 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.06128/1.343, allocations: 35.13 MB / 1.039 GB, free: 2.465 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008799/1.351, allocations: 4.436 MB / 1.043 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005803/1.357, allocations: 3.331 MB / 1.047 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001494/1.359, allocations: 0.961 MB / 1.048 GB, free: 9.578 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005659/1.364, allocations: 2.385 MB / 1.05 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003791/1.368, allocations: 371 kB / 1.05 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=329): time 1.545e-05/1.368, allocations: 2.344 kB / 1.05 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of matching and sorting (n=329): time 0.01575/1.384, allocations: 7.244 MB / 1.057 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.286e-05/1.384, allocations: 90 kB / 1.057 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01365/1.398, allocations: 5.559 MB / 1.063 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0006786/1.398, allocations: 85.7 kB / 1.063 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.004244/1.403, allocations: 3.142 MB / 1.066 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001689/1.404, allocations: 1.158 MB / 1.067 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00195/1.406, allocations: 0.8622 MB / 1.068 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001131/1.407, allocations: 305.1 kB / 1.068 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003839/1.41, allocations: 2.195 MB / 1.07 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004835/1.415, allocations: 3.685 MB / 1.074 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0094/1.425, allocations: 6.337 MB / 1.08 GB, free: 6.684 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.467e-05/1.425, allocations: 16 kB / 1.08 GB, free: 6.668 MB / 0.8419 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01266/1.437, allocations: 6.826 MB / 1.087 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.369e-05/1.438, allocations: 57.64 kB / 1.087 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.672e-05/1.438, allocations: 48 kB / 1.087 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/1.439, allocations: 433.4 kB / 1.087 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003596/1.442, allocations: 1.014 MB / 1.088 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006237/1.449, allocations: 5.703 MB / 1.094 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005462/1.454, allocations: 283.4 kB / 1.094 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008229/1.455, allocations: 216 kB / 1.094 GB, free: 7.785 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.006756/1.462, allocations: 2.459 MB / 1.097 GB, free: 5.312 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002522/1.464, allocations: 0.5249 MB / 1.097 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0127/1.477, allocations: 5.359 MB / 1.103 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.108e-05/1.477, allocations: 36 kB / 1.103 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.501e-05/1.477, allocations: 4 kB / 1.103 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008422/1.486, allocations: 4.616 MB / 1.107 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03032/1.516, allocations: 12.04 MB / 1.119 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/1.516, allocations: 128 / 1.119 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003204/1.519, allocations: 0.6671 MB / 1.12 GB, free: 13.84 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009234/1.52, allocations: 371.1 kB / 1.12 GB, free: 13.47 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000529/1.521, allocations: 91.94 kB / 1.12 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005854/1.527, allocations: 5.626 MB / 1.125 GB, free: 7.492 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.527, allocations: 0 / 1.125 GB, free: 7.492 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01657/1.543, allocations: 7.884 MB / 1.133 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005771/1.549, allocations: 1.139 MB / 1.134 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003046/1.552, allocations: 71.98 kB / 1.134 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004972/1.557, allocations: 199.5 kB / 1.135 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007838/1.558, allocations: 206.3 kB / 1.135 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005944/1.558, allocations: 127.9 kB / 1.135 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.009627/1.568, allocations: 3.889 MB / 1.139 GB, free: 9.895 MB / 0.9044 GB Notification: Performance of sort global known variables: time 6.61e-07/1.568, allocations: 0 / 1.139 GB, free: 9.895 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.01065/1.579, allocations: 2.011 MB / 1.141 GB, free: 7.879 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.002153/1.581, allocations: 491 kB / 1.141 GB, free: 7.422 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0119/1.593, allocations: 5.516 MB / 1.146 GB, free: 1.855 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/1.593, allocations: 0 / 1.146 GB, free: 1.855 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.005077/1.598, allocations: 2.593 MB / 1.149 GB, free: 15.23 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01901/1.617, allocations: 3.406 MB / 1.152 GB, free: 11.93 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0338/1.651, allocations: 14.03 MB / 1.166 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008103/1.659, allocations: 4.603 MB / 1.171 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.008784/1.668, allocations: 2.036 MB / 1.172 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0026/1.671, allocations: 463.2 kB / 1.173 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of SimCode: time 6.71e-07/1.671, allocations: 0 / 1.173 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of Templates: time 0.1969/1.867, allocations: 116.2 MB / 1.286 GB, free: 3.781 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)