Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/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_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.756/1.756, allocations: 297.8 MB / 313.7 MB, free: 140 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 172.6 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 223.2 MB / 0.6626 GB, free: 4.25 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009187/0.0009188, allocations: 101 kB / 0.7808 GB, free: 50.36 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004699/0.0004699, allocations: 12 kB / 0.9088 GB, free: 2.891 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8324/0.8329, allocations: 120.3 MB / 1.026 GB, free: 55.8 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9847/1.818, allocations: 410.7 MB / 1.427 GB, free: 248.8 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003328/1.818, allocations: 90.72 kB / 1.427 GB, free: 248.8 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 7.541/9.359, allocations: 2.209 GB / 3.637 GB, free: 112.7 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.875e-06/9.359, allocations: 0 / 3.637 GB, free: 112.7 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.00138/9.36, allocations: 186.6 kB / 3.637 GB, free: 112.7 MB / 0.9948 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.02697/9.387, allocations: 7.136 MB / 3.644 GB, free: 110.4 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/9.387, allocations: 9.5 kB / 3.644 GB, free: 110.4 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005982/9.393, allocations: 0.8513 MB / 3.645 GB, free: 110 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02057/9.414, allocations: 7.484 MB / 3.652 GB, free: 109 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006098/9.415, allocations: 458.5 kB / 3.652 GB, free: 109 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002999/9.418, allocations: 0.5939 MB / 3.653 GB, free: 109 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02491/9.443, allocations: 8.491 MB / 3.661 GB, free: 108 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005964/9.443, allocations: 26.78 kB / 3.661 GB, free: 108 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00262/9.446, allocations: 263.2 kB / 3.661 GB, free: 108 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002392/9.446, allocations: 179.3 kB / 3.662 GB, free: 108 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01598/9.462, allocations: 6.896 MB / 3.668 GB, free: 108 MB / 0.9948 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.05654/9.519, allocations: 33.99 MB / 3.702 GB, free: 93.2 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00869/9.527, allocations: 4.206 MB / 3.706 GB, free: 93.12 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005572/9.533, allocations: 3.512 MB / 3.709 GB, free: 93.04 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001251/9.534, allocations: 0.957 MB / 3.71 GB, free: 92.1 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005243/9.54, allocations: 2.337 MB / 3.712 GB, free: 92 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004608/9.544, allocations: 459.6 kB / 3.713 GB, free: 91.79 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=317): time 3.427e-05/9.544, allocations: 0 / 3.713 GB, free: 91.79 MB / 0.9948 GB Notification: Performance of matching and sorting (n=317): time 0.0162/9.561, allocations: 7.031 MB / 3.72 GB, free: 91.16 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.477e-05/9.561, allocations: 87.53 kB / 3.72 GB, free: 91.1 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01337/9.574, allocations: 5.356 MB / 3.725 GB, free: 90.73 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008857/9.575, allocations: 88.11 kB / 3.725 GB, free: 90.7 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00405/9.579, allocations: 3.16 MB / 3.728 GB, free: 89.45 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001827/9.581, allocations: 1.111 MB / 3.729 GB, free: 88.76 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006578/9.582, allocations: 91.84 kB / 3.729 GB, free: 88.76 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.000445/9.582, allocations: 491.6 kB / 3.73 GB, free: 88.45 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004382/9.586, allocations: 2.106 MB / 3.732 GB, free: 88.43 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005498/9.592, allocations: 3.656 MB / 3.735 GB, free: 86.59 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008624/9.601, allocations: 6.221 MB / 3.741 GB, free: 84.73 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001012/9.601, allocations: 14.69 kB / 3.741 GB, free: 84.73 MB / 0.9948 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01363/9.614, allocations: 6.664 MB / 3.748 GB, free: 84.28 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001291/9.615, allocations: 53.7 kB / 3.748 GB, free: 84.25 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001277/9.615, allocations: 47.41 kB / 3.748 GB, free: 84.25 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001208/9.616, allocations: 423.1 kB / 3.748 GB, free: 84.23 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003727/9.62, allocations: 0.9941 MB / 3.749 GB, free: 84.23 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004748/9.624, allocations: 5.317 MB / 3.755 GB, free: 81.52 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006752/9.631, allocations: 466.9 kB / 3.755 GB, free: 81.47 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000883/9.632, allocations: 220.6 kB / 3.755 GB, free: 81.47 MB / 0.9948 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.005623/9.638, allocations: 2.458 MB / 3.758 GB, free: 81.32 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002207/9.64, allocations: 0.5209 MB / 3.758 GB, free: 81.05 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01006/9.65, allocations: 5.17 MB / 3.763 GB, free: 80.82 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.75e-05/9.65, allocations: 29.94 kB / 3.763 GB, free: 80.82 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.693e-05/9.65, allocations: 7.094 kB / 3.763 GB, free: 80.82 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006273/9.656, allocations: 4.454 MB / 3.768 GB, free: 80.35 MB / 0.9948 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.02549/9.682, allocations: 11.84 MB / 3.779 GB, free: 79.47 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/9.682, allocations: 0 / 3.779 GB, free: 79.47 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002671/9.685, allocations: 0.6547 MB / 3.78 GB, free: 79.47 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007533/9.685, allocations: 373.9 kB / 3.78 GB, free: 79.45 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003658/9.686, allocations: 89.67 kB / 3.78 GB, free: 79.45 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004383/9.69, allocations: 5.211 MB / 3.785 GB, free: 76.35 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/9.69, allocations: 0 / 3.785 GB, free: 76.35 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01202/9.702, allocations: 7.551 MB / 3.793 GB, free: 73.27 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004415/9.707, allocations: 1.192 MB / 3.794 GB, free: 72.62 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002333/9.709, allocations: 75.84 kB / 3.794 GB, free: 72.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005588/9.715, allocations: 448.3 kB / 3.794 GB, free: 72.5 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006497/9.715, allocations: 193.7 kB / 3.795 GB, free: 72.48 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006196/9.716, allocations: 144.3 kB / 3.795 GB, free: 72.45 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.008452/9.724, allocations: 3.709 MB / 3.798 GB, free: 71.19 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4.3e-07/9.724, allocations: 3.562 kB / 3.798 GB, free: 71.19 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.00897/9.733, allocations: 2.033 MB / 3.8 GB, free: 70.77 MB / 0.9948 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.002183/9.736, allocations: 0.8181 MB / 3.801 GB, free: 70.54 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.009331/9.745, allocations: 5.312 MB / 3.806 GB, free: 68.68 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/9.745, allocations: 3.219 kB / 3.806 GB, free: 68.68 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.003782/9.749, allocations: 2.486 MB / 3.809 GB, free: 67.7 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01915/9.768, allocations: 3.188 MB / 3.812 GB, free: 67.2 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02825/9.796, allocations: 16.02 MB / 3.828 GB, free: 59.61 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007027/9.803, allocations: 4.605 MB / 3.832 GB, free: 57.98 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.008973/9.812, allocations: 2.024 MB / 3.834 GB, free: 57.81 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002206/9.815, allocations: 464.2 kB / 3.834 GB, free: 57.78 MB / 0.9948 GB Notification: Performance of SimCode: time 8.41e-07/9.815, allocations: 0 / 3.834 GB, free: 57.78 MB / 0.9948 GB Notification: Performance of Templates: time 0.1867/10, allocations: 117.9 MB / 3.95 GB, free: 8.676 MB / 1.01 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)