Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.743/1.743, allocations: 288.3 MB / 303.2 MB, free: 8.152 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00129/0.00129, allocations: 186.3 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.857/1.857, allocations: 205.4 MB / 0.6306 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009925/0.0009925, allocations: 94.84 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004671/0.000467, allocations: 15.06 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2795, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.028/1.308, allocations: 407.3 MB / 1.377 GB, free: 5.727 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002974/1.308, allocations: 89.08 kB / 1.377 GB, free: 5.68 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 8.008/9.317, allocations: 2.188 GB / 3.565 GB, free: 26.48 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.405e-06/9.317, allocations: 0 / 3.565 GB, free: 26.48 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001051/9.318, allocations: 187.8 kB / 3.565 GB, free: 26.29 MB / 0.9636 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.02566/9.343, allocations: 7.211 MB / 3.573 GB, free: 18.99 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/9.343, allocations: 8.031 kB / 3.573 GB, free: 18.98 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007151/9.351, allocations: 0.8539 MB / 3.573 GB, free: 18.12 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02045/9.371, allocations: 7.722 MB / 3.581 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004953/9.372, allocations: 468.1 kB / 3.581 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002763/9.374, allocations: 0.5975 MB / 3.582 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0225/9.397, allocations: 8.444 MB / 3.59 GB, free: 0.4961 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002217/9.397, allocations: 19.86 kB / 3.59 GB, free: 488 kB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001363/9.398, allocations: 263.9 kB / 3.59 GB, free: 224 kB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001577/9.399, allocations: 184 kB / 3.591 GB, free: 40 kB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.385/10.78, allocations: 6.892 MB / 3.597 GB, free: 126.2 MB / 0.9637 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.08564/10.87, allocations: 34.21 MB / 3.631 GB, free: 112 MB / 0.9637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009328/10.88, allocations: 4.264 MB / 3.635 GB, free: 112 MB / 0.9637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001572/10.88, allocations: 0.9563 MB / 3.636 GB, free: 111 MB / 0.9637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006353/10.89, allocations: 2.358 MB / 3.638 GB, free: 110.9 MB / 0.9637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005583/10.89, allocations: 484.8 kB / 3.639 GB, free: 110.8 MB / 0.9637 GB Notification: Performance of pre-optimization done (n=317): time 3.266e-05/10.89, allocations: 0.9375 kB / 3.639 GB, free: 110.8 MB / 0.9637 GB Notification: Performance of matching and sorting (n=317): time 0.02124/10.91, allocations: 7.065 MB / 3.646 GB, free: 110.2 MB / 0.9637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/10.91, allocations: 91.42 kB / 3.646 GB, free: 110.1 MB / 0.9637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01782/10.93, allocations: 5.2 MB / 3.651 GB, free: 109.8 MB / 0.9637 GB Notification: Performance of collectPreVariables (initialization): time 0.001323/10.93, allocations: 91.05 kB / 3.651 GB, free: 109.7 MB / 0.9637 GB Notification: Performance of collectInitialEqns (initialization): time 0.004623/10.94, allocations: 3.144 MB / 3.654 GB, free: 108.8 MB / 0.9637 GB Notification: Performance of collectInitialBindings (initialization): time 0.002243/10.94, allocations: 1.117 MB / 3.655 GB, free: 108.3 MB / 0.9637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004195/10.94, allocations: 93.78 kB / 3.655 GB, free: 108.3 MB / 0.9637 GB Notification: Performance of setup shared object (initialization): time 0.000357/10.94, allocations: 491.4 kB / 3.656 GB, free: 108 MB / 0.9637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00432/10.94, allocations: 2.127 MB / 3.658 GB, free: 108 MB / 0.9637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005575/10.95, allocations: 3.661 MB / 3.661 GB, free: 106.1 MB / 0.9637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005784/10.96, allocations: 2.891 MB / 3.664 GB, free: 106.1 MB / 0.9637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-05/10.96, allocations: 12.84 kB / 3.664 GB, free: 106.1 MB / 0.9637 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01522/10.97, allocations: 6.694 MB / 3.671 GB, free: 105.6 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001691/10.97, allocations: 61.2 kB / 3.671 GB, free: 105.6 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001133/10.97, allocations: 49.88 kB / 3.671 GB, free: 105.6 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/10.97, allocations: 433.1 kB / 3.671 GB, free: 105.6 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00489/10.98, allocations: 1.032 MB / 3.672 GB, free: 105.6 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006056/10.98, allocations: 5.405 MB / 3.677 GB, free: 102.9 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01031/10.99, allocations: 483.7 kB / 3.678 GB, free: 102.8 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001857/11, allocations: 215.9 kB / 3.678 GB, free: 102.8 MB / 0.9637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * 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 (540): * Single equations (assignments): 537 * 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.008284/11, allocations: 2.46 MB / 3.68 GB, free: 102.7 MB / 0.9637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003163/11.01, allocations: 0.5132 MB / 3.681 GB, free: 102.4 MB / 0.9637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01479/11.02, allocations: 5.218 MB / 3.686 GB, free: 102.2 MB / 0.9637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.458e-05/11.02, allocations: 32.89 kB / 3.686 GB, free: 102.2 MB / 0.9637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.352e-05/11.02, allocations: 7.703 kB / 3.686 GB, free: 102.2 MB / 0.9637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008589/11.03, allocations: 4.5 MB / 3.69 GB, free: 101.8 MB / 0.9637 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.03976/11.07, allocations: 11.8 MB / 3.702 GB, free: 101 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-05/11.07, allocations: 0 / 3.702 GB, free: 101 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003508/11.07, allocations: 0.621 MB / 3.703 GB, free: 101 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001005/11.08, allocations: 367.1 kB / 3.703 GB, free: 101 MB / 0.9637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008725/11.08, allocations: 81.42 kB / 3.703 GB, free: 101 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005699/11.08, allocations: 5.313 MB / 3.708 GB, free: 98.27 MB / 0.9637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/11.08, allocations: 10.22 kB / 3.708 GB, free: 98.27 MB / 0.9637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01674/11.1, allocations: 7.725 MB / 3.716 GB, free: 97.49 MB / 0.9637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006754/11.11, allocations: 1.261 MB / 3.717 GB, free: 97.12 MB / 0.9637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003017/11.11, allocations: 61.48 kB / 3.717 GB, free: 97.12 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007417/11.12, allocations: 421.9 kB / 3.717 GB, free: 97.11 MB / 0.9637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009778/11.12, allocations: 197.3 kB / 3.718 GB, free: 97.11 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00105/11.12, allocations: 145.1 kB / 3.718 GB, free: 97.11 MB / 0.9637 GB Notification: Performance of sorting global known variables: time 0.01125/11.13, allocations: 4.038 MB / 3.722 GB, free: 96.93 MB / 0.9637 GB Notification: Performance of sort global known variables: time 7.71e-07/11.13, allocations: 0 / 3.722 GB, free: 96.93 MB / 0.9637 GB Notification: Performance of remove unused functions: time 0.01339/11.14, allocations: 2.056 MB / 3.724 GB, free: 96.7 MB / 0.9637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (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,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 (296): * Single equations (assignments): 289 * 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.003703/11.15, allocations: 0.8364 MB / 3.725 GB, free: 96.55 MB / 0.9637 GB Notification: Performance of simCode: created initialization part: time 0.01204/11.16, allocations: 5.354 MB / 3.73 GB, free: 96.16 MB / 0.9637 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-05/11.16, allocations: 9.859 kB / 3.73 GB, free: 96.16 MB / 0.9637 GB Notification: Performance of simCode: created simulation system equations: time 0.005647/11.16, allocations: 2.493 MB / 3.732 GB, free: 95.89 MB / 0.9637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0216/11.19, allocations: 3.173 MB / 3.735 GB, free: 95.87 MB / 0.9637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04748/11.23, allocations: 15.98 MB / 3.751 GB, free: 90.32 MB / 0.9637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01405/11.25, allocations: 4.723 MB / 3.756 GB, free: 89.46 MB / 0.9637 GB Notification: Performance of simCode: alias equations: time 0.01323/11.26, allocations: 2.055 MB / 3.758 GB, free: 89.41 MB / 0.9637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003895/11.27, allocations: 464.4 kB / 3.758 GB, free: 89.4 MB / 0.9637 GB Notification: Performance of SimCode: time 1.923e-06/11.27, allocations: 0 / 3.758 GB, free: 89.4 MB / 0.9637 GB Notification: Performance of Templates: time 0.2339/11.5, allocations: 117.5 MB / 3.873 GB, free: 55.43 MB / 0.9637 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)