Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 103.2 kB / 15.98 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 195 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7356/0.7356, allocations: 122.9 MB / 413.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 59.91 kB / 0.4906 GB, free: 7.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4521/0.4535, allocations: 77.93 MB / 0.5667 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05014/0.5036, allocations: 55.51 MB / 0.6209 GB, free: 3.348 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02517/0.5289, allocations: 17.8 MB / 0.6383 GB, free: 1.496 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003973/0.5329, allocations: 75.56 kB / 0.6384 GB, free: 1.422 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003991/0.5369, allocations: 0.7459 MB / 0.6391 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009632/0.5466, allocations: 2.337 MB / 0.6414 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005844/0.5525, allocations: 1.386 MB / 0.6427 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.02558/0.5781, allocations: 21.36 MB / 0.6636 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01507/0.5932, allocations: 10.58 MB / 0.6739 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01759/0.6109, allocations: 7.213 MB / 0.681 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01176/0.6227, allocations: 6.549 MB / 0.6874 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.003796/0.6265, allocations: 0.9297 MB / 0.6883 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00816/0.6347, allocations: 1.705 MB / 0.69 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.005124/0.6399, allocations: 2.318 MB / 0.6922 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.01112/0.651, allocations: 4.703 MB / 0.6968 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01844/0.6695, allocations: 13 MB / 0.7095 GB, free: 8.344 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.298e-05/0.6695, allocations: 8 kB / 0.7095 GB, free: 8.336 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6695, allocations: 3.938 kB / 0.7095 GB, free: 8.332 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0005217/0.6701, allocations: 0 / 0.7095 GB, free: 8.332 MB / 0.545 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.02497/0.695, allocations: 8.487 MB / 0.7178 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/0.6951, allocations: 12.62 kB / 0.7178 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00557/0.7007, allocations: 0.8625 MB / 0.7187 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01851/0.7192, allocations: 6.618 MB / 0.7251 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006666/0.72, allocations: 460.4 kB / 0.7256 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003531/0.7235, allocations: 0.6014 MB / 0.7262 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02874/0.7523, allocations: 9.028 MB / 0.735 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003477/0.7527, allocations: 15.88 kB / 0.735 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002348/0.7551, allocations: 260 kB / 0.7352 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002334/0.7553, allocations: 176 kB / 0.7354 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0203/0.7756, allocations: 7.453 MB / 0.7427 GB, free: 5.883 MB / 0.5762 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.4552/1.231, allocations: 35.91 MB / 0.7777 GB, free: 130.7 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008544/1.239, allocations: 4.278 MB / 0.7819 GB, free: 128.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006471/1.246, allocations: 3.315 MB / 0.7852 GB, free: 126.9 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001817/1.248, allocations: 0.9538 MB / 0.7861 GB, free: 125.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005953/1.254, allocations: 2.386 MB / 0.7884 GB, free: 124.5 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004241/1.258, allocations: 408 kB / 0.7888 GB, free: 124.4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=317): time 2.09e-05/1.258, allocations: 0 / 0.7888 GB, free: 124.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=317): time 0.01539/1.274, allocations: 7.14 MB / 0.7958 GB, free: 120.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/1.274, allocations: 83.44 kB / 0.7959 GB, free: 120.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01032/1.284, allocations: 5.465 MB / 0.8012 GB, free: 117.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001223/1.285, allocations: 86.48 kB / 0.8013 GB, free: 117.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.003488/1.289, allocations: 3.19 MB / 0.8044 GB, free: 114.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002026/1.291, allocations: 1.127 MB / 0.8055 GB, free: 113.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002811/1.294, allocations: 0.8503 MB / 0.8063 GB, free: 112.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.805e-05/1.294, allocations: 305.1 kB / 0.8066 GB, free: 112.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003798/1.297, allocations: 2.167 MB / 0.8087 GB, free: 110.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004172/1.302, allocations: 3.688 MB / 0.8123 GB, free: 106.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00763/1.309, allocations: 6.327 MB / 0.8185 GB, free: 99.05 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.217e-05/1.309, allocations: 16 kB / 0.8185 GB, free: 99.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01262/1.322, allocations: 6.784 MB / 0.8252 GB, free: 92.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.581e-05/1.322, allocations: 49.7 kB / 0.8252 GB, free: 92.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.76e-05/1.322, allocations: 48.09 kB / 0.8253 GB, free: 92.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/1.323, allocations: 437.3 kB / 0.8257 GB, free: 91.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00386/1.327, allocations: 1.002 MB / 0.8266 GB, free: 90.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00501/1.332, allocations: 5.713 MB / 0.8322 GB, free: 84.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006619/1.339, allocations: 466.8 kB / 0.8327 GB, free: 84.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001121/1.34, allocations: 220 kB / 0.8329 GB, free: 84.02 MB / 0.5762 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.005507/1.346, allocations: 2.483 MB / 0.8353 GB, free: 81.52 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002511/1.348, allocations: 0.521 MB / 0.8358 GB, free: 80.99 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01051/1.359, allocations: 5.275 MB / 0.841 GB, free: 75.67 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.711e-05/1.359, allocations: 36 kB / 0.841 GB, free: 75.64 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-05/1.359, allocations: 7.984 kB / 0.841 GB, free: 75.63 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0063/1.365, allocations: 4.533 MB / 0.8454 GB, free: 70.99 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02651/1.391, allocations: 11.93 MB / 0.8571 GB, free: 58.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.45e-05/1.392, allocations: 3.984 kB / 0.8571 GB, free: 58.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003061/1.395, allocations: 0.6476 MB / 0.8577 GB, free: 58.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008629/1.395, allocations: 377.3 kB / 0.8581 GB, free: 57.93 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005452/1.396, allocations: 79.95 kB / 0.8582 GB, free: 57.85 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004477/1.401, allocations: 5.619 MB / 0.8636 GB, free: 51.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.401, allocations: 0 / 0.8636 GB, free: 51.97 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01289/1.413, allocations: 7.768 MB / 0.8712 GB, free: 44.11 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003693/1.417, allocations: 1.143 MB / 0.8724 GB, free: 42.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001691/1.419, allocations: 63.98 kB / 0.8724 GB, free: 42.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004769/1.424, allocations: 454.2 kB / 0.8728 GB, free: 42.43 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004915/1.424, allocations: 198.2 kB / 0.873 GB, free: 42.24 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004219/1.425, allocations: 147.8 kB / 0.8732 GB, free: 42.09 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.006457/1.431, allocations: 3.803 MB / 0.8769 GB, free: 38.31 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.41e-07/1.431, allocations: 0 / 0.8769 GB, free: 38.31 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006905/1.438, allocations: 1.994 MB / 0.8788 GB, free: 36.33 MB / 0.5762 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.001481/1.44, allocations: 491.6 kB / 0.8793 GB, free: 35.89 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01977/1.459, allocations: 11.63 MB / 0.8907 GB, free: 24.24 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/1.459, allocations: 0 / 0.8907 GB, free: 24.24 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003686/1.463, allocations: 2.545 MB / 0.8932 GB, free: 21.67 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.017/1.48, allocations: 3.398 MB / 0.8965 GB, free: 18.44 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02649/1.507, allocations: 16.58 MB / 0.9127 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006503/1.513, allocations: 4.635 MB / 0.9172 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.008453/1.522, allocations: 2.025 MB / 0.9192 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002208/1.524, allocations: 463.2 kB / 0.9196 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of SimCode: time 7.82e-07/1.524, allocations: 0 / 0.9196 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of Templates: time 0.5588/2.083, allocations: 119.7 MB / 1.036 GB, free: 190.6 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)