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.244/1.244, allocations: 251.5 MB / 266.7 MB, free: 11.02 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.0008345/0.0008346, allocations: 178 kB / 325.8 MB, free: 2.668 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.303/1.303, allocations: 205 MB / 0.576 GB, free: 20.59 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.0007455/0.0007455, allocations: 84.86 kB / 0.6797 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000289/0.000289, allocations: 12.94 kB / 0.7933 GB, free: 136.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1482, allocations: 105.4 MB / 0.8962 GB, free: 67.56 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.03228/0.1805, allocations: 55.33 MB / 0.9502 GB, free: 12.03 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01697/0.1975, allocations: 17.82 MB / 0.9676 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001989/0.1995, allocations: 67.56 kB / 0.9677 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001779/0.2013, allocations: 0.7224 MB / 0.9684 GB, free: 9.367 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005149/0.2065, allocations: 2.307 MB / 0.9707 GB, free: 7.047 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00268/0.2092, allocations: 1.331 MB / 0.972 GB, free: 5.723 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.02133/0.2305, allocations: 27.67 MB / 0.999 GB, free: 9.977 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01036/0.2409, allocations: 8.311 MB / 1.007 GB, free: 1.547 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01054/0.2515, allocations: 5.33 MB / 1.012 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008492/0.26, allocations: 5.799 MB / 1.018 GB, free: 6.371 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001397/0.2615, allocations: 352 kB / 1.018 GB, free: 6.027 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00422/0.2657, allocations: 1.026 MB / 1.019 GB, free: 5 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.001858/0.2676, allocations: 1.576 MB / 1.021 GB, free: 3.418 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.005919/0.2735, allocations: 3.829 MB / 1.025 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01219/0.2857, allocations: 12.16 MB / 1.036 GB, free: 3.367 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.2857, allocations: 0 / 1.036 GB, free: 3.367 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.575e-06/0.2858, allocations: 0 / 1.036 GB, free: 3.367 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003518/0.2861, allocations: 0 / 1.036 GB, free: 3.367 MB / 0.6823 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.0136/0.2997, allocations: 6.85 MB / 1.043 GB, free: 12.43 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.2998, allocations: 8.031 kB / 1.043 GB, free: 12.42 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002232/0.302, allocations: 0.8383 MB / 1.044 GB, free: 11.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002875/0.3049, allocations: 0.8431 MB / 1.045 GB, free: 10.72 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01138/0.3163, allocations: 6.549 MB / 1.051 GB, free: 4.105 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000423/0.3168, allocations: 464.3 kB / 1.052 GB, free: 3.648 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001806/0.3186, allocations: 0.5975 MB / 1.052 GB, free: 3.051 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3252/0.6438, allocations: 8.919 MB / 1.061 GB, free: 140.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001568/0.644, allocations: 21.53 kB / 1.061 GB, free: 140.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007173/0.6447, allocations: 257.7 kB / 1.061 GB, free: 140.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001339/0.6448, allocations: 181.2 kB / 1.061 GB, free: 140.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01543/0.6603, allocations: 7.496 MB / 1.069 GB, free: 139.8 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 preOpt removeSimpleEquations (simulation): time 0.03405/0.6944, allocations: 35.12 MB / 1.103 GB, free: 113.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004724/0.6991, allocations: 4.414 MB / 1.107 GB, free: 110.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003415/0.7026, allocations: 3.376 MB / 1.111 GB, free: 107.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009309/0.7035, allocations: 0.9947 MB / 1.112 GB, free: 106.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002649/0.7062, allocations: 2.386 MB / 1.114 GB, free: 104.3 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002021/0.7082, allocations: 444.8 kB / 1.114 GB, free: 103.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=329): time 5.721e-06/0.7082, allocations: 3.938 kB / 1.114 GB, free: 103.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=329): time 0.009486/0.7177, allocations: 7.259 MB / 1.121 GB, free: 96.48 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.7178, allocations: 86.94 kB / 1.121 GB, free: 96.38 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005189/0.723, allocations: 5.348 MB / 1.127 GB, free: 91.05 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002955/0.7233, allocations: 93.69 kB / 1.127 GB, free: 90.95 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001691/0.725, allocations: 3.135 MB / 1.13 GB, free: 87.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007589/0.7257, allocations: 1.166 MB / 1.131 GB, free: 86.64 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003393/0.7261, allocations: 367.5 kB / 1.131 GB, free: 86.28 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 3.132e-05/0.7261, allocations: 304.3 kB / 1.132 GB, free: 85.98 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00243/0.7286, allocations: 2.191 MB / 1.134 GB, free: 83.78 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002902/0.7315, allocations: 3.683 MB / 1.137 GB, free: 79.43 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005633/0.7371, allocations: 6.323 MB / 1.144 GB, free: 72.41 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.989e-05/0.7372, allocations: 16 kB / 1.144 GB, free: 72.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.008235/0.7454, allocations: 6.817 MB / 1.15 GB, free: 65.53 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.657e-05/0.7455, allocations: 49.7 kB / 1.15 GB, free: 65.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.25e-05/0.7455, allocations: 51.94 kB / 1.15 GB, free: 65.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007692/0.7463, allocations: 439.5 kB / 1.151 GB, free: 65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002877/0.7492, allocations: 1.018 MB / 1.152 GB, free: 63.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003727/0.7529, allocations: 5.257 MB / 1.157 GB, free: 58.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004244/0.7572, allocations: 466.8 kB / 1.157 GB, free: 58 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003875/0.7576, allocations: 220 kB / 1.158 GB, free: 57.79 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 (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.002931/0.7605, allocations: 2.455 MB / 1.16 GB, free: 55.32 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009588/0.7615, allocations: 0.5171 MB / 1.16 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006632/0.7681, allocations: 5.358 MB / 1.166 GB, free: 49.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.018e-05/0.7682, allocations: 36 kB / 1.166 GB, free: 49.36 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.7682, allocations: 4 kB / 1.166 GB, free: 49.36 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004863/0.773, allocations: 4.61 MB / 1.17 GB, free: 44.65 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.01505/0.7881, allocations: 12.08 MB / 1.182 GB, free: 32.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/0.7881, allocations: 4 kB / 1.182 GB, free: 32.47 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002314/0.7905, allocations: 0.679 MB / 1.183 GB, free: 31.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006439/0.7911, allocations: 365.3 kB / 1.183 GB, free: 31.43 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001717/0.7913, allocations: 95.89 kB / 1.183 GB, free: 31.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003482/0.7948, allocations: 5.172 MB / 1.188 GB, free: 25.91 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.7948, allocations: 0 / 1.188 GB, free: 25.91 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008353/0.8032, allocations: 7.75 MB / 1.196 GB, free: 18.06 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002245/0.8054, allocations: 1.115 MB / 1.197 GB, free: 16.92 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007383/0.8062, allocations: 63.98 kB / 1.197 GB, free: 16.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003012/0.8092, allocations: 477.3 kB / 1.197 GB, free: 16.39 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003553/0.8095, allocations: 214.2 kB / 1.198 GB, free: 16.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002135/0.8098, allocations: 127.9 kB / 1.198 GB, free: 16.06 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003827/0.8136, allocations: 3.733 MB / 1.201 GB, free: 12.34 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8136, allocations: 4 kB / 1.201 GB, free: 12.34 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00404/0.8177, allocations: 1.982 MB / 1.203 GB, free: 10.37 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 (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.008919/0.8266, allocations: 8.692 MB / 1.212 GB, free: 1.625 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00679/0.8334, allocations: 5.45 MB / 1.217 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.8334, allocations: 3.984 kB / 1.217 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003126/0.8365, allocations: 2.561 MB / 1.22 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0131/0.8497, allocations: 3.237 MB / 1.223 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1211/0.9708, allocations: 65.27 MB / 1.286 GB, free: 15.4 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003663/0.9745, allocations: 4.603 MB / 1.291 GB, free: 10.76 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.005439/0.98, allocations: 1.985 MB / 1.293 GB, free: 8.777 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003268/0.9832, allocations: 2.651 MB / 1.295 GB, free: 6.125 MB / 0.7917 GB Notification: Performance of SimCode: time 7.21e-07/0.9833, allocations: 0 / 1.295 GB, free: 6.125 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.08/2.063, allocations: 157.3 MB / 1.449 GB, free: 244.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001627/2.064, allocations: 290.1 kB / 1.449 GB, free: 243.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.095/8.158, allocations: 0 / 1.449 GB, free: 243.7 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)