Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008315/0.0008315, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001271/0.002103, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009744/0.0009744, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001393/0.002367, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9782/0.9782, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08665/1.065, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.935/1.935, allocations: 390 MB / 0.6194 GB, free: 11.65 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4648/2.4, allocations: 127.1 MB / 0.7435 GB, free: 4.531 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.7448 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.8e-05/1.938e-05, allocations: 2.312 kB / 0.7448 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.0182/0.01822, allocations: 16.53 MB / 0.7609 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01343/0.03165, allocations: 6.221 MB / 0.767 GB, free: 12.51 MB / 0.7449 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003453/0.0351, allocations: 103.9 kB / 0.7671 GB, free: 12.41 MB / 0.7449 GB Notification: Performance of NFTyping.typeComponents: time 0.001897/0.037, allocations: 0.5388 MB / 0.7676 GB, free: 11.87 MB / 0.7449 GB Notification: Performance of NFTyping.typeBindings: time 0.005966/0.04297, allocations: 1.797 MB / 0.7694 GB, free: 10.07 MB / 0.7449 GB Notification: Performance of NFTyping.typeClassSections: time 0.003394/0.04636, allocations: 1.443 MB / 0.7708 GB, free: 8.637 MB / 0.7449 GB Notification: Performance of NFFlatten.flatten: time 0.01477/0.06113, allocations: 21.91 MB / 0.7922 GB, free: 2.668 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007883/0.06901, allocations: 7.327 MB / 0.7994 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01141/0.08042, allocations: 10.56 MB / 0.8097 GB, free: 0.8281 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006043/0.08647, allocations: 6.215 MB / 0.8157 GB, free: 10.6 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.001075/0.08754, allocations: 0.9267 MB / 0.8166 GB, free: 9.676 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002323/0.08987, allocations: 1.206 MB / 0.8178 GB, free: 8.469 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.001453/0.09132, allocations: 1.925 MB / 0.8197 GB, free: 6.539 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.003133/0.09445, allocations: 2.726 MB / 0.8224 GB, free: 3.809 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.006174/0.1006, allocations: 7.432 MB / 0.8296 GB, free: 12.36 MB / 0.8074 GB Notification: Performance of FrontEnd - DAE generated: time 2.078e-05/0.1006, allocations: 1.188 kB / 0.8296 GB, free: 12.36 MB / 0.8074 GB Notification: Performance of FrontEnd: time 2.765e-06/0.1007, allocations: 4 kB / 0.8296 GB, free: 12.35 MB / 0.8074 GB Notification: Performance of Transformations before backend: time 8.811e-05/0.1007, allocations: 0 / 0.8296 GB, free: 12.35 MB / 0.8074 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.008912/0.1097, allocations: 9.497 MB / 0.8389 GB, free: 2.781 MB / 0.8074 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.1097, allocations: 9.125 kB / 0.8389 GB, free: 2.773 MB / 0.8074 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002096/0.1118, allocations: 1.26 MB / 0.8401 GB, free: 1.516 MB / 0.8074 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004643/0.1164, allocations: 3.792 MB / 0.8438 GB, free: 13.66 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002222/0.1167, allocations: 461 kB / 0.8443 GB, free: 13.21 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006131/0.1173, allocations: 0.6147 MB / 0.8449 GB, free: 12.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00529/0.1226, allocations: 6.039 MB / 0.8508 GB, free: 5.977 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.094e-05/0.1226, allocations: 27.8 kB / 0.8508 GB, free: 5.949 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003943/0.123, allocations: 256.6 kB / 0.851 GB, free: 5.699 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000123/0.1232, allocations: 181.2 kB / 0.8512 GB, free: 5.523 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002749/0.1259, allocations: 2.098 MB / 0.8533 GB, free: 3.426 MB / 0.823 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.01718/0.1431, allocations: 19.07 MB / 0.8719 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/0.1447, allocations: 1.589 MB / 0.8734 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001242/0.146, allocations: 1.211 MB / 0.8746 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003709/0.1464, allocations: 166.3 kB / 0.8748 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00146/0.1478, allocations: 2.09 MB / 0.8768 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001077/0.1489, allocations: 321.6 kB / 0.8771 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=317): time 6.241e-06/0.1489, allocations: 4 kB / 0.8771 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of matching and sorting (n=317): time 0.003315/0.1522, allocations: 2.199 MB / 0.8793 GB, free: 7.977 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.1523, allocations: 89.91 kB / 0.8794 GB, free: 7.875 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003007/0.1553, allocations: 3.674 MB / 0.883 GB, free: 4.188 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001738/0.1554, allocations: 89.7 kB / 0.883 GB, free: 4.094 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001268/0.1567, allocations: 2.535 MB / 0.8855 GB, free: 1.535 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006478/0.1574, allocations: 1.146 MB / 0.8866 GB, free: 388 kB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007585/0.1581, allocations: 0.7917 MB / 0.8874 GB, free: 15.57 MB / 0.8699 GB Notification: Performance of setup shared object (initialization): time 7.229e-05/0.1582, allocations: 305.1 kB / 0.8877 GB, free: 15.27 MB / 0.8699 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007252/0.1589, allocations: 0.5826 MB / 0.8883 GB, free: 14.68 MB / 0.8699 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001367/0.1603, allocations: 2.097 MB / 0.8903 GB, free: 11.85 MB / 0.8699 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002531/0.1628, allocations: 3.198 MB / 0.8934 GB, free: 7.934 MB / 0.8699 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.72e-05/0.1628, allocations: 16 kB / 0.8935 GB, free: 7.918 MB / 0.8699 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.002942/0.1658, allocations: 2.819 MB / 0.8962 GB, free: 5.055 MB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 5.346e-05/0.1658, allocations: 53.7 kB / 0.8963 GB, free: 4.996 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.268e-05/0.1659, allocations: 55.94 kB / 0.8963 GB, free: 4.941 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009528/0.1668, allocations: 400.9 kB / 0.8967 GB, free: 4.547 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002049/0.1689, allocations: 1.088 MB / 0.8978 GB, free: 3.457 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002466/0.1713, allocations: 3.7 MB / 0.9014 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/0.173, allocations: 175.9 kB / 0.9015 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002145/0.1732, allocations: 176 kB / 0.9017 GB, free: 15.25 MB / 0.8855 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009661/0.1742, allocations: 415 kB / 0.9021 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004749/0.1747, allocations: 395.5 kB / 0.9025 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/0.177, allocations: 1.939 MB / 0.9044 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.92e-05/0.177, allocations: 32 kB / 0.9044 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.177, allocations: 8 kB / 0.9044 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001435/0.1784, allocations: 1.374 MB / 0.9058 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006446/0.1849, allocations: 5.224 MB / 0.9109 GB, free: 5.629 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.1849, allocations: 4 kB / 0.9109 GB, free: 5.625 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00157/0.1865, allocations: 0.6867 MB / 0.9115 GB, free: 4.938 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009801/0.1874, allocations: 0.6164 MB / 0.9121 GB, free: 4.316 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008771/0.1883, allocations: 328.3 kB / 0.9124 GB, free: 3.992 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001404/0.1885, allocations: 79.95 kB / 0.9125 GB, free: 3.914 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002362/0.1908, allocations: 3.602 MB / 0.916 GB, free: 156 kB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.1908, allocations: 3.938 kB / 0.916 GB, free: 152 kB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002829/0.1937, allocations: 2.478 MB / 0.9185 GB, free: 13.58 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000346/0.194, allocations: 63.98 kB / 0.9185 GB, free: 13.52 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.1951, allocations: 112 kB / 0.9186 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002706/0.1954, allocations: 202 kB / 0.9188 GB, free: 13.21 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001612/0.1955, allocations: 99.89 kB / 0.9189 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001623/0.1971, allocations: 1.858 MB / 0.9207 GB, free: 11.25 MB / 0.9011 GB Notification: Performance of sort global known variables: time 9e-08/0.1971, allocations: 0 / 0.9207 GB, free: 11.25 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.004159/0.2013, allocations: 2.011 MB / 0.9227 GB, free: 9.234 MB / 0.9011 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000534/0.2018, allocations: 280.6 kB / 0.923 GB, free: 8.949 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002758/0.2046, allocations: 2.431 MB / 0.9253 GB, free: 6.461 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 0.0001046/0.2047, allocations: 91.72 kB / 0.9254 GB, free: 6.371 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001548/0.2062, allocations: 1.626 MB / 0.927 GB, free: 4.711 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009941/0.2162, allocations: 16.72 MB / 0.9433 GB, free: 0.9922 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02717/0.2434, allocations: 10.51 MB / 0.9536 GB, free: 6.371 MB / 0.9324 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/0.2446, allocations: 1.421 MB / 0.955 GB, free: 4.93 MB / 0.9324 GB Notification: Performance of simCode: alias equations: time 0.003143/0.2477, allocations: 0.8783 MB / 0.9558 GB, free: 4.047 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003729/0.2514, allocations: 1.726 MB / 0.9575 GB, free: 2.289 MB / 0.9324 GB Notification: Performance of SimCode: time 1.924e-06/0.2514, allocations: 0 / 0.9575 GB, free: 2.289 MB / 0.9324 GB Notification: Performance of Templates: time 0.4493/0.7007, allocations: 114.8 MB / 1.07 GB, free: 246.5 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.380767261609435]