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: 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.302/1.302, allocations: 252 MB / 267.9 MB, free: 10.93 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.001029/0.001029, allocations: 178.1 kB / 327.5 MB, free: 2.168 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.527/1.527, allocations: 205.4 MB / 0.5785 GB, free: 20.17 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.0008411/0.000841, allocations: 96.84 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003325/0.0003326, allocations: 13.66 kB / 0.7974 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1672, allocations: 106.3 MB / 0.9012 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7561/0.9233, allocations: 399.8 MB / 1.292 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/0.9236, allocations: 95.19 kB / 1.292 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.359/7.282, allocations: 2.12 GB / 3.412 GB, free: 31.5 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.625e-06/7.282, allocations: 0 / 3.412 GB, free: 31.5 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001105/7.283, allocations: 187.8 kB / 3.412 GB, free: 31.32 MB / 0.9011 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.02246/7.306, allocations: 7.142 MB / 3.419 GB, free: 24.08 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/7.306, allocations: 8.031 kB / 3.419 GB, free: 24.07 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005265/7.311, allocations: 0.8432 MB / 3.42 GB, free: 23.22 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01668/7.328, allocations: 7.467 MB / 3.427 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004883/7.328, allocations: 460.6 kB / 3.427 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002487/7.331, allocations: 0.5978 MB / 3.428 GB, free: 14.63 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02099/7.352, allocations: 8.387 MB / 3.436 GB, free: 5.949 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003521/7.352, allocations: 23.8 kB / 3.436 GB, free: 5.926 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002012/7.354, allocations: 260 kB / 3.436 GB, free: 5.672 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001512/7.354, allocations: 176 kB / 3.436 GB, free: 5.5 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4994/7.854, allocations: 6.928 MB / 3.443 GB, free: 112.4 MB / 0.9011 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.04765/7.902, allocations: 33.15 MB / 3.476 GB, free: 99.2 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005374/7.907, allocations: 4.335 MB / 3.48 GB, free: 99.13 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004263/7.911, allocations: 3.547 MB / 3.483 GB, free: 99.08 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001112/7.912, allocations: 0.9621 MB / 3.484 GB, free: 98.14 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003531/7.916, allocations: 2.355 MB / 3.487 GB, free: 98.03 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003962/7.92, allocations: 452.4 kB / 3.487 GB, free: 97.92 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=329): time 9.658e-06/7.92, allocations: 0 / 3.487 GB, free: 97.92 MB / 0.9011 GB Notification: Performance of matching and sorting (n=329): time 0.01151/7.931, allocations: 7.131 MB / 3.494 GB, free: 97.3 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/7.932, allocations: 85.28 kB / 3.494 GB, free: 97.23 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007119/7.939, allocations: 5.335 MB / 3.499 GB, free: 96.89 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0005586/7.939, allocations: 84.52 kB / 3.499 GB, free: 96.86 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.002694/7.942, allocations: 3.131 MB / 3.502 GB, free: 95.97 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.001286/7.943, allocations: 1.162 MB / 3.504 GB, free: 95.39 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002192/7.943, allocations: 90.25 kB / 3.504 GB, free: 95.39 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002481/7.944, allocations: 498.4 kB / 3.504 GB, free: 95.08 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002875/7.947, allocations: 2.129 MB / 3.506 GB, free: 95.06 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004346/7.951, allocations: 3.649 MB / 3.51 GB, free: 93.29 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006503/7.957, allocations: 6.235 MB / 3.516 GB, free: 91.5 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.852e-05/7.958, allocations: 14.88 kB / 3.516 GB, free: 91.5 MB / 0.9011 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.009302/7.967, allocations: 6.699 MB / 3.522 GB, free: 91.05 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 5.498e-05/7.967, allocations: 54.33 kB / 3.522 GB, free: 91.02 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-05/7.967, allocations: 48.31 kB / 3.522 GB, free: 91.02 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000822/7.968, allocations: 433.4 kB / 3.523 GB, free: 91.01 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003072/7.971, allocations: 0.9906 MB / 3.524 GB, free: 91.01 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004277/7.975, allocations: 5.315 MB / 3.529 GB, free: 88.31 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005662/7.981, allocations: 459.1 kB / 3.529 GB, free: 88.28 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004246/7.981, allocations: 220.9 kB / 3.53 GB, free: 88.28 MB / 0.9011 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.004535/7.986, allocations: 2.46 MB / 3.532 GB, free: 88.14 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001283/7.987, allocations: 0.5212 MB / 3.533 GB, free: 87.88 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007558/7.995, allocations: 5.257 MB / 3.538 GB, free: 87.64 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.508e-05/7.995, allocations: 36.69 kB / 3.538 GB, free: 87.64 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/7.995, allocations: 11.75 kB / 3.538 GB, free: 87.64 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00558/8, allocations: 4.525 MB / 3.542 GB, free: 87.18 MB / 0.9011 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.02112/8.021, allocations: 11.94 MB / 3.554 GB, free: 86.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/8.021, allocations: 3.656 kB / 3.554 GB, free: 86.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002519/8.024, allocations: 0.6675 MB / 3.555 GB, free: 86.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006655/8.025, allocations: 368.2 kB / 3.555 GB, free: 86.28 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002104/8.025, allocations: 86.91 kB / 3.555 GB, free: 86.28 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004005/8.029, allocations: 5.229 MB / 3.56 GB, free: 83.56 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/8.029, allocations: 3.938 kB / 3.56 GB, free: 83.56 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009833/8.039, allocations: 7.678 MB / 3.568 GB, free: 82.92 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003284/8.042, allocations: 1.191 MB / 3.569 GB, free: 82.55 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007685/8.043, allocations: 67.78 kB / 3.569 GB, free: 82.55 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002968/8.046, allocations: 447.9 kB / 3.569 GB, free: 82.53 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003867/8.046, allocations: 209.7 kB / 3.569 GB, free: 82.52 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002397/8.046, allocations: 128.6 kB / 3.57 GB, free: 82.52 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.004883/8.051, allocations: 3.705 MB / 3.573 GB, free: 82.34 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.102e-06/8.051, allocations: 1.969 kB / 3.573 GB, free: 82.34 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.00565/8.057, allocations: 2.038 MB / 3.575 GB, free: 82.1 MB / 0.9011 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.001454/8.059, allocations: 0.7962 MB / 3.576 GB, free: 81.95 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.006857/8.065, allocations: 5.384 MB / 3.581 GB, free: 81.56 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/8.065, allocations: 0 / 3.581 GB, free: 81.56 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.002809/8.068, allocations: 2.528 MB / 3.584 GB, free: 81.3 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0141/8.082, allocations: 3.187 MB / 3.587 GB, free: 81.27 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02388/8.106, allocations: 16.32 MB / 3.603 GB, free: 75.66 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004393/8.111, allocations: 4.604 MB / 3.607 GB, free: 74.8 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.007633/8.118, allocations: 2.01 MB / 3.609 GB, free: 74.75 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001485/8.12, allocations: 462.7 kB / 3.61 GB, free: 74.75 MB / 0.9011 GB Notification: Performance of SimCode: time 1.032e-06/8.12, allocations: 2.688 kB / 3.61 GB, free: 74.75 MB / 0.9011 GB Notification: Performance of Templates: time 0.1624/8.282, allocations: 117.5 MB / 3.724 GB, free: 31.48 MB / 0.9011 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)