Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.608/1.608, allocations: 289.7 MB / 302.2 MB, free: 2.18 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.00103/0.00103, allocations: 177.8 kB / 371.6 MB, free: 3.391 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.488/1.488, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0008282/0.0008282, allocations: 87.95 kB / 0.745 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.704e-05/4.718e-05, allocations: 4 kB / 0.8662 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2554, allocations: 116.3 MB / 0.9798 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.102/1.358, allocations: 408.2 MB / 1.378 GB, free: 4.875 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/1.358, allocations: 89.05 kB / 1.379 GB, free: 4.832 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.3/11.66, allocations: 2.183 GB / 3.561 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.617e-06/11.66, allocations: 2.312 kB / 3.561 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001469/11.66, allocations: 187.6 kB / 3.561 GB, free: 106.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.02989/11.69, allocations: 6.102 MB / 3.567 GB, free: 104.6 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.078e-05/11.69, allocations: 9.25 kB / 3.567 GB, free: 104.6 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007961/11.7, allocations: 0.8455 MB / 3.568 GB, free: 104.2 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02656/11.73, allocations: 7.706 MB / 3.576 GB, free: 103.4 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000614/11.73, allocations: 463.8 kB / 3.576 GB, free: 103.4 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003497/11.73, allocations: 0.5954 MB / 3.577 GB, free: 103.4 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02723/11.76, allocations: 8.313 MB / 3.585 GB, free: 102.4 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002955/11.76, allocations: 21.69 kB / 3.585 GB, free: 102.4 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00189/11.76, allocations: 262.6 kB / 3.585 GB, free: 102.4 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002048/11.76, allocations: 184.2 kB / 3.585 GB, free: 102.4 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02076/11.78, allocations: 6.725 MB / 3.592 GB, free: 102.4 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.06578/11.85, allocations: 34.21 MB / 3.625 GB, free: 87.59 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006548/11.85, allocations: 4.179 MB / 3.629 GB, free: 87.55 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00492/11.86, allocations: 3.458 MB / 3.633 GB, free: 87.48 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001335/11.86, allocations: 0.9591 MB / 3.634 GB, free: 86.54 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004517/11.86, allocations: 2.286 MB / 3.636 GB, free: 86.43 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00615/11.87, allocations: 483.3 kB / 3.636 GB, free: 86.2 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=317): time 3.951e-05/11.87, allocations: 1.844 kB / 3.636 GB, free: 86.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=317): time 0.01215/11.88, allocations: 4.515 MB / 3.641 GB, free: 85.79 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.733e-05/11.88, allocations: 87.05 kB / 3.641 GB, free: 85.72 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01248/11.9, allocations: 5.149 MB / 3.646 GB, free: 85.35 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.001221/11.9, allocations: 86.48 kB / 3.646 GB, free: 85.32 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.003923/11.9, allocations: 3.15 MB / 3.649 GB, free: 84.07 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.002234/11.9, allocations: 1.122 MB / 3.65 GB, free: 83.38 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003699/11.9, allocations: 87.16 kB / 3.65 GB, free: 83.38 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000364/11.9, allocations: 495 kB / 3.651 GB, free: 83.06 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003948/11.91, allocations: 2.045 MB / 3.653 GB, free: 83.05 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004115/11.91, allocations: 3.585 MB / 3.656 GB, free: 81.21 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004706/11.92, allocations: 2.827 MB / 3.659 GB, free: 81.12 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.171e-05/11.92, allocations: 17.34 kB / 3.659 GB, free: 81.12 MB / 0.9636 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01456/11.93, allocations: 6.53 MB / 3.665 GB, free: 80.69 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.621e-05/11.93, allocations: 53.58 kB / 3.665 GB, free: 80.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001067/11.93, allocations: 51.78 kB / 3.665 GB, free: 80.66 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/11.93, allocations: 439.9 kB / 3.666 GB, free: 80.64 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004557/11.94, allocations: 1.034 MB / 3.667 GB, free: 80.64 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005973/11.94, allocations: 5.298 MB / 3.672 GB, free: 77.92 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008918/11.95, allocations: 481.1 kB / 3.672 GB, free: 77.87 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001484/11.95, allocations: 218.8 kB / 3.673 GB, free: 77.87 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.001299/11.95, allocations: 390.2 kB / 3.673 GB, free: 77.73 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002404/11.96, allocations: 0.5221 MB / 3.673 GB, free: 77.46 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01082/11.97, allocations: 5.075 MB / 3.678 GB, free: 77.23 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.487e-05/11.97, allocations: 35.08 kB / 3.678 GB, free: 77.23 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.576e-05/11.97, allocations: 8.25 kB / 3.678 GB, free: 77.23 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007482/11.98, allocations: 4.354 MB / 3.683 GB, free: 76.76 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.02723/12, allocations: 11.82 MB / 3.694 GB, free: 75.91 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/12, allocations: 3.969 kB / 3.694 GB, free: 75.91 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002611/12.01, allocations: 0.6244 MB / 3.695 GB, free: 75.91 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007944/12.01, allocations: 366.2 kB / 3.695 GB, free: 75.89 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002566/12.01, allocations: 82.73 kB / 3.695 GB, free: 75.89 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004616/12.01, allocations: 5.203 MB / 3.7 GB, free: 73.18 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/12.01, allocations: 4.656 kB / 3.7 GB, free: 73.18 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01161/12.02, allocations: 7.518 MB / 3.708 GB, free: 72.4 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005464/12.03, allocations: 1.271 MB / 3.709 GB, free: 72.03 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002545/12.03, allocations: 64.45 kB / 3.709 GB, free: 72.03 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006112/12.04, allocations: 408.9 kB / 3.709 GB, free: 72.01 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005745/12.04, allocations: 199.4 kB / 3.71 GB, free: 72.01 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004857/12.04, allocations: 137.7 kB / 3.71 GB, free: 72.01 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.008151/12.05, allocations: 3.989 MB / 3.714 GB, free: 71.8 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4.1e-07/12.05, allocations: 2.156 kB / 3.714 GB, free: 71.8 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0118/12.06, allocations: 2.061 MB / 3.716 GB, free: 71.53 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.002658/12.06, allocations: 0.8259 MB / 3.716 GB, free: 71.35 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.009074/12.07, allocations: 5.195 MB / 3.722 GB, free: 70.97 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/12.07, allocations: 9.281 kB / 3.722 GB, free: 70.96 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.00381/12.07, allocations: 2.42 MB / 3.724 GB, free: 70.71 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0202/12.09, allocations: 3.184 MB / 3.727 GB, free: 70.65 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03074/12.13, allocations: 11.6 MB / 3.738 GB, free: 68.56 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006811/12.13, allocations: 4.719 MB / 3.743 GB, free: 67.7 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.009554/12.14, allocations: 2.015 MB / 3.745 GB, free: 67.65 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002385/12.14, allocations: 472.9 kB / 3.745 GB, free: 67.64 MB / 0.9636 GB Notification: Performance of SimCode: time 2.284e-06/12.14, allocations: 2.156 kB / 3.745 GB, free: 67.64 MB / 0.9636 GB Notification: Performance of Templates: time 0.2067/12.35, allocations: 119.4 MB / 3.862 GB, free: 33.77 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)