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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001133/0.001133, allocations: 192.3 kB / 16.13 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.513/1.513, allocations: 205.1 MB / 222 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.701/1.701, allocations: 292.2 MB / 0.5484 GB, free: 13.67 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 60.94 kB / 0.6708 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3025, allocations: 114.5 MB / 0.7827 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05232/0.3549, allocations: 55.66 MB / 0.837 GB, free: 6.191 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.03082/0.3858, allocations: 17.85 MB / 0.8544 GB, free: 4.297 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004735/0.3905, allocations: 71.56 kB / 0.8545 GB, free: 4.227 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003691/0.3943, allocations: 0.7225 MB / 0.8552 GB, free: 3.5 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00966/0.404, allocations: 2.298 MB / 0.8575 GB, free: 1.191 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004737/0.4088, allocations: 1.367 MB / 0.8588 GB, free: 15.83 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.02811/0.4369, allocations: 27.68 MB / 0.8858 GB, free: 4.074 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01584/0.4528, allocations: 8.697 MB / 0.8943 GB, free: 11.26 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01547/0.4684, allocations: 5.525 MB / 0.8997 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01431/0.4827, allocations: 6.189 MB / 0.9058 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.003209/0.486, allocations: 472 kB / 0.9062 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009692/0.4957, allocations: 1.147 MB / 0.9073 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.005711/0.5015, allocations: 1.798 MB / 0.9091 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.01334/0.5148, allocations: 4.098 MB / 0.9131 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.6173/1.132, allocations: 12.59 MB / 0.9254 GB, free: 45.59 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.131e-05/1.132, allocations: 1.031 kB / 0.9254 GB, free: 45.59 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.834e-06/1.132, allocations: 0 / 0.9254 GB, free: 45.59 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0005984/1.133, allocations: 3.75 kB / 0.9254 GB, free: 45.59 MB / 0.7325 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.03323/1.166, allocations: 8.443 MB / 0.9336 GB, free: 42.82 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/1.166, allocations: 8.594 kB / 0.9336 GB, free: 42.82 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006525/1.173, allocations: 0.8546 MB / 0.9345 GB, free: 42.42 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01684/1.189, allocations: 6.492 MB / 0.9408 GB, free: 41.46 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008918/1.19, allocations: 460 kB / 0.9412 GB, free: 41.45 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004473/1.195, allocations: 0.6061 MB / 0.9418 GB, free: 41.44 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03112/1.226, allocations: 9.023 MB / 0.9507 GB, free: 40.47 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003456/1.226, allocations: 18.69 kB / 0.9507 GB, free: 40.47 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002918/1.229, allocations: 263.5 kB / 0.9509 GB, free: 40.47 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000264/1.23, allocations: 182 kB / 0.9511 GB, free: 40.47 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02162/1.251, allocations: 7.443 MB / 0.9584 GB, free: 40.42 MB / 0.7325 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.05566/1.307, allocations: 35.89 MB / 0.9934 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006455/1.313, allocations: 4.277 MB / 0.9976 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004211/1.318, allocations: 3.306 MB / 1.001 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001118/1.319, allocations: 0.9578 MB / 1.002 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003763/1.323, allocations: 2.38 MB / 1.004 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003368/1.326, allocations: 452.1 kB / 1.005 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=317): time 8.867e-06/1.326, allocations: 1.531 kB / 1.005 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317): time 0.01179/1.338, allocations: 7.098 MB / 1.011 GB, free: 8.668 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/1.338, allocations: 89.11 kB / 1.012 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00758/1.346, allocations: 5.374 MB / 1.017 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001033/1.347, allocations: 89.7 kB / 1.017 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00253/1.349, allocations: 3.17 MB / 1.02 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001617/1.351, allocations: 1.121 MB / 1.021 GB, free: 172 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001408/1.352, allocations: 0.8536 MB / 1.022 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.244e-05/1.352, allocations: 301.1 kB / 1.022 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003342/1.356, allocations: 2.148 MB / 1.024 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004972/1.361, allocations: 3.69 MB / 1.028 GB, free: 8.488 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00942/1.37, allocations: 6.306 MB / 1.034 GB, free: 1.668 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.898e-05/1.37, allocations: 12 kB / 1.034 GB, free: 1.656 MB / 0.7481 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01261/1.383, allocations: 6.739 MB / 1.041 GB, free: 11.17 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 8.191e-05/1.383, allocations: 58.89 kB / 1.041 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.511e-05/1.383, allocations: 56.12 kB / 1.041 GB, free: 11.05 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/1.384, allocations: 435.8 kB / 1.041 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003521/1.388, allocations: 0.9922 MB / 1.042 GB, free: 9.699 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00565/1.393, allocations: 5.272 MB / 1.047 GB, free: 4.223 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006408/1.4, allocations: 474.8 kB / 1.048 GB, free: 3.758 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008969/1.401, allocations: 216 kB / 1.048 GB, free: 3.547 MB / 0.7637 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.006946/1.408, allocations: 2.459 MB / 1.05 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003021/1.411, allocations: 0.521 MB / 1.051 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0104/1.421, allocations: 5.24 MB / 1.056 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.879e-05/1.421, allocations: 32 kB / 1.056 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/1.421, allocations: 4 kB / 1.056 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006418/1.427, allocations: 4.532 MB / 1.06 GB, free: 6.727 MB / 0.7794 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.0243/1.452, allocations: 11.93 MB / 1.072 GB, free: 10.72 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/1.452, allocations: 7.938 kB / 1.072 GB, free: 10.71 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002792/1.455, allocations: 0.6364 MB / 1.073 GB, free: 10.11 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009806/1.456, allocations: 379.4 kB / 1.073 GB, free: 9.734 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002629/1.456, allocations: 83.95 kB / 1.073 GB, free: 9.652 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005673/1.462, allocations: 5.184 MB / 1.078 GB, free: 4.238 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/1.462, allocations: 3.938 kB / 1.078 GB, free: 4.234 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01211/1.474, allocations: 7.603 MB / 1.086 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004208/1.478, allocations: 1.119 MB / 1.087 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001783/1.48, allocations: 72.64 kB / 1.087 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005139/1.485, allocations: 473.6 kB / 1.087 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005393/1.486, allocations: 197.1 kB / 1.087 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004319/1.486, allocations: 143.9 kB / 1.088 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.006555/1.493, allocations: 3.742 MB / 1.091 GB, free: 6.828 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.583e-06/1.493, allocations: 4 kB / 1.091 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.008328/1.501, allocations: 1.981 MB / 1.093 GB, free: 4.84 MB / 0.8106 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.001752/1.503, allocations: 494 kB / 1.094 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.009098/1.512, allocations: 5.368 MB / 1.099 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/1.512, allocations: 4 kB / 1.099 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.004444/1.516, allocations: 2.511 MB / 1.101 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02004/1.536, allocations: 3.232 MB / 1.104 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02754/1.564, allocations: 16.35 MB / 1.12 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006656/1.571, allocations: 4.591 MB / 1.125 GB, free: 4.523 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.008819/1.58, allocations: 2.008 MB / 1.127 GB, free: 2.52 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001964/1.582, allocations: 450.8 kB / 1.127 GB, free: 2.082 MB / 0.8419 GB Notification: Performance of SimCode: time 8.42e-07/1.582, allocations: 4 kB / 1.127 GB, free: 2.078 MB / 0.8419 GB Notification: Performance of Templates: time 0.1857/1.767, allocations: 115.9 MB / 1.241 GB, free: 15.55 MB / 0.9669 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)