Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7714/0.7714, allocations: 143.4 MB / 159.2 MB, free: 4.891 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 186 kB / 191.9 MB, free: 5.723 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 447.3 MB, free: 5.855 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.001139, allocations: 111.2 kB / 0.517 GB, free: 3.707 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002072/0.002072, allocations: 291.2 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 72.31 kB / 0.6885 GB, free: 3.852 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4218/0.4233, allocations: 81.3 MB / 0.7679 GB, free: 27.65 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04787/0.4712, allocations: 55.62 MB / 0.8222 GB, free: 3.852 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.02802/0.4993, allocations: 17.89 MB / 0.8397 GB, free: 1.914 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003984/0.5033, allocations: 67.62 kB / 0.8398 GB, free: 1.848 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.003435/0.5068, allocations: 0.7224 MB / 0.8405 GB, free: 1.121 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.008844/0.5157, allocations: 2.32 MB / 0.8427 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.004577/0.5203, allocations: 1.366 MB / 0.8441 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.02997/0.5503, allocations: 27.83 MB / 0.8712 GB, free: 1.539 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01376/0.5641, allocations: 8.713 MB / 0.8798 GB, free: 8.707 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01164/0.5758, allocations: 5.58 MB / 0.8852 GB, free: 3.105 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01197/0.5878, allocations: 6.182 MB / 0.8912 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.001974/0.5898, allocations: 475.9 kB / 0.8917 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0051/0.5949, allocations: 1.158 MB / 0.8928 GB, free: 11.27 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.002272/0.5972, allocations: 1.783 MB / 0.8946 GB, free: 9.484 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0084/0.6056, allocations: 4.11 MB / 0.8986 GB, free: 5.355 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.4263/1.032, allocations: 12.59 MB / 0.9109 GB, free: 40.04 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/1.032, allocations: 0 / 0.9109 GB, free: 40.04 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.683e-06/1.032, allocations: 0 / 0.9109 GB, free: 40.04 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0005298/1.033, allocations: 1.031 kB / 0.9109 GB, free: 40.04 MB / 0.5573 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.03352/1.066, allocations: 8.45 MB / 0.9191 GB, free: 37.12 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/1.066, allocations: 7.219 kB / 0.9191 GB, free: 37.12 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006964/1.073, allocations: 0.8525 MB / 0.92 GB, free: 36.73 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01905/1.092, allocations: 6.499 MB / 0.9263 GB, free: 35.77 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008433/1.093, allocations: 458.5 kB / 0.9267 GB, free: 35.75 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003925/1.097, allocations: 0.5963 MB / 0.9273 GB, free: 35.75 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02373/1.121, allocations: 9.028 MB / 0.9361 GB, free: 34.77 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001821/1.121, allocations: 17.72 kB / 0.9362 GB, free: 34.77 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00127/1.122, allocations: 259 kB / 0.9364 GB, free: 34.77 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001919/1.122, allocations: 185 kB / 0.9366 GB, free: 34.77 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01685/1.139, allocations: 7.446 MB / 0.9439 GB, free: 34.72 MB / 0.5573 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.05882/1.198, allocations: 35.88 MB / 0.9789 GB, free: 8.434 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006423/1.205, allocations: 4.284 MB / 0.9831 GB, free: 4.195 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004426/1.209, allocations: 3.305 MB / 0.9863 GB, free: 0.8984 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00116/1.21, allocations: 0.9581 MB / 0.9872 GB, free: 15.77 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00442/1.215, allocations: 2.382 MB / 0.9896 GB, free: 13.35 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003621/1.218, allocations: 443.8 kB / 0.99 GB, free: 12.91 MB / 0.573 GB Notification: Performance of pre-optimization done (n=317): time 1.375e-05/1.218, allocations: 0 / 0.99 GB, free: 12.91 MB / 0.573 GB Notification: Performance of matching and sorting (n=317): time 0.01724/1.236, allocations: 7.097 MB / 0.9969 GB, free: 5.746 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.006e-05/1.236, allocations: 91.75 kB / 0.997 GB, free: 5.645 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01097/1.247, allocations: 5.38 MB / 1.002 GB, free: 292 kB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001186/1.248, allocations: 85.7 kB / 1.002 GB, free: 200 kB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.003523/1.252, allocations: 3.168 MB / 1.005 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.002414/1.254, allocations: 1.113 MB / 1.007 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001441/1.255, allocations: 0.8581 MB / 1.007 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000109/1.256, allocations: 301.1 kB / 1.008 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003562/1.259, allocations: 2.152 MB / 1.01 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004312/1.263, allocations: 3.683 MB / 1.013 GB, free: 4.219 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008402/1.272, allocations: 6.303 MB / 1.02 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.829e-05/1.272, allocations: 23.98 kB / 1.02 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01238/1.284, allocations: 6.749 MB / 1.026 GB, free: 6.883 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.276e-05/1.284, allocations: 53.69 kB / 1.026 GB, free: 6.824 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-05/1.284, allocations: 52 kB / 1.026 GB, free: 6.773 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001001/1.285, allocations: 427.8 kB / 1.027 GB, free: 6.352 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003754/1.289, allocations: 1.004 MB / 1.028 GB, free: 5.418 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005499/1.295, allocations: 5.271 MB / 1.033 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006815/1.302, allocations: 466.8 kB / 1.033 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009804/1.303, allocations: 216 kB / 1.033 GB, free: 15.27 MB / 0.6198 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.005777/1.308, allocations: 2.465 MB / 1.036 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001876/1.31, allocations: 0.5249 MB / 1.036 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00925/1.32, allocations: 5.228 MB / 1.041 GB, free: 7.066 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-05/1.32, allocations: 38.89 kB / 1.041 GB, free: 7.031 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/1.32, allocations: 5.312 kB / 1.041 GB, free: 7.027 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006274/1.326, allocations: 4.525 MB / 1.046 GB, free: 2.41 MB / 0.6198 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.02461/1.351, allocations: 11.93 MB / 1.058 GB, free: 6.414 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.411e-05/1.351, allocations: 11.94 kB / 1.058 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002677/1.353, allocations: 0.6417 MB / 1.058 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008552/1.354, allocations: 378.4 kB / 1.059 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002496/1.354, allocations: 83.95 kB / 1.059 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005092/1.36, allocations: 5.179 MB / 1.064 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/1.36, allocations: 3.938 kB / 1.064 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1189/1.478, allocations: 47.36 MB / 1.11 GB, free: 136 kB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004893/1.483, allocations: 1.131 MB / 1.111 GB, free: 14.98 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002293/1.486, allocations: 63.98 kB / 1.111 GB, free: 14.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006564/1.492, allocations: 462.1 kB / 1.112 GB, free: 14.46 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001264/1.494, allocations: 199 kB / 1.112 GB, free: 14.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001098/1.495, allocations: 143.9 kB / 1.112 GB, free: 14.13 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00927/1.504, allocations: 3.746 MB / 1.116 GB, free: 10.41 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.71e-07/1.504, allocations: 0 / 1.116 GB, free: 10.41 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01629/1.52, allocations: 2.917 MB / 1.118 GB, free: 7.484 MB / 0.698 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.001893/1.522, allocations: 492.7 kB / 1.119 GB, free: 7.055 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.009096/1.531, allocations: 5.367 MB / 1.124 GB, free: 1.793 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/1.531, allocations: 8.062 kB / 1.124 GB, free: 1.785 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.004063/1.535, allocations: 2.502 MB / 1.127 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02171/1.557, allocations: 3.236 MB / 1.13 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04063/1.598, allocations: 18.87 MB / 1.148 GB, free: 9.23 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009273/1.607, allocations: 4.69 MB / 1.153 GB, free: 4.508 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.01081/1.618, allocations: 2.083 MB / 1.155 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003534/1.622, allocations: 486.1 kB / 1.155 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of SimCode: time 1.483e-06/1.622, allocations: 0 / 1.155 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of Templates: time 0.5286/2.15, allocations: 131.4 MB / 1.284 GB, free: 195.7 MB / 0.7448 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)