Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.632/1.632, allocations: 292.3 MB / 308.1 MB, free: 4.262 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.001556/0.001557, allocations: 196.5 kB / 376.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 205.1 MB / 0.6354 GB, free: 9.809 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009947/0.0009947, allocations: 93.72 kB / 0.7479 GB, free: 61.23 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 59.91 kB / 0.8703 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.2402, allocations: 114.6 MB / 0.9822 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.5797/0.82, allocations: 55.63 MB / 1.037 GB, free: 63.11 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.02468/0.8447, allocations: 17.85 MB / 1.054 GB, free: 62.4 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004086/0.8489, allocations: 68.38 kB / 1.054 GB, free: 62.4 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.003468/0.8524, allocations: 0.7232 MB / 1.055 GB, free: 62.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.01001/0.8624, allocations: 2.302 MB / 1.057 GB, free: 61.4 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.005663/0.8681, allocations: 1.375 MB / 1.058 GB, free: 61.21 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.03761/0.9057, allocations: 27.8 MB / 1.085 GB, free: 51.84 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02058/0.9264, allocations: 8.701 MB / 1.094 GB, free: 48.52 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01762/0.9441, allocations: 5.574 MB / 1.099 GB, free: 46.32 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01649/0.9606, allocations: 6.184 MB / 1.105 GB, free: 43.71 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.004333/0.965, allocations: 473.8 kB / 1.106 GB, free: 43.71 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01215/0.9772, allocations: 1.154 MB / 1.107 GB, free: 43.44 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.006375/0.9836, allocations: 1.789 MB / 1.109 GB, free: 42.51 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.01647/1, allocations: 4.105 MB / 1.113 GB, free: 40.18 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.02671/1.027, allocations: 12.59 MB / 1.125 GB, free: 35.8 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 8.757e-06/1.027, allocations: 0.9375 kB / 1.125 GB, free: 35.8 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.705e-06/1.027, allocations: 0 / 1.125 GB, free: 35.8 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0005771/1.028, allocations: 0 / 1.125 GB, free: 35.8 MB / 0.7448 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.04073/1.068, allocations: 8.44 MB / 1.133 GB, free: 31.38 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.852e-05/1.068, allocations: 8.969 kB / 1.133 GB, free: 31.38 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01057/1.079, allocations: 0.8475 MB / 1.134 GB, free: 30.98 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02575/1.105, allocations: 6.501 MB / 1.141 GB, free: 27.81 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001033/1.106, allocations: 457.5 kB / 1.141 GB, free: 27.61 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004208/1.11, allocations: 0.6025 MB / 1.142 GB, free: 27.4 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04449/1.155, allocations: 9.019 MB / 1.15 GB, free: 23.64 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003286/1.155, allocations: 22.55 kB / 1.15 GB, free: 23.63 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002779/1.158, allocations: 259.5 kB / 1.151 GB, free: 23.44 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004221/1.158, allocations: 183.4 kB / 1.151 GB, free: 23.43 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03123/1.19, allocations: 7.442 MB / 1.158 GB, free: 20.92 MB / 0.7448 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.07859/1.268, allocations: 35.89 MB / 1.193 GB, free: 9.711 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009594/1.278, allocations: 4.284 MB / 1.197 GB, free: 5.434 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007255/1.285, allocations: 3.312 MB / 1.201 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001674/1.287, allocations: 0.9544 MB / 1.201 GB, free: 0.9766 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006373/1.293, allocations: 2.379 MB / 1.204 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004368/1.298, allocations: 452.7 kB / 1.204 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=317): time 1.202e-05/1.298, allocations: 0 / 1.204 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of matching and sorting (n=317): time 0.01977/1.318, allocations: 7.093 MB / 1.211 GB, free: 6.934 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.188e-05/1.318, allocations: 89.89 kB / 1.211 GB, free: 6.832 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0137/1.331, allocations: 5.369 MB / 1.216 GB, free: 1.48 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.001199/1.333, allocations: 89.7 kB / 1.217 GB, free: 1.387 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.004293/1.337, allocations: 3.176 MB / 1.22 GB, free: 14.18 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.002427/1.339, allocations: 1.109 MB / 1.221 GB, free: 13.05 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002031/1.341, allocations: 0.8541 MB / 1.222 GB, free: 12.18 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001406/1.342, allocations: 309 kB / 1.222 GB, free: 11.88 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004812/1.346, allocations: 2.156 MB / 1.224 GB, free: 9.715 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00588/1.352, allocations: 3.689 MB / 1.228 GB, free: 5.32 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01146/1.364, allocations: 6.296 MB / 1.234 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.436e-05/1.364, allocations: 16 kB / 1.234 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01691/1.381, allocations: 6.741 MB / 1.24 GB, free: 7.496 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001102/1.381, allocations: 57.69 kB / 1.24 GB, free: 7.434 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.144e-05/1.381, allocations: 52.16 kB / 1.24 GB, free: 7.383 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0013/1.382, allocations: 431.7 kB / 1.241 GB, free: 6.957 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00543/1.388, allocations: 1.002 MB / 1.242 GB, free: 5.953 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008203/1.396, allocations: 5.272 MB / 1.247 GB, free: 428 kB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009455/1.406, allocations: 470.9 kB / 1.247 GB, free: 15.95 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001132/1.407, allocations: 216 kB / 1.248 GB, free: 15.74 MB / 0.823 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.007772/1.415, allocations: 2.459 MB / 1.25 GB, free: 13.27 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002429/1.417, allocations: 0.5211 MB / 1.251 GB, free: 12.74 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01343/1.43, allocations: 5.245 MB / 1.256 GB, free: 7.445 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.224e-05/1.43, allocations: 31.98 kB / 1.256 GB, free: 7.414 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.587e-05/1.431, allocations: 8 kB / 1.256 GB, free: 7.406 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0109/1.441, allocations: 4.517 MB / 1.26 GB, free: 2.785 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 postOpt removeSimpleEquations (simulation): time 0.04215/1.484, allocations: 11.94 MB / 1.272 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.436e-05/1.484, allocations: 4.922 kB / 1.272 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003119/1.487, allocations: 0.6438 MB / 1.272 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009577/1.488, allocations: 367.9 kB / 1.273 GB, free: 5.641 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005038/1.488, allocations: 83.95 kB / 1.273 GB, free: 5.559 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005591/1.494, allocations: 5.195 MB / 1.278 GB, free: 100 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/1.494, allocations: 4 kB / 1.278 GB, free: 96 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1188/1.613, allocations: 47.37 MB / 1.324 GB, free: 92 kB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005163/1.618, allocations: 1.127 MB / 1.325 GB, free: 14.94 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002571/1.621, allocations: 63.98 kB / 1.325 GB, free: 14.88 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005973/1.627, allocations: 466.7 kB / 1.326 GB, free: 14.42 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009459/1.628, allocations: 202.2 kB / 1.326 GB, free: 14.22 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008166/1.628, allocations: 135.9 kB / 1.326 GB, free: 14.09 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.008618/1.637, allocations: 3.75 MB / 1.33 GB, free: 10.36 MB / 0.9011 GB Notification: Performance of sort global known variables: time 4.31e-07/1.637, allocations: 4 kB / 1.33 GB, free: 10.36 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01819/1.655, allocations: 2.905 MB / 1.333 GB, free: 7.445 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.002338/1.658, allocations: 487.3 kB / 1.333 GB, free: 6.969 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01201/1.67, allocations: 5.366 MB / 1.338 GB, free: 1.551 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.53e-05/1.67, allocations: 8.25 kB / 1.338 GB, free: 1.543 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.004995/1.675, allocations: 2.502 MB / 1.341 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0234/1.698, allocations: 3.233 MB / 1.344 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0362/1.734, allocations: 18.86 MB / 1.362 GB, free: 8.863 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008338/1.743, allocations: 4.687 MB / 1.367 GB, free: 4.145 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.009795/1.753, allocations: 2.08 MB / 1.369 GB, free: 2.07 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003054/1.756, allocations: 491.2 kB / 1.369 GB, free: 1.59 MB / 0.9323 GB Notification: Performance of SimCode: time 9.32e-07/1.756, allocations: 0 / 1.369 GB, free: 1.59 MB / 0.9323 GB Notification: Performance of Templates: time 0.7639/2.52, allocations: 131.4 MB / 1.498 GB, free: 242.9 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)