Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.314/2.314, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00156/0.00156, allocations: 182.4 kB / 325.6 MB, free: 2.812 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.535/2.535, allocations: 205.4 MB / 0.5766 GB, free: 20.74 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001158/0.001157, allocations: 95.42 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007524/0.0007527, allocations: 11.97 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3105, allocations: 106.3 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.1028/0.4133, allocations: 46.84 MB / 0.9446 GB, free: 18.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03168/0.4451, allocations: 15.47 MB / 0.9597 GB, free: 2.988 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002934/0.4481, allocations: 63.56 kB / 0.9598 GB, free: 2.926 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003944/0.4521, allocations: 0.8084 MB / 0.9606 GB, free: 2.113 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.009062/0.4612, allocations: 2.134 MB / 0.9627 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.006933/0.4682, allocations: 1.481 MB / 0.9641 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0231/0.4913, allocations: 11.35 MB / 0.9752 GB, free: 3.137 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01615/0.5075, allocations: 7.131 MB / 0.9822 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01156/0.5191, allocations: 4.462 MB / 0.9865 GB, free: 7.461 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009992/0.5292, allocations: 3.867 MB / 0.9903 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.002464/0.5317, allocations: 348 kB / 0.9906 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006919/0.5386, allocations: 0.8391 MB / 0.9914 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.003834/0.5425, allocations: 1.448 MB / 0.9928 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0043/0.5469, allocations: 1.596 MB / 0.9944 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.01792/0.5648, allocations: 10.16 MB / 1.004 GB, free: 5.156 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.5649, allocations: 0 / 1.004 GB, free: 5.156 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.995e-06/0.5649, allocations: 4 kB / 1.004 GB, free: 5.152 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0004541/0.5654, allocations: 0 / 1.004 GB, free: 5.152 MB / 0.6511 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.02548/0.5909, allocations: 6.909 MB / 1.011 GB, free: 14.15 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.5909, allocations: 8.031 kB / 1.011 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005305/0.5962, allocations: 0.8422 MB / 1.012 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02028/0.6166, allocations: 5.965 MB / 1.018 GB, free: 7.266 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006723/0.6173, allocations: 456.2 kB / 1.018 GB, free: 6.816 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002653/0.62, allocations: 0.5975 MB / 1.019 GB, free: 6.219 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03045/0.6505, allocations: 8.833 MB / 1.027 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002535/0.6508, allocations: 15.92 kB / 1.027 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001587/0.6524, allocations: 256 kB / 1.028 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002694/0.6527, allocations: 183.9 kB / 1.028 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02512/0.6778, allocations: 7.449 MB / 1.035 GB, free: 5.184 MB / 0.6823 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.6793/1.357, allocations: 35.35 MB / 1.07 GB, free: 124.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01364/1.371, allocations: 4.458 MB / 1.074 GB, free: 124.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002087/1.373, allocations: 0.9841 MB / 1.075 GB, free: 123.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007615/1.381, allocations: 2.394 MB / 1.077 GB, free: 123.2 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004087/1.385, allocations: 475.4 kB / 1.078 GB, free: 123.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=329): time 1.676e-05/1.385, allocations: 3.938 kB / 1.078 GB, free: 123.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=329): time 0.02359/1.408, allocations: 7.247 MB / 1.085 GB, free: 121.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.833e-05/1.409, allocations: 89.59 kB / 1.085 GB, free: 121.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01387/1.422, allocations: 5.725 MB / 1.09 GB, free: 119.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0008833/1.423, allocations: 90.17 kB / 1.091 GB, free: 119.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.003752/1.427, allocations: 3.124 MB / 1.094 GB, free: 116.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002133/1.429, allocations: 1.167 MB / 1.095 GB, free: 115.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004463/1.43, allocations: 93.56 kB / 1.095 GB, free: 115.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000313/1.43, allocations: 495 kB / 1.095 GB, free: 115.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005697/1.436, allocations: 2.189 MB / 1.097 GB, free: 114 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006833/1.443, allocations: 3.671 MB / 1.101 GB, free: 110.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007152/1.45, allocations: 2.945 MB / 1.104 GB, free: 109.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.784e-05/1.45, allocations: 16.28 kB / 1.104 GB, free: 109.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01862/1.469, allocations: 6.809 MB / 1.111 GB, free: 106 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.066e-05/1.469, allocations: 52.92 kB / 1.111 GB, free: 105.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.446e-05/1.469, allocations: 52.89 kB / 1.111 GB, free: 105.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001509/1.47, allocations: 434.1 kB / 1.111 GB, free: 105.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00756/1.478, allocations: 1.069 MB / 1.112 GB, free: 104.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00751/1.486, allocations: 5.326 MB / 1.117 GB, free: 99.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008657/1.494, allocations: 482.8 kB / 1.118 GB, free: 98.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009858/1.495, allocations: 220 kB / 1.118 GB, free: 98.38 MB / 0.698 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (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.006283/1.502, allocations: 2.457 MB / 1.12 GB, free: 95.91 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00186/1.504, allocations: 0.5171 MB / 1.121 GB, free: 95.39 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0137/1.517, allocations: 5.379 MB / 1.126 GB, free: 89.96 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.82e-05/1.517, allocations: 36 kB / 1.126 GB, free: 89.93 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/1.517, allocations: 4 kB / 1.126 GB, free: 89.93 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01121/1.529, allocations: 4.629 MB / 1.131 GB, free: 85.2 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 postOpt removeSimpleEquations (simulation): time 0.04535/1.574, allocations: 12.24 MB / 1.143 GB, free: 72.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-05/1.574, allocations: 4 kB / 1.143 GB, free: 72.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009179/1.583, allocations: 0.6437 MB / 1.143 GB, free: 72.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002284/1.586, allocations: 366 kB / 1.144 GB, free: 71.83 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009475/1.587, allocations: 91.94 kB / 1.144 GB, free: 71.74 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01139/1.598, allocations: 5.238 MB / 1.149 GB, free: 66.25 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/1.598, allocations: 4 kB / 1.149 GB, free: 66.25 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02974/1.628, allocations: 7.887 MB / 1.157 GB, free: 58.25 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006952/1.635, allocations: 1.283 MB / 1.158 GB, free: 56.94 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003108/1.638, allocations: 68.17 kB / 1.158 GB, free: 56.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01196/1.65, allocations: 447 kB / 1.158 GB, free: 56.44 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001497/1.652, allocations: 214.2 kB / 1.159 GB, free: 56.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001389/1.653, allocations: 127.9 kB / 1.159 GB, free: 56.11 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.01176/1.665, allocations: 4.022 MB / 1.163 GB, free: 52.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.72e-07/1.665, allocations: 0 / 1.163 GB, free: 52.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01017/1.675, allocations: 2.007 MB / 1.165 GB, free: 50.11 MB / 0.698 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 (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.003219/1.678, allocations: 497.2 kB / 1.165 GB, free: 49.67 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.02157/1.7, allocations: 5.459 MB / 1.17 GB, free: 44.16 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.564e-05/1.7, allocations: 8.188 kB / 1.17 GB, free: 44.16 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.009878/1.71, allocations: 2.572 MB / 1.173 GB, free: 41.55 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0384/1.749, allocations: 3.158 MB / 1.176 GB, free: 38.46 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05412/1.803, allocations: 16.33 MB / 1.192 GB, free: 22.07 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0122/1.815, allocations: 4.727 MB / 1.196 GB, free: 17.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.01711/1.832, allocations: 2.049 MB / 1.198 GB, free: 15.26 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004171/1.836, allocations: 459.2 kB / 1.199 GB, free: 14.81 MB / 0.698 GB Notification: Performance of SimCode: time 2.134e-06/1.836, allocations: 0 / 1.199 GB, free: 14.81 MB / 0.698 GB Notification: Performance of Templates: time 0.3405/2.177, allocations: 113.2 MB / 1.31 GB, free: 14.16 MB / 0.8073 GB