Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.558/4.558, allocations: 0.5623 GB / 0.577 GB, free: 3.309 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002415/0.002414, allocations: 356.6 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.876/3.876, allocations: 410.7 MB / 1.112 GB, free: 5.973 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001762/0.001762, allocations: 188.1 kB / 1.225 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004898/0.00049, allocations: 12 kB / 1.348 GB, free: 8.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5654/0.5659, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04692/0.6129, allocations: 51.53 MB / 1.511 GB, free: 232.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.02135/0.6343, allocations: 16.59 MB / 1.527 GB, free: 216.3 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002631/0.6369, allocations: 63.56 kB / 1.527 GB, free: 216.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002426/0.6394, allocations: 0.7395 MB / 1.528 GB, free: 215.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.00709/0.6465, allocations: 2.279 MB / 1.53 GB, free: 213.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0052/0.6517, allocations: 1.559 MB / 1.532 GB, free: 211.7 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0191/0.6709, allocations: 23.38 MB / 1.555 GB, free: 188.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009374/0.6803, allocations: 7.142 MB / 1.562 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008423/0.6887, allocations: 5.136 MB / 1.567 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008333/0.6971, allocations: 5.485 MB / 1.572 GB, free: 170.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.001242/0.6984, allocations: 344 kB / 1.572 GB, free: 170.3 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004444/0.7028, allocations: 0.78 MB / 1.573 GB, free: 169.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.002169/0.7051, allocations: 1.518 MB / 1.575 GB, free: 168 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.002809/0.7079, allocations: 1.603 MB / 1.576 GB, free: 166.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0104/0.7183, allocations: 10.28 MB / 1.586 GB, free: 156 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.7183, allocations: 0 / 1.586 GB, free: 156 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.341e-06/0.7184, allocations: 0 / 1.586 GB, free: 156 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002261/0.7186, allocations: 0 / 1.586 GB, free: 156 MB / 0.8542 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.01414/0.7328, allocations: 6.905 MB / 1.593 GB, free: 149 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.7328, allocations: 19.61 kB / 1.593 GB, free: 149 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003453/0.7363, allocations: 0.8423 MB / 1.594 GB, free: 148.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01336/0.7497, allocations: 6.351 MB / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003529/0.7501, allocations: 460.2 kB / 1.6 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001278/0.7514, allocations: 0.5975 MB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01752/0.7689, allocations: 8.985 MB / 1.61 GB, free: 131.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001636/0.7691, allocations: 23.78 kB / 1.61 GB, free: 131.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007841/0.7699, allocations: 256 kB / 1.61 GB, free: 131.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001643/0.7701, allocations: 179.9 kB / 1.61 GB, free: 131 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01612/0.7862, allocations: 7.422 MB / 1.617 GB, free: 123.5 MB / 0.8542 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.04829/0.8345, allocations: 35.94 MB / 1.653 GB, free: 85.52 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007249/0.8418, allocations: 4.268 MB / 1.657 GB, free: 81.25 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005524/0.8474, allocations: 3.386 MB / 1.66 GB, free: 77.86 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001252/0.8487, allocations: 0.9817 MB / 1.661 GB, free: 76.69 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004349/0.853, allocations: 2.382 MB / 1.663 GB, free: 74.27 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002547/0.8556, allocations: 443.8 kB / 1.664 GB, free: 73.83 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=317): time 7.068e-06/0.8556, allocations: 0 / 1.664 GB, free: 73.83 MB / 0.8542 GB Notification: Performance of matching and sorting (n=317): time 0.01492/0.8706, allocations: 7.082 MB / 1.671 GB, free: 66.66 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.8707, allocations: 85.91 kB / 1.671 GB, free: 66.56 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008472/0.8792, allocations: 5.337 MB / 1.676 GB, free: 61.24 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0005836/0.8798, allocations: 89.7 kB / 1.676 GB, free: 61.15 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.002811/0.8826, allocations: 3.164 MB / 1.679 GB, free: 57.95 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001329/0.8839, allocations: 1.121 MB / 1.68 GB, free: 56.81 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003014/0.8843, allocations: 92 kB / 1.68 GB, free: 56.72 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002412/0.8845, allocations: 491.6 kB / 1.681 GB, free: 56.23 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003942/0.8885, allocations: 2.14 MB / 1.683 GB, free: 54.09 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00478/0.8933, allocations: 3.674 MB / 1.686 GB, free: 49.71 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005143/0.8984, allocations: 2.904 MB / 1.689 GB, free: 46.79 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-05/0.8985, allocations: 16 kB / 1.689 GB, free: 46.77 MB / 0.8542 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01304/0.9116, allocations: 6.713 MB / 1.696 GB, free: 40.01 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7e-05/0.9117, allocations: 53.7 kB / 1.696 GB, free: 39.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.09e-05/0.9117, allocations: 51.98 kB / 1.696 GB, free: 39.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/0.9129, allocations: 453.3 kB / 1.696 GB, free: 39.45 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004766/0.9177, allocations: 1.01 MB / 1.697 GB, free: 38.44 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006215/0.924, allocations: 5.244 MB / 1.702 GB, free: 32.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006506/0.9305, allocations: 470.7 kB / 1.703 GB, free: 32.47 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006409/0.9312, allocations: 216 kB / 1.703 GB, free: 32.26 MB / 0.8542 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004666/0.9359, allocations: 2.466 MB / 1.706 GB, free: 29.79 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001232/0.9371, allocations: 0.5211 MB / 1.706 GB, free: 29.26 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009881/0.947, allocations: 5.237 MB / 1.711 GB, free: 23.98 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.082e-05/0.9471, allocations: 32 kB / 1.711 GB, free: 23.95 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.464e-05/0.9471, allocations: 4 kB / 1.711 GB, free: 23.94 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007606/0.9547, allocations: 4.523 MB / 1.716 GB, free: 19.31 MB / 0.8542 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.02262/0.9774, allocations: 11.94 MB / 1.727 GB, free: 7.184 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/0.9774, allocations: 128 / 1.727 GB, free: 7.184 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003525/0.9809, allocations: 0.6593 MB / 1.728 GB, free: 6.523 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00104/0.982, allocations: 373 kB / 1.728 GB, free: 6.156 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002805/0.9823, allocations: 83.95 kB / 1.728 GB, free: 6.074 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00572/0.988, allocations: 5.167 MB / 1.733 GB, free: 0.6328 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.046e-06/0.9881, allocations: 7.953 kB / 1.733 GB, free: 0.625 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5353/1.523, allocations: 7.587 MB / 1.741 GB, free: 248.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003629/1.527, allocations: 1.207 MB / 1.742 GB, free: 248.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001001/1.528, allocations: 66.61 kB / 1.742 GB, free: 248.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005007/1.533, allocations: 471.9 kB / 1.742 GB, free: 248.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004958/1.534, allocations: 203 kB / 1.743 GB, free: 248.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004241/1.534, allocations: 140.7 kB / 1.743 GB, free: 248.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.007427/1.541, allocations: 3.702 MB / 1.746 GB, free: 246.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9.88e-07/1.542, allocations: 0 / 1.746 GB, free: 246.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.007477/1.549, allocations: 1.98 MB / 1.748 GB, free: 246.7 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001397/1.55, allocations: 469.2 kB / 1.749 GB, free: 246.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01071/1.561, allocations: 5.353 MB / 1.754 GB, free: 244.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.708e-06/1.561, allocations: 6.031 kB / 1.754 GB, free: 244.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004764/1.566, allocations: 2.507 MB / 1.756 GB, free: 243.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01801/1.584, allocations: 3.228 MB / 1.76 GB, free: 242.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.027/1.611, allocations: 16.04 MB / 1.775 GB, free: 230.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004781/1.616, allocations: 4.715 MB / 1.78 GB, free: 225.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.007894/1.624, allocations: 1.993 MB / 1.782 GB, free: 223.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001582/1.625, allocations: 455.2 kB / 1.782 GB, free: 223.4 MB / 0.8542 GB Notification: Performance of SimCode: time 2.024e-06/1.625, allocations: 0 / 1.782 GB, free: 223.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.2057/1.831, allocations: 112 MB / 1.892 GB, free: 112.8 MB / 0.8542 GB