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.825/1.825, allocations: 285.4 MB / 298 MB, free: 5.988 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.001061/0.001061, allocations: 180.8 kB / 366.4 MB, free: 2.098 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.485/1.485, allocations: 205.1 MB / 0.6248 GB, free: 7.73 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008584/0.000858, allocations: 81.22 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.415e-05/5.445e-05, allocations: 7.984 kB / 0.8583 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.788/0.7881, allocations: 115.3 MB / 0.9709 GB, free: 78.06 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.199/1.987, allocations: 407.2 MB / 1.369 GB, free: 152.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/1.988, allocations: 90.27 kB / 1.369 GB, free: 152.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.997/10.99, allocations: 2.183 GB / 3.551 GB, free: 140.5 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.484e-06/10.99, allocations: 2.75 kB / 3.551 GB, free: 140.5 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001126/10.99, allocations: 191.8 kB / 3.551 GB, free: 140.4 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.02288/11.01, allocations: 6.105 MB / 3.557 GB, free: 138.4 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 7.172e-05/11.01, allocations: 10.16 kB / 3.557 GB, free: 138.4 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007638/11.02, allocations: 0.8467 MB / 3.558 GB, free: 138 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02202/11.04, allocations: 7.697 MB / 3.566 GB, free: 137.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004983/11.04, allocations: 459.8 kB / 3.566 GB, free: 137.2 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002558/11.04, allocations: 0.6071 MB / 3.567 GB, free: 137.2 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01717/11.06, allocations: 8.312 MB / 3.575 GB, free: 136.2 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001625/11.06, allocations: 18.42 kB / 3.575 GB, free: 136.2 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008942/11.06, allocations: 260 kB / 3.575 GB, free: 136.2 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001673/11.06, allocations: 187.6 kB / 3.575 GB, free: 136.2 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01677/11.08, allocations: 6.718 MB / 3.582 GB, free: 136.2 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or 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.06196/11.14, allocations: 34.21 MB / 3.615 GB, free: 121.4 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008036/11.15, allocations: 4.169 MB / 3.619 GB, free: 121.3 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006464/11.15, allocations: 3.463 MB / 3.623 GB, free: 121.2 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001521/11.16, allocations: 0.9565 MB / 3.624 GB, free: 120.3 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005568/11.16, allocations: 2.291 MB / 3.626 GB, free: 120.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004559/11.17, allocations: 486.1 kB / 3.626 GB, free: 119.9 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=317): time 1.973e-05/11.17, allocations: 2.219 kB / 3.626 GB, free: 119.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=317): time 0.00952/11.18, allocations: 4.52 MB / 3.631 GB, free: 119.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/11.18, allocations: 91.25 kB / 3.631 GB, free: 119.4 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01245/11.19, allocations: 5.139 MB / 3.636 GB, free: 118.5 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.001035/11.19, allocations: 89.58 kB / 3.636 GB, free: 118.4 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.004739/11.19, allocations: 3.149 MB / 3.639 GB, free: 116 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.002378/11.2, allocations: 1.119 MB / 3.64 GB, free: 115.2 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009057/11.2, allocations: 92.5 kB / 3.64 GB, free: 115.1 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0005183/11.2, allocations: 491.4 kB / 3.641 GB, free: 114.7 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004229/11.2, allocations: 2.048 MB / 3.643 GB, free: 114 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005508/11.21, allocations: 3.584 MB / 3.646 GB, free: 111.4 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004928/11.21, allocations: 2.829 MB / 3.649 GB, free: 110.4 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-05/11.21, allocations: 15.06 kB / 3.649 GB, free: 110.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01124/11.22, allocations: 6.534 MB / 3.655 GB, free: 108.3 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 8.458e-05/11.22, allocations: 52.89 kB / 3.655 GB, free: 108.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.052e-05/11.22, allocations: 54.83 kB / 3.655 GB, free: 108.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009611/11.22, allocations: 434.6 kB / 3.656 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003759/11.23, allocations: 1.037 MB / 3.657 GB, free: 108.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005279/11.23, allocations: 5.294 MB / 3.662 GB, free: 104.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008367/11.24, allocations: 470.4 kB / 3.663 GB, free: 104.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001051/11.24, allocations: 220.5 kB / 3.663 GB, free: 104.2 MB / 0.9636 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 () * 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.001185/11.24, allocations: 397 kB / 3.663 GB, free: 104 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001929/11.25, allocations: 0.52 MB / 3.664 GB, free: 103.7 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008553/11.25, allocations: 5.078 MB / 3.669 GB, free: 101.8 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.999e-05/11.26, allocations: 32.03 kB / 3.669 GB, free: 101.8 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/11.26, allocations: 7.781 kB / 3.669 GB, free: 101.8 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005288/11.26, allocations: 4.357 MB / 3.673 GB, free: 100.1 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or 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.02388/11.28, allocations: 11.81 MB / 3.684 GB, free: 95.56 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/11.28, allocations: 3.844 kB / 3.684 GB, free: 95.56 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002585/11.29, allocations: 0.624 MB / 3.685 GB, free: 95.51 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007586/11.29, allocations: 371.6 kB / 3.685 GB, free: 95.42 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002299/11.29, allocations: 84.56 kB / 3.685 GB, free: 95.38 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004497/11.29, allocations: 5.205 MB / 3.691 GB, free: 91.59 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/11.29, allocations: 3.062 kB / 3.691 GB, free: 91.59 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01072/11.3, allocations: 7.525 MB / 3.698 GB, free: 88.46 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004921/11.31, allocations: 1.26 MB / 3.699 GB, free: 87.79 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002015/11.31, allocations: 62.98 kB / 3.699 GB, free: 87.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005428/11.32, allocations: 413.8 kB / 3.7 GB, free: 87.68 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005118/11.32, allocations: 200.3 kB / 3.7 GB, free: 87.65 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003983/11.32, allocations: 141.7 kB / 3.7 GB, free: 87.62 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.008343/11.32, allocations: 3.994 MB / 3.704 GB, free: 86.21 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.72e-07/11.32, allocations: 0 / 3.704 GB, free: 86.21 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01007/11.34, allocations: 2.049 MB / 3.706 GB, free: 85.79 MB / 0.9636 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) * 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.002558/11.34, allocations: 0.8311 MB / 3.707 GB, free: 85.5 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.009111/11.35, allocations: 5.203 MB / 3.712 GB, free: 83.27 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/11.35, allocations: 4 kB / 3.712 GB, free: 83.26 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.003817/11.35, allocations: 2.418 MB / 3.714 GB, free: 81.06 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01944/11.37, allocations: 3.172 MB / 3.717 GB, free: 78.93 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0301/11.4, allocations: 11.62 MB / 3.729 GB, free: 68.9 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006326/11.41, allocations: 4.729 MB / 3.733 GB, free: 65.34 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.008364/11.41, allocations: 2.014 MB / 3.735 GB, free: 63.96 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002237/11.42, allocations: 473.6 kB / 3.736 GB, free: 63.54 MB / 0.9636 GB Notification: Performance of SimCode: time 1.022e-06/11.42, allocations: 0 / 3.736 GB, free: 63.54 MB / 0.9636 GB Notification: Performance of Templates: time 0.9453/12.36, allocations: 119.4 MB / 3.852 GB, free: 110.1 MB / 0.9792 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)