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.001438/0.001438, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001572/0.001572, allocations: 161 kB / 24.16 MB, free: 332 kB / 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 1.152/1.152, allocations: 177.1 MB / 204.6 MB, free: 5.496 MB / 186.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 2.027/2.027, allocations: 389.6 MB / 0.6354 GB, free: 12.32 MB / 0.6042 GB " [Timeout remaining time 177] 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.623e-06/1.623e-06, allocations: 0 / 0.7752 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.426e-05/2.588e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.01825/0.01828, allocations: 16.44 MB / 0.7912 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01402/0.0323, allocations: 6.184 MB / 0.7973 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002103/0.0344, allocations: 99.19 kB / 0.7974 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.03543, allocations: 0.5272 MB / 0.7979 GB, free: 14.15 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002969/0.0384, allocations: 1.812 MB / 0.7997 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002217/0.04061, allocations: 1.463 MB / 0.8011 GB, free: 10.89 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0144/0.05502, allocations: 21.79 MB / 0.8224 GB, free: 5.043 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008808/0.06383, allocations: 7.332 MB / 0.8295 GB, free: 13.71 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01372/0.07755, allocations: 10.03 MB / 0.8393 GB, free: 3.77 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009028/0.08658, allocations: 6.21 MB / 0.8454 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.001622/0.0882, allocations: 0.9219 MB / 0.8463 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003433/0.09163, allocations: 1.208 MB / 0.8475 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.00218/0.09381, allocations: 2.476 MB / 0.8499 GB, free: 8.934 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.007896/0.1017, allocations: 3.337 MB / 0.8531 GB, free: 5.59 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.007782/0.1095, allocations: 7.971 MB / 0.8609 GB, free: 13.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.1095, allocations: 0 / 0.8609 GB, free: 13.6 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.234e-06/0.1095, allocations: 0 / 0.8609 GB, free: 13.6 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001327/0.1096, allocations: 0 / 0.8609 GB, free: 13.6 MB / 0.823 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.007941/0.1176, allocations: 7.73 MB / 0.8685 GB, free: 5.816 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.1176, allocations: 9.344 kB / 0.8685 GB, free: 5.809 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002142/0.1198, allocations: 1.264 MB / 0.8697 GB, free: 4.547 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004794/0.1245, allocations: 3.797 MB / 0.8734 GB, free: 0.6875 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002227/0.1248, allocations: 460.6 kB / 0.8739 GB, free: 240 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006205/0.1254, allocations: 0.6214 MB / 0.8745 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00551/0.1309, allocations: 6.027 MB / 0.8804 GB, free: 9 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001013/0.131, allocations: 23.84 kB / 0.8804 GB, free: 8.977 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003943/0.1314, allocations: 263.9 kB / 0.8806 GB, free: 8.719 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001184/0.1315, allocations: 183.9 kB / 0.8808 GB, free: 8.539 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002839/0.1344, allocations: 2.099 MB / 0.8829 GB, free: 6.43 MB / 0.8386 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.01842/0.1528, allocations: 19 MB / 0.9014 GB, free: 2.977 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/0.1545, allocations: 1.575 MB / 0.9029 GB, free: 1.395 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001315/0.1558, allocations: 1.218 MB / 0.9041 GB, free: 168 kB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003875/0.1562, allocations: 162.3 kB / 0.9043 GB, free: 4 kB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001515/0.1577, allocations: 2.09 MB / 0.9063 GB, free: 13.62 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001231/0.1589, allocations: 325.6 kB / 0.9066 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=317): time 6.903e-06/0.1589, allocations: 0 / 0.9066 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=317): time 0.003449/0.1624, allocations: 2.191 MB / 0.9088 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.1624, allocations: 85.91 kB / 0.9089 GB, free: 10.97 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003154/0.1656, allocations: 3.674 MB / 0.9125 GB, free: 7.285 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001689/0.1658, allocations: 85.7 kB / 0.9125 GB, free: 7.195 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001352/0.1671, allocations: 2.543 MB / 0.915 GB, free: 4.629 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006778/0.1678, allocations: 1.154 MB / 0.9161 GB, free: 3.465 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000782/0.1686, allocations: 0.7801 MB / 0.9169 GB, free: 2.672 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.89e-05/0.1687, allocations: 309.1 kB / 0.9172 GB, free: 2.367 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000772/0.1694, allocations: 0.5826 MB / 0.9178 GB, free: 1.77 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001572/0.171, allocations: 2.101 MB / 0.9198 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002695/0.1737, allocations: 3.03 MB / 0.9228 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.92e-05/0.1737, allocations: 16 kB / 0.9228 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.003515/0.1772, allocations: 2.824 MB / 0.9256 GB, free: 8.309 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.499e-05/0.1773, allocations: 53.7 kB / 0.9256 GB, free: 8.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.035e-05/0.1773, allocations: 48 kB / 0.9256 GB, free: 8.203 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/0.1783, allocations: 384.2 kB / 0.926 GB, free: 7.824 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002076/0.1804, allocations: 1.01 MB / 0.927 GB, free: 6.812 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002607/0.183, allocations: 3.691 MB / 0.9306 GB, free: 2.953 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001851/0.1849, allocations: 179.7 kB / 0.9308 GB, free: 2.777 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002319/0.1851, allocations: 176 kB / 0.9309 GB, free: 2.605 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.001376/0.1865, allocations: 411 kB / 0.9313 GB, free: 2.191 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000517/0.187, allocations: 399.5 kB / 0.9317 GB, free: 1.801 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002513/0.1895, allocations: 1.943 MB / 0.9336 GB, free: 15.81 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-05/0.1895, allocations: 32 kB / 0.9336 GB, free: 15.78 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.1895, allocations: 4 kB / 0.9336 GB, free: 15.78 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001585/0.1911, allocations: 1.37 MB / 0.935 GB, free: 14.31 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00696/0.1981, allocations: 5.236 MB / 0.9401 GB, free: 8.984 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.1981, allocations: 0 / 0.9401 GB, free: 8.984 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001554/0.1996, allocations: 0.6321 MB / 0.9407 GB, free: 8.352 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008597/0.2005, allocations: 330 kB / 0.941 GB, free: 8.027 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001527/0.2006, allocations: 71.95 kB / 0.9411 GB, free: 7.957 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002336/0.203, allocations: 3.594 MB / 0.9446 GB, free: 4.191 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.203, allocations: 0 / 0.9446 GB, free: 4.191 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002981/0.206, allocations: 2.466 MB / 0.947 GB, free: 1.633 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/0.2071, allocations: 0.6127 MB / 0.9476 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003791/0.2074, allocations: 67.98 kB / 0.9477 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.2085, allocations: 112.1 kB / 0.9478 GB, free: 0.8398 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002909/0.2088, allocations: 202.1 kB / 0.948 GB, free: 0.6406 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001711/0.209, allocations: 99.83 kB / 0.9481 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001679/0.2107, allocations: 1.862 MB / 0.9499 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.11e-07/0.2107, allocations: 0 / 0.9499 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.003653/0.2143, allocations: 2.015 MB / 0.9519 GB, free: 12.66 MB / 0.9167 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.0004996/0.2148, allocations: 283.4 kB / 0.9521 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002756/0.2176, allocations: 2.366 MB / 0.9544 GB, free: 9.938 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 7.779e-05/0.2177, allocations: 59.84 kB / 0.9545 GB, free: 9.875 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001186/0.2189, allocations: 1.155 MB / 0.9556 GB, free: 8.688 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005463/0.2243, allocations: 2.786 MB / 0.9584 GB, free: 5.988 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01254/0.2369, allocations: 10.32 MB / 0.9684 GB, free: 11.56 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001194/0.2381, allocations: 1.415 MB / 0.9698 GB, free: 10.12 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002845/0.2409, allocations: 0.8702 MB / 0.9707 GB, free: 9.242 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003829/0.2447, allocations: 1.719 MB / 0.9723 GB, free: 7.492 MB / 0.9323 GB Notification: Performance of SimCode: time 2.114e-06/0.2447, allocations: 0 / 0.9723 GB, free: 7.492 MB / 0.9323 GB Notification: Performance of Templates: time 0.5206/0.7653, allocations: 108.1 MB / 1.078 GB, free: 253.1 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.141405533067882]