Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.557/2.557, allocations: 287.5 MB / 303.2 MB, free: 8.258 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.001354/0.001353, allocations: 176.7 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.4 MB / 0.6305 GB, free: 10.55 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.0009926/0.0009925, allocations: 94.47 kB / 0.7438 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006237/0.000624, allocations: 15.39 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2197, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.257/1.477, allocations: 407.2 MB / 1.377 GB, free: 6.969 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003139/1.477, allocations: 97.64 kB / 1.377 GB, free: 6.918 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 11.4/12.88, allocations: 2.174 GB / 3.551 GB, free: 45.44 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.965e-06/12.88, allocations: 0 / 3.551 GB, free: 45.44 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001268/12.88, allocations: 191.8 kB / 3.552 GB, free: 45.25 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.03217/12.92, allocations: 7.134 MB / 3.559 GB, free: 38.02 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/12.92, allocations: 12.03 kB / 3.559 GB, free: 38.01 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005804/12.92, allocations: 0.8509 MB / 3.559 GB, free: 37.15 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02357/12.94, allocations: 7.478 MB / 3.567 GB, free: 29.62 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006267/12.95, allocations: 460.6 kB / 3.567 GB, free: 29.16 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002785/12.95, allocations: 0.5979 MB / 3.568 GB, free: 28.57 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02797/12.98, allocations: 8.493 MB / 3.576 GB, free: 19.75 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003549/12.98, allocations: 23.72 kB / 3.576 GB, free: 19.73 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002355/12.98, allocations: 260 kB / 3.576 GB, free: 19.47 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002206/12.98, allocations: 191.6 kB / 3.576 GB, free: 19.29 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02247/13, allocations: 6.892 MB / 3.583 GB, free: 12.39 MB / 0.9636 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.8219/13.82, allocations: 33.99 MB / 3.616 GB, free: 112.2 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01258/13.84, allocations: 4.199 MB / 3.62 GB, free: 112.1 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009914/13.85, allocations: 3.52 MB / 3.624 GB, free: 112.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001915/13.85, allocations: 0.9617 MB / 3.625 GB, free: 111.1 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007664/13.86, allocations: 2.349 MB / 3.627 GB, free: 111 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005023/13.86, allocations: 455.3 kB / 3.628 GB, free: 111 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=317): time 3.217e-05/13.86, allocations: 2.469 kB / 3.628 GB, free: 111 MB / 0.9636 GB Notification: Performance of matching and sorting (n=317): time 0.02461/13.89, allocations: 7.019 MB / 3.634 GB, free: 110.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.26e-05/13.89, allocations: 88.69 kB / 3.634 GB, free: 110.4 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01281/13.9, allocations: 5.359 MB / 3.64 GB, free: 110.1 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.00109/13.9, allocations: 87.7 kB / 3.64 GB, free: 110 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.004758/13.9, allocations: 3.158 MB / 3.643 GB, free: 109.1 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.002289/13.91, allocations: 1.11 MB / 3.644 GB, free: 108.6 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005162/13.91, allocations: 88.84 kB / 3.644 GB, free: 108.6 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003707/13.91, allocations: 493 kB / 3.645 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006243/13.91, allocations: 2.107 MB / 3.647 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008164/13.92, allocations: 3.655 MB / 3.65 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01562/13.94, allocations: 6.222 MB / 3.656 GB, free: 104.5 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.751e-05/13.94, allocations: 16.52 kB / 3.656 GB, free: 104.5 MB / 0.9636 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.02232/13.96, allocations: 6.655 MB / 3.663 GB, free: 104.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.296e-05/13.96, allocations: 53 kB / 3.663 GB, free: 104.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.471e-05/13.96, allocations: 54.59 kB / 3.663 GB, free: 104.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001641/13.96, allocations: 424.5 kB / 3.663 GB, free: 104.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007729/13.97, allocations: 0.989 MB / 3.664 GB, free: 104.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00789/13.98, allocations: 5.311 MB / 3.669 GB, free: 101.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009528/13.99, allocations: 472.5 kB / 3.67 GB, free: 101.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001398/13.99, allocations: 218.3 kB / 3.67 GB, free: 101.3 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 () * 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.007883/14, allocations: 2.458 MB / 3.672 GB, free: 101.2 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002157/14, allocations: 0.5167 MB / 3.673 GB, free: 100.9 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01542/14.01, allocations: 5.161 MB / 3.678 GB, free: 100.7 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.513e-05/14.01, allocations: 33.31 kB / 3.678 GB, free: 100.7 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/14.01, allocations: 5.156 kB / 3.678 GB, free: 100.7 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01172/14.03, allocations: 4.457 MB / 3.682 GB, free: 100.2 MB / 0.9636 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.03977/14.07, allocations: 11.85 MB / 3.694 GB, free: 99.38 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.07e-05/14.07, allocations: 3.75 kB / 3.694 GB, free: 99.38 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006026/14.07, allocations: 0.6487 MB / 3.695 GB, free: 99.38 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00145/14.07, allocations: 372.9 kB / 3.695 GB, free: 99.36 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008512/14.07, allocations: 81.66 kB / 3.695 GB, free: 99.36 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007643/14.08, allocations: 5.235 MB / 3.7 GB, free: 96.65 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/14.08, allocations: 0 / 3.7 GB, free: 96.65 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01996/14.1, allocations: 7.553 MB / 3.708 GB, free: 96.01 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005665/14.11, allocations: 1.2 MB / 3.709 GB, free: 95.65 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002566/14.11, allocations: 65.2 kB / 3.709 GB, free: 95.65 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008647/14.12, allocations: 451.1 kB / 3.709 GB, free: 95.64 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00111/14.12, allocations: 199.7 kB / 3.709 GB, free: 95.63 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006683/14.12, allocations: 138.1 kB / 3.71 GB, free: 95.63 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.01014/14.13, allocations: 3.709 MB / 3.713 GB, free: 95.45 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.162e-06/14.13, allocations: 2.938 kB / 3.713 GB, free: 95.45 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.011/14.14, allocations: 2.037 MB / 3.715 GB, free: 95.32 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) * 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.002837/14.15, allocations: 0.7895 MB / 3.716 GB, free: 95.19 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01403/14.16, allocations: 5.318 MB / 3.721 GB, free: 94.8 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.221e-05/14.16, allocations: 3.875 kB / 3.721 GB, free: 94.8 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.006484/14.17, allocations: 2.487 MB / 3.724 GB, free: 94.54 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03042/14.2, allocations: 3.174 MB / 3.727 GB, free: 94.5 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0403/14.24, allocations: 16.02 MB / 3.742 GB, free: 88.95 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009483/14.25, allocations: 4.601 MB / 3.747 GB, free: 88.09 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.01197/14.26, allocations: 1.999 MB / 3.749 GB, free: 88.04 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003196/14.26, allocations: 461 kB / 3.749 GB, free: 88.04 MB / 0.9636 GB Notification: Performance of SimCode: time 1.423e-06/14.26, allocations: 0 / 3.749 GB, free: 88.04 MB / 0.9636 GB Notification: Performance of Templates: time 0.2705/14.53, allocations: 116.4 MB / 3.863 GB, free: 64.73 MB / 0.9636 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)