Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001053/0.001053, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001136/0.001136, allocations: 173 kB / 23.36 MB, free: 1.133 MB / 18.57 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.9651/0.9651, allocations: 177.1 MB / 203.8 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002038/0.002038, allocations: 249.4 kB / 260.5 MB, free: 12.68 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7474/0.7474, allocations: 138.4 MB / 402.2 MB, free: 0.543 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 462.3 MB, free: 0.875 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.21e-05/2.363e-05, allocations: 6.25 kB / 462.3 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.01468/0.0147, allocations: 16.36 MB / 478.7 MB, free: 2.223 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01088/0.02559, allocations: 6.219 MB / 484.9 MB, free: 12.05 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00206/0.02765, allocations: 103.2 kB / 485 MB, free: 11.95 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.02882, allocations: 0.5271 MB / 485.6 MB, free: 11.42 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004985/0.0338, allocations: 1.816 MB / 487.4 MB, free: 9.609 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003424/0.03723, allocations: 1.477 MB / 488.8 MB, free: 8.141 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01762/0.05484, allocations: 21.79 MB / 0.4987 GB, free: 2.305 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01135/0.06619, allocations: 7.69 MB / 0.5062 GB, free: 10.69 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01688/0.08307, allocations: 9.981 MB / 0.5159 GB, free: 0.8164 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009969/0.09304, allocations: 6.283 MB / 0.5221 GB, free: 10.53 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002601/0.09564, allocations: 0.9219 MB / 0.523 GB, free: 9.605 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003779/0.09942, allocations: 1.192 MB / 0.5241 GB, free: 8.418 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002053/0.1015, allocations: 2.488 MB / 0.5266 GB, free: 5.922 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006232/0.1077, allocations: 3.321 MB / 0.5298 GB, free: 2.594 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007764/0.1155, allocations: 7.958 MB / 0.5376 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1155, allocations: 1.312 kB / 0.5376 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1155, allocations: 7.938 kB / 0.5376 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002012/0.1157, allocations: 0 / 0.5376 GB, free: 10.61 MB / 0.4948 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.00872/0.1244, allocations: 7.737 MB / 0.5451 GB, free: 2.816 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.1244, allocations: 8.75 kB / 0.5451 GB, free: 2.809 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00214/0.1266, allocations: 1.268 MB / 0.5464 GB, free: 1.543 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005185/0.1318, allocations: 3.803 MB / 0.5501 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002228/0.132, allocations: 456.6 kB / 0.5505 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007527/0.1327, allocations: 0.6135 MB / 0.5511 GB, free: 12.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005774/0.1385, allocations: 6.035 MB / 0.557 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001029/0.1386, allocations: 15.88 kB / 0.557 GB, free: 5.961 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003919/0.139, allocations: 260 kB / 0.5573 GB, free: 5.707 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002857/0.1393, allocations: 183.9 kB / 0.5575 GB, free: 5.527 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002968/0.1423, allocations: 2.091 MB / 0.5595 GB, free: 3.426 MB / 0.5105 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.02031/0.1626, allocations: 18.97 MB / 0.578 GB, free: 56 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001968/0.1645, allocations: 1.575 MB / 0.5796 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001288/0.1658, allocations: 1.218 MB / 0.5808 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003992/0.1662, allocations: 170.3 kB / 0.5809 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001499/0.1677, allocations: 2.083 MB / 0.583 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001411/0.1691, allocations: 325.7 kB / 0.5833 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=317): time 6.893e-06/0.1691, allocations: 3.938 kB / 0.5833 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=317): time 0.003568/0.1727, allocations: 2.19 MB / 0.5854 GB, free: 8.176 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.1728, allocations: 89.91 kB / 0.5855 GB, free: 8.074 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003482/0.1762, allocations: 3.674 MB / 0.5891 GB, free: 4.387 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002605/0.1765, allocations: 89.7 kB / 0.5892 GB, free: 4.293 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001603/0.1781, allocations: 2.539 MB / 0.5916 GB, free: 1.73 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009601/0.1791, allocations: 1.154 MB / 0.5928 GB, free: 0.5664 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007981/0.1799, allocations: 0.7957 MB / 0.5935 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.493e-05/0.1799, allocations: 305.1 kB / 0.5938 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008124/0.1808, allocations: 0.5826 MB / 0.5944 GB, free: 14.86 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001369/0.1821, allocations: 2.097 MB / 0.5965 GB, free: 12.03 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002788/0.1849, allocations: 3.026 MB / 0.5994 GB, free: 8.285 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.3e-05/0.1849, allocations: 16 kB / 0.5994 GB, free: 8.27 MB / 0.5573 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.00387/0.1888, allocations: 2.82 MB / 0.6022 GB, free: 5.406 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 6.785e-05/0.1889, allocations: 56.05 kB / 0.6022 GB, free: 5.348 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.502e-05/0.1889, allocations: 48.09 kB / 0.6023 GB, free: 5.301 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/0.19, allocations: 387.2 kB / 0.6026 GB, free: 4.922 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002109/0.1921, allocations: 1.01 MB / 0.6036 GB, free: 3.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002885/0.195, allocations: 3.687 MB / 0.6072 GB, free: 68 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002307/0.1973, allocations: 172 kB / 0.6074 GB, free: 15.89 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002238/0.1975, allocations: 171.9 kB / 0.6076 GB, free: 15.73 MB / 0.573 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.001413/0.199, allocations: 419 kB / 0.608 GB, free: 15.31 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006093/0.1996, allocations: 395.5 kB / 0.6083 GB, free: 14.92 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002606/0.2022, allocations: 1.954 MB / 0.6102 GB, free: 12.94 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.468e-05/0.2022, allocations: 32 kB / 0.6103 GB, free: 12.91 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.2022, allocations: 4 kB / 0.6103 GB, free: 12.9 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001535/0.2037, allocations: 1.366 MB / 0.6116 GB, free: 11.44 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007781/0.2115, allocations: 5.241 MB / 0.6167 GB, free: 6.105 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.2115, allocations: 0 / 0.6167 GB, free: 6.105 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001619/0.2131, allocations: 0.6398 MB / 0.6174 GB, free: 5.465 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008748/0.214, allocations: 319.9 kB / 0.6177 GB, free: 5.148 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001775/0.2142, allocations: 83.95 kB / 0.6177 GB, free: 5.066 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002494/0.2167, allocations: 3.588 MB / 0.6212 GB, free: 1.316 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2167, allocations: 0 / 0.6212 GB, free: 1.316 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00345/0.2201, allocations: 2.468 MB / 0.6237 GB, free: 14.76 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001515/0.2217, allocations: 0.6124 MB / 0.6243 GB, free: 14.14 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004838/0.2221, allocations: 67.92 kB / 0.6243 GB, free: 14.08 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/0.2234, allocations: 115.9 kB / 0.6244 GB, free: 13.96 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003248/0.2237, allocations: 202 kB / 0.6246 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001931/0.2239, allocations: 99.83 kB / 0.6247 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002202/0.2261, allocations: 1.862 MB / 0.6265 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-07/0.2261, allocations: 0 / 0.6265 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003711/0.2298, allocations: 2.007 MB / 0.6285 GB, free: 9.793 MB / 0.5886 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.0005042/0.2303, allocations: 269.7 kB / 0.6288 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002833/0.2331, allocations: 2.358 MB / 0.6311 GB, free: 7.098 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.961e-05/0.2332, allocations: 59.84 kB / 0.6311 GB, free: 7.039 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.00121/0.2344, allocations: 1.162 MB / 0.6322 GB, free: 5.844 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006192/0.2406, allocations: 2.806 MB / 0.635 GB, free: 3.27 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0146/0.2552, allocations: 10.34 MB / 0.6451 GB, free: 8.824 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00138/0.2566, allocations: 1.415 MB / 0.6465 GB, free: 7.387 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.003272/0.2599, allocations: 0.8784 MB / 0.6473 GB, free: 6.527 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004292/0.2641, allocations: 1.723 MB / 0.649 GB, free: 4.773 MB / 0.6042 GB Notification: Performance of SimCode: time 2.335e-06/0.2641, allocations: 0 / 0.649 GB, free: 4.773 MB / 0.6042 GB Notification: Performance of Templates: time 0.3316/0.5958, allocations: 108.4 MB / 0.7549 GB, free: 117.9 MB / 0.6198 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.204642608761787]