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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.382/1.382, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001145/0.001145, allocations: 183.4 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.897/1.897, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008689/0.0008692, allocations: 97.41 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003612, allocations: 15.06 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2627, allocations: 106.4 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.03813/0.3009, allocations: 46.83 MB / 0.9459 GB, free: 16.9 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01972/0.3206, allocations: 15.48 MB / 0.961 GB, free: 1.395 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003304/0.324, allocations: 59.62 kB / 0.9611 GB, free: 1.336 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003415/0.3275, allocations: 0.8123 MB / 0.9618 GB, free: 0.5195 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.009426/0.3369, allocations: 2.13 MB / 0.9639 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.005507/0.3424, allocations: 1.48 MB / 0.9654 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.01716/0.3596, allocations: 11.35 MB / 0.9765 GB, free: 1.547 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01216/0.3718, allocations: 7.131 MB / 0.9834 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01203/0.3839, allocations: 4.465 MB / 0.9878 GB, free: 5.867 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01008/0.3941, allocations: 3.855 MB / 0.9915 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.002958/0.3971, allocations: 348 kB / 0.9919 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007252/0.4044, allocations: 0.843 MB / 0.9927 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.003764/0.4082, allocations: 1.456 MB / 0.9941 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.004745/0.4129, allocations: 1.592 MB / 0.9957 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.01579/0.4287, allocations: 10.15 MB / 1.006 GB, free: 3.574 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4288, allocations: 0 / 1.006 GB, free: 3.574 MB / 0.6511 GB Notification: Performance of FrontEnd: time 5.26e-06/0.4288, allocations: 0 / 1.006 GB, free: 3.574 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0006016/0.4294, allocations: 7.938 kB / 1.006 GB, free: 3.566 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.02185/0.4513, allocations: 6.914 MB / 1.012 GB, free: 12.56 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/0.4514, allocations: 8.031 kB / 1.012 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004676/0.4561, allocations: 0.842 MB / 1.013 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005754/0.4618, allocations: 0.8422 MB / 1.014 GB, free: 10.85 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01843/0.4803, allocations: 5.961 MB / 1.02 GB, free: 4.828 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006371/0.481, allocations: 456.2 kB / 1.02 GB, free: 4.379 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003089/0.4841, allocations: 0.6053 MB / 1.021 GB, free: 3.773 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03232/0.5165, allocations: 8.825 MB / 1.029 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004807/0.517, allocations: 15.84 kB / 1.029 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002901/0.5199, allocations: 260 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002833/0.5202, allocations: 187.9 kB / 1.03 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02256/0.5428, allocations: 7.449 MB / 1.037 GB, free: 2.738 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.6838/1.227, allocations: 35.34 MB / 1.072 GB, free: 121.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01211/1.239, allocations: 4.467 MB / 1.076 GB, free: 121.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001433/1.24, allocations: 0.9803 MB / 1.077 GB, free: 120.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005392/1.246, allocations: 2.394 MB / 1.079 GB, free: 120.7 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004164/1.25, allocations: 473.5 kB / 1.08 GB, free: 120.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=329): time 2.279e-05/1.25, allocations: 1.438 kB / 1.08 GB, free: 120.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=329): time 0.01828/1.268, allocations: 7.259 MB / 1.087 GB, free: 119.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.214e-05/1.268, allocations: 90.33 kB / 1.087 GB, free: 119 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01796/1.286, allocations: 5.726 MB / 1.093 GB, free: 116.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.001156/1.288, allocations: 89.11 kB / 1.093 GB, free: 116.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.004441/1.292, allocations: 3.136 MB / 1.096 GB, free: 113.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002284/1.294, allocations: 1.161 MB / 1.097 GB, free: 112.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008582/1.295, allocations: 90.25 kB / 1.097 GB, free: 112.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0004935/1.296, allocations: 494.2 kB / 1.097 GB, free: 111.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004522/1.3, allocations: 2.185 MB / 1.1 GB, free: 110.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005381/1.306, allocations: 3.667 MB / 1.103 GB, free: 107.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00535/1.311, allocations: 2.943 MB / 1.106 GB, free: 106.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.96e-05/1.311, allocations: 12.97 kB / 1.106 GB, free: 106.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01582/1.327, allocations: 6.811 MB / 1.113 GB, free: 101.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001322/1.327, allocations: 53.92 kB / 1.113 GB, free: 101.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000111/1.327, allocations: 48 kB / 1.113 GB, free: 101.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/1.329, allocations: 438.5 kB / 1.113 GB, free: 101.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004583/1.333, allocations: 1.068 MB / 1.114 GB, free: 100.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00533/1.338, allocations: 5.315 MB / 1.119 GB, free: 94.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007468/1.346, allocations: 482.7 kB / 1.12 GB, free: 94.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001279/1.347, allocations: 220 kB / 1.12 GB, free: 93.84 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.007176/1.354, allocations: 2.457 MB / 1.122 GB, free: 91.37 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00279/1.357, allocations: 0.521 MB / 1.123 GB, free: 90.84 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01292/1.37, allocations: 5.383 MB / 1.128 GB, free: 85.42 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.119e-05/1.37, allocations: 32 kB / 1.128 GB, free: 85.39 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.197e-05/1.37, allocations: 8 kB / 1.128 GB, free: 85.38 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007779/1.378, allocations: 4.623 MB / 1.133 GB, free: 80.66 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.0385/1.417, allocations: 12.25 MB / 1.145 GB, free: 68.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.352e-05/1.417, allocations: 0 / 1.145 GB, free: 68.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004635/1.421, allocations: 0.6515 MB / 1.145 GB, free: 67.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001387/1.423, allocations: 371.9 kB / 1.146 GB, free: 67.28 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008206/1.424, allocations: 87.95 kB / 1.146 GB, free: 67.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007127/1.431, allocations: 5.236 MB / 1.151 GB, free: 61.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/1.431, allocations: 0 / 1.151 GB, free: 61.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01507/1.446, allocations: 7.891 MB / 1.159 GB, free: 53.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005563/1.452, allocations: 1.275 MB / 1.16 GB, free: 52.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002594/1.454, allocations: 71.98 kB / 1.16 GB, free: 52.33 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005432/1.46, allocations: 449.2 kB / 1.16 GB, free: 51.89 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004362/1.46, allocations: 214.4 kB / 1.161 GB, free: 51.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000313/1.461, allocations: 131.9 kB / 1.161 GB, free: 51.55 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.006465/1.467, allocations: 4.018 MB / 1.165 GB, free: 47.55 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.373e-06/1.467, allocations: 0 / 1.165 GB, free: 47.55 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.008785/1.476, allocations: 2.013 MB / 1.167 GB, free: 45.55 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.01302/1.489, allocations: 9.017 MB / 1.175 GB, free: 36.48 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.008227/1.497, allocations: 5.465 MB / 1.181 GB, free: 30.97 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-05/1.497, allocations: 4 kB / 1.181 GB, free: 30.96 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003855/1.501, allocations: 2.57 MB / 1.183 GB, free: 28.37 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01645/1.518, allocations: 3.182 MB / 1.186 GB, free: 25.25 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1811/1.699, allocations: 83.32 MB / 1.268 GB, free: 2.344 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008921/1.708, allocations: 4.723 MB / 1.272 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.01117/1.719, allocations: 2.051 MB / 1.274 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007597/1.727, allocations: 2.651 MB / 1.277 GB, free: 8.887 MB / 0.7761 GB Notification: Performance of SimCode: time 1.834e-06/1.727, allocations: 0 / 1.277 GB, free: 8.887 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.815/2.542, allocations: 169.6 MB / 1.443 GB, free: 258.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/2.542, allocations: 264.5 kB / 1.443 GB, free: 258.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.321/9.863, allocations: 4.062 kB / 1.443 GB, free: 258.6 MB / 0.8698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)