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.001102/0.001102, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00136/0.001361, allocations: 189.2 kB / 16.14 MB, free: 6.703 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.47/1.47, allocations: 205.1 MB / 222 MB, free: 4.75 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.543/1.543, allocations: 251.7 MB / 0.5088 GB, free: 3.324 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.00142/0.00142, allocations: 71.91 kB / 0.6216 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6617/0.6632, allocations: 104.7 MB / 0.7238 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05626/0.7195, allocations: 55.65 MB / 0.7781 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02512/0.7446, allocations: 17.83 MB / 0.7956 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003771/0.7485, allocations: 67.56 kB / 0.7956 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002705/0.7512, allocations: 0.7147 MB / 0.7963 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.008129/0.7594, allocations: 2.306 MB / 0.7986 GB, free: 312 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004248/0.7636, allocations: 1.339 MB / 0.7999 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.02709/0.7907, allocations: 27.67 MB / 0.8269 GB, free: 3.23 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01296/0.8038, allocations: 8.678 MB / 0.8354 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0137/0.8175, allocations: 5.521 MB / 0.8408 GB, free: 4.891 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01264/0.8302, allocations: 6.185 MB / 0.8468 GB, free: 14.68 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.002768/0.833, allocations: 479.9 kB / 0.8473 GB, free: 14.21 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008369/0.8414, allocations: 1.151 MB / 0.8484 GB, free: 13.06 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.004085/0.8455, allocations: 1.779 MB / 0.8501 GB, free: 11.27 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.01068/0.8562, allocations: 4.09 MB / 0.8541 GB, free: 7.164 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01569/0.8719, allocations: 12.5 MB / 0.8663 GB, free: 10.63 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.872, allocations: 0 / 0.8663 GB, free: 10.63 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.293e-06/0.872, allocations: 0 / 0.8663 GB, free: 10.63 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0004468/0.8724, allocations: 0 / 0.8663 GB, free: 10.63 MB / 0.6856 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.02381/0.8963, allocations: 8.428 MB / 0.8746 GB, free: 2.105 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.8963, allocations: 8.031 kB / 0.8746 GB, free: 2.098 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004285/0.9006, allocations: 0.847 MB / 0.8754 GB, free: 1.242 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01655/0.9172, allocations: 6.535 MB / 0.8818 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005141/0.9178, allocations: 464.6 kB / 0.8822 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002935/0.9207, allocations: 0.6052 MB / 0.8828 GB, free: 9.578 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.019/0.9397, allocations: 8.919 MB / 0.8915 GB, free: 368 kB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001418/0.9399, allocations: 15.88 kB / 0.8915 GB, free: 352 kB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000756/0.9407, allocations: 264 kB / 0.8918 GB, free: 88 kB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001641/0.9408, allocations: 179.9 kB / 0.892 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01501/0.9559, allocations: 7.481 MB / 0.8993 GB, free: 8.422 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.5724/1.528, allocations: 35.03 MB / 0.9335 GB, free: 143.5 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01106/1.539, allocations: 4.418 MB / 0.9378 GB, free: 141.2 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009149/1.549, allocations: 3.347 MB / 0.9411 GB, free: 139.6 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001862/1.551, allocations: 0.9619 MB / 0.942 GB, free: 138.6 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006924/1.557, allocations: 2.391 MB / 0.9443 GB, free: 137.2 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005316/1.563, allocations: 445.4 kB / 0.9448 GB, free: 137 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=329): time 2.247e-05/1.563, allocations: 0 / 0.9448 GB, free: 137 MB / 0.7169 GB Notification: Performance of matching and sorting (n=329): time 0.01876/1.582, allocations: 7.212 MB / 0.9518 GB, free: 133.2 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.326e-05/1.582, allocations: 85.09 kB / 0.9519 GB, free: 133.1 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009942/1.592, allocations: 5.357 MB / 0.9571 GB, free: 127.9 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0008868/1.593, allocations: 95.11 kB / 0.9572 GB, free: 127.8 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.003162/1.596, allocations: 3.132 MB / 0.9603 GB, free: 124.6 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001793/1.598, allocations: 1.165 MB / 0.9614 GB, free: 123.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002447/1.6, allocations: 0.8583 MB / 0.9622 GB, free: 122.6 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.847e-05/1.6, allocations: 306.2 kB / 0.9625 GB, free: 122.3 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003474/1.604, allocations: 2.191 MB / 0.9647 GB, free: 120.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003899/1.608, allocations: 3.684 MB / 0.9683 GB, free: 115.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007334/1.615, allocations: 6.312 MB / 0.9744 GB, free: 108.8 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.343e-05/1.615, allocations: 16 kB / 0.9745 GB, free: 108.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01095/1.626, allocations: 6.794 MB / 0.9811 GB, free: 101.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.267e-05/1.626, allocations: 49.7 kB / 0.9811 GB, free: 101.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.889e-05/1.626, allocations: 48 kB / 0.9812 GB, free: 101.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009735/1.627, allocations: 441.5 kB / 0.9816 GB, free: 101.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00346/1.631, allocations: 1.01 MB / 0.9826 GB, free: 100.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004631/1.635, allocations: 5.252 MB / 0.9877 GB, free: 94.86 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006253/1.642, allocations: 474.7 kB / 0.9882 GB, free: 94.39 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007769/1.642, allocations: 219.9 kB / 0.9884 GB, free: 94.18 MB / 0.7169 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.005268/1.648, allocations: 2.459 MB / 0.9908 GB, free: 91.7 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002137/1.65, allocations: 0.5211 MB / 0.9913 GB, free: 91.18 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009159/1.659, allocations: 5.348 MB / 0.9965 GB, free: 85.78 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.476e-05/1.659, allocations: 35.94 kB / 0.9965 GB, free: 85.75 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.882e-05/1.659, allocations: 4 kB / 0.9966 GB, free: 85.74 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005826/1.665, allocations: 4.601 MB / 1.001 GB, free: 81.04 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 postOpt removeSimpleEquations (simulation): time 0.02237/1.687, allocations: 12.04 MB / 1.013 GB, free: 68.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/1.687, allocations: 4 kB / 1.013 GB, free: 68.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002757/1.69, allocations: 0.6555 MB / 1.013 GB, free: 68.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000806/1.691, allocations: 369.3 kB / 1.014 GB, free: 67.88 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003452/1.691, allocations: 91.94 kB / 1.014 GB, free: 67.79 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00423/1.696, allocations: 5.175 MB / 1.019 GB, free: 62.35 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.696, allocations: 0 / 1.019 GB, free: 62.35 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01144/1.707, allocations: 7.734 MB / 1.026 GB, free: 54.52 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003431/1.71, allocations: 1.112 MB / 1.028 GB, free: 53.39 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00164/1.712, allocations: 76.36 kB / 1.028 GB, free: 53.31 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004676/1.717, allocations: 469.9 kB / 1.028 GB, free: 52.86 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005322/1.717, allocations: 206.2 kB / 1.028 GB, free: 52.65 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003877/1.718, allocations: 127.9 kB / 1.028 GB, free: 52.53 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.006411/1.724, allocations: 3.733 MB / 1.032 GB, free: 48.81 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.1e-07/1.724, allocations: 4 kB / 1.032 GB, free: 48.81 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.007456/1.732, allocations: 1.986 MB / 1.034 GB, free: 46.84 MB / 0.7169 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.0016/1.733, allocations: 491 kB / 1.034 GB, free: 46.4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.008019/1.741, allocations: 5.446 MB / 1.04 GB, free: 40.9 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/1.741, allocations: 0 / 1.04 GB, free: 40.9 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00352/1.745, allocations: 2.561 MB / 1.042 GB, free: 38.31 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01709/1.762, allocations: 3.231 MB / 1.045 GB, free: 35.14 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0268/1.789, allocations: 16.57 MB / 1.062 GB, free: 18.52 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005299/1.794, allocations: 4.607 MB / 1.066 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.008615/1.803, allocations: 1.989 MB / 1.068 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002384/1.805, allocations: 455.2 kB / 1.069 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of SimCode: time 1.423e-06/1.805, allocations: 4 kB / 1.069 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of Templates: time 0.179/1.984, allocations: 115.6 MB / 1.181 GB, free: 8.973 MB / 0.8262 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)