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.001192/0.001192, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01098/0.01098, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.578/1.578, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.647/1.647, allocations: 252 MB / 0.5105 GB, free: 4.695 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.0006015/0.0006016, allocations: 16.52 kB / 0.6249 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5798/0.5804, allocations: 106.3 MB / 0.7287 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04839/0.6288, allocations: 54.55 MB / 0.782 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0251/0.654, allocations: 17.62 MB / 0.7992 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003718/0.6577, allocations: 67.56 kB / 0.7993 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003255/0.661, allocations: 0.7263 MB / 0.8 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.009646/0.6707, allocations: 2.29 MB / 0.8022 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005149/0.6759, allocations: 1.339 MB / 0.8035 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.029/0.7049, allocations: 27.68 MB / 0.8305 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01313/0.7181, allocations: 8.386 MB / 0.8387 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01344/0.7315, allocations: 5.209 MB / 0.8438 GB, free: 5.02 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01329/0.7449, allocations: 5.799 MB / 0.8495 GB, free: 15.2 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001785/0.7467, allocations: 344 kB / 0.8498 GB, free: 14.86 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006399/0.7531, allocations: 1.026 MB / 0.8508 GB, free: 13.83 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.003198/0.7563, allocations: 1.583 MB / 0.8524 GB, free: 12.24 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.01156/0.7679, allocations: 3.854 MB / 0.8561 GB, free: 8.363 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0164/0.7844, allocations: 12.16 MB / 0.868 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.548e-05/0.7844, allocations: 7.938 kB / 0.868 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.156e-06/0.7844, allocations: 0 / 0.868 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0004835/0.7849, allocations: 0 / 0.868 GB, free: 12.15 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.01793/0.8028, allocations: 6.843 MB / 0.8747 GB, free: 5.219 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.8029, allocations: 8.031 kB / 0.8747 GB, free: 5.211 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005019/0.8079, allocations: 0.8431 MB / 0.8755 GB, free: 4.359 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01384/0.8218, allocations: 6.549 MB / 0.8819 GB, free: 13.74 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004363/0.8223, allocations: 460.4 kB / 0.8824 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002337/0.8246, allocations: 0.6014 MB / 0.8829 GB, free: 12.69 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02117/0.8458, allocations: 8.923 MB / 0.8917 GB, free: 3.469 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001515/0.846, allocations: 19.84 kB / 0.8917 GB, free: 3.449 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007335/0.8468, allocations: 264 kB / 0.8919 GB, free: 3.191 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001753/0.8469, allocations: 175.9 kB / 0.8921 GB, free: 3.02 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01593/0.8629, allocations: 7.504 MB / 0.8994 GB, free: 11.5 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.63/1.493, allocations: 35.1 MB / 0.9337 GB, free: 144.2 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006978/1.5, allocations: 4.43 MB / 0.938 GB, free: 142.1 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004984/1.505, allocations: 3.379 MB / 0.9413 GB, free: 140.6 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001165/1.506, allocations: 0.9862 MB / 0.9423 GB, free: 139.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004042/1.51, allocations: 2.392 MB / 0.9446 GB, free: 138.2 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004206/1.514, allocations: 447.7 kB / 0.9451 GB, free: 137.9 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=329): time 1.33e-05/1.515, allocations: 0 / 0.9451 GB, free: 137.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=329): time 0.01245/1.527, allocations: 7.251 MB / 0.9521 GB, free: 134.1 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/1.527, allocations: 89.25 kB / 0.9522 GB, free: 134.1 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008028/1.535, allocations: 5.355 MB / 0.9575 GB, free: 129.3 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0008132/1.536, allocations: 85.7 kB / 0.9575 GB, free: 129.3 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002536/1.538, allocations: 3.139 MB / 0.9606 GB, free: 126.1 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001545/1.54, allocations: 1.158 MB / 0.9617 GB, free: 125 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004412/1.54, allocations: 367.5 kB / 0.9621 GB, free: 124.6 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.699e-05/1.541, allocations: 309.1 kB / 0.9624 GB, free: 124.3 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002813/1.543, allocations: 2.187 MB / 0.9645 GB, free: 122.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003252/1.547, allocations: 3.68 MB / 0.9681 GB, free: 117.7 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006443/1.553, allocations: 6.331 MB / 0.9743 GB, free: 110.7 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-05/1.553, allocations: 16 kB / 0.9743 GB, free: 110.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.009522/1.563, allocations: 6.813 MB / 0.981 GB, free: 103.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.147e-05/1.563, allocations: 49.7 kB / 0.981 GB, free: 103.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.463e-05/1.563, allocations: 48.88 kB / 0.9811 GB, free: 103.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008796/1.564, allocations: 431 kB / 0.9815 GB, free: 103.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003131/1.567, allocations: 1.026 MB / 0.9825 GB, free: 102.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004351/1.571, allocations: 5.261 MB / 0.9876 GB, free: 96.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006082/1.577, allocations: 474.8 kB / 0.9881 GB, free: 96.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005409/1.578, allocations: 212 kB / 0.9883 GB, free: 96.09 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.004547/1.582, allocations: 2.455 MB / 0.9907 GB, free: 93.62 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001508/1.584, allocations: 0.5179 MB / 0.9912 GB, free: 93.1 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007855/1.592, allocations: 5.36 MB / 0.9964 GB, free: 87.7 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.416e-05/1.592, allocations: 32 kB / 0.9964 GB, free: 87.66 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/1.592, allocations: 8 kB / 0.9964 GB, free: 87.66 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005487/1.597, allocations: 4.617 MB / 1.001 GB, free: 82.94 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.02536/1.623, allocations: 12.06 MB / 1.013 GB, free: 70.78 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/1.623, allocations: 0 / 1.013 GB, free: 70.78 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002666/1.625, allocations: 0.6711 MB / 1.013 GB, free: 70.11 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000766/1.626, allocations: 381.1 kB / 1.014 GB, free: 69.73 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002533/1.626, allocations: 83.95 kB / 1.014 GB, free: 69.65 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004258/1.631, allocations: 5.168 MB / 1.019 GB, free: 64.22 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/1.631, allocations: 0 / 1.019 GB, free: 64.22 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01116/1.642, allocations: 7.755 MB / 1.026 GB, free: 56.37 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003945/1.646, allocations: 1.197 MB / 1.028 GB, free: 55.15 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001812/1.648, allocations: 71.98 kB / 1.028 GB, free: 55.08 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005483/1.653, allocations: 473.1 kB / 1.028 GB, free: 54.62 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005236/1.654, allocations: 206.3 kB / 1.028 GB, free: 54.41 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004167/1.654, allocations: 131.9 kB / 1.028 GB, free: 54.29 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.008543/1.663, allocations: 3.733 MB / 1.032 GB, free: 50.57 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.61e-07/1.663, allocations: 4 kB / 1.032 GB, free: 50.57 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0084/1.671, allocations: 1.982 MB / 1.034 GB, free: 48.6 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.001644/1.673, allocations: 488.2 kB / 1.035 GB, free: 48.16 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.008717/1.682, allocations: 5.458 MB / 1.04 GB, free: 42.65 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.739e-06/1.682, allocations: 320 / 1.04 GB, free: 42.65 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003852/1.686, allocations: 2.562 MB / 1.042 GB, free: 40.06 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0214/1.707, allocations: 3.229 MB / 1.045 GB, free: 36.89 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03206/1.739, allocations: 16.88 MB / 1.062 GB, free: 19.95 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004411/1.744, allocations: 4.614 MB / 1.066 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.007622/1.751, allocations: 1.984 MB / 1.068 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002338/1.754, allocations: 459.2 kB / 1.069 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of SimCode: time 1.784e-06/1.754, allocations: 0 / 1.069 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of Templates: time 0.211/1.965, allocations: 114.5 MB / 1.181 GB, free: 11.43 MB / 0.8262 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: