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.8721/0.8721, allocations: 143.4 MB / 158.3 MB, free: 5.773 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.001781/0.001781, allocations: 185.9 kB / 191.5 MB, free: 5.73 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.883/1.883, allocations: 223.2 MB / 447.7 MB, free: 4.793 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.0009627/0.0009624, allocations: 84.39 kB / 0.5188 GB, free: 1.164 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001826/0.001826, allocations: 270.7 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004589/0.0004589, allocations: 16.94 kB / 0.6929 GB, free: 59.6 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2195, allocations: 82.78 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8948/1.114, allocations: 378.4 MB / 1.143 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004198/1.115, allocations: 99.89 kB / 1.143 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.247/9.362, allocations: 2.225 GB / 3.369 GB, free: 23.02 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.954e-06/9.362, allocations: 0 / 3.369 GB, free: 23.02 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.001184/9.363, allocations: 182.4 kB / 3.369 GB, free: 22.84 MB / 0.7292 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.02544/9.389, allocations: 7.219 MB / 3.376 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/9.389, allocations: 12.03 kB / 3.376 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005891/9.395, allocations: 0.8538 MB / 3.377 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01874/9.413, allocations: 7.74 MB / 3.384 GB, free: 6.91 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004611/9.414, allocations: 460.1 kB / 3.385 GB, free: 6.457 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002721/9.417, allocations: 0.6014 MB / 3.385 GB, free: 5.855 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5234/9.94, allocations: 8.441 MB / 3.394 GB, free: 72.54 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002888/9.94, allocations: 19.95 kB / 3.394 GB, free: 72.54 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001743/9.942, allocations: 260.9 kB / 3.394 GB, free: 72.54 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002342/9.942, allocations: 244.2 kB / 3.394 GB, free: 72.52 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01976/9.962, allocations: 6.894 MB / 3.401 GB, free: 72.48 MB / 0.7292 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.06285/10.03, allocations: 34.22 MB / 3.434 GB, free: 58.32 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006849/10.03, allocations: 4.263 MB / 3.438 GB, free: 58.27 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001266/10.03, allocations: 0.9593 MB / 3.439 GB, free: 57.33 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004386/10.04, allocations: 2.351 MB / 3.442 GB, free: 57.22 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004638/10.04, allocations: 488.9 kB / 3.442 GB, free: 57.1 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=317): time 2.199e-05/10.04, allocations: 5.562 kB / 3.442 GB, free: 57.1 MB / 0.7292 GB Notification: Performance of matching and sorting (n=317): time 0.01319/10.06, allocations: 7.06 MB / 3.449 GB, free: 56.47 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/10.06, allocations: 88.81 kB / 3.449 GB, free: 56.41 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009542/10.07, allocations: 5.196 MB / 3.454 GB, free: 56.09 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.001114/10.07, allocations: 89.08 kB / 3.454 GB, free: 56.06 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.003495/10.07, allocations: 3.149 MB / 3.457 GB, free: 55.16 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.002104/10.07, allocations: 1.112 MB / 3.458 GB, free: 54.53 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003846/10.07, allocations: 88.81 kB / 3.458 GB, free: 54.53 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0004192/10.07, allocations: 491.5 kB / 3.459 GB, free: 54.22 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004063/10.08, allocations: 2.132 MB / 3.461 GB, free: 54.2 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004704/10.08, allocations: 3.654 MB / 3.465 GB, free: 52.37 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004463/10.09, allocations: 2.894 MB / 3.467 GB, free: 52.29 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.684e-05/10.09, allocations: 14.97 kB / 3.467 GB, free: 52.29 MB / 0.7292 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01245/10.1, allocations: 6.696 MB / 3.474 GB, free: 51.85 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.743e-05/10.1, allocations: 51.83 kB / 3.474 GB, free: 51.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-05/10.1, allocations: 50.5 kB / 3.474 GB, free: 51.82 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009946/10.1, allocations: 446.9 kB / 3.474 GB, free: 51.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00434/10.1, allocations: 1.026 MB / 3.475 GB, free: 51.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005132/10.11, allocations: 5.412 MB / 3.481 GB, free: 49.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007677/10.12, allocations: 476 kB / 3.481 GB, free: 49.04 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001311/10.12, allocations: 220.4 kB / 3.481 GB, free: 49.04 MB / 0.7292 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.007293/10.13, allocations: 2.457 MB / 3.484 GB, free: 48.9 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002585/10.13, allocations: 0.5217 MB / 3.484 GB, free: 48.63 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0126/10.14, allocations: 5.217 MB / 3.489 GB, free: 48.39 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.659e-05/10.14, allocations: 29.84 kB / 3.489 GB, free: 48.39 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.887e-05/10.14, allocations: 6.406 kB / 3.489 GB, free: 48.39 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007897/10.15, allocations: 4.5 MB / 3.494 GB, free: 47.92 MB / 0.7292 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.03532/10.18, allocations: 11.81 MB / 3.505 GB, free: 47.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.875e-05/10.18, allocations: 5.5 kB / 3.505 GB, free: 47.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003464/10.19, allocations: 0.6174 MB / 3.506 GB, free: 47.14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009532/10.19, allocations: 374.1 kB / 3.506 GB, free: 47.12 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000817/10.19, allocations: 80.81 kB / 3.506 GB, free: 47.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00707/10.2, allocations: 5.307 MB / 3.512 GB, free: 60.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/10.2, allocations: 5.125 kB / 3.512 GB, free: 60.41 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01582/10.21, allocations: 7.728 MB / 3.519 GB, free: 59.62 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005865/10.22, allocations: 1.26 MB / 3.52 GB, free: 59.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003043/10.22, allocations: 66.25 kB / 3.52 GB, free: 59.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007611/10.23, allocations: 422.4 kB / 3.521 GB, free: 59.24 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001361/10.23, allocations: 201.4 kB / 3.521 GB, free: 59.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001375/10.23, allocations: 137.4 kB / 3.521 GB, free: 59.23 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00995/10.24, allocations: 4.045 MB / 3.525 GB, free: 59.05 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.513e-06/10.24, allocations: 0 / 3.525 GB, free: 59.05 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.01096/10.25, allocations: 2.064 MB / 3.527 GB, free: 58.8 MB / 0.7448 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.003121/10.26, allocations: 0.8292 MB / 3.528 GB, free: 58.64 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0108/10.27, allocations: 5.351 MB / 3.533 GB, free: 58.26 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.756e-05/10.27, allocations: 7.406 kB / 3.533 GB, free: 58.26 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.00486/10.27, allocations: 2.493 MB / 3.536 GB, free: 58 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01726/10.29, allocations: 3.172 MB / 3.539 GB, free: 57.98 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03428/10.32, allocations: 15.99 MB / 3.554 GB, free: 52.41 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009683/10.33, allocations: 4.717 MB / 3.559 GB, free: 51.48 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.01122/10.34, allocations: 2.093 MB / 3.561 GB, free: 51.31 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002981/10.35, allocations: 462.7 kB / 3.561 GB, free: 51.3 MB / 0.7448 GB Notification: Performance of SimCode: time 1.443e-06/10.35, allocations: 4.469 kB / 3.561 GB, free: 51.3 MB / 0.7448 GB Notification: Performance of Templates: time 0.6978/11.05, allocations: 117.5 MB / 3.676 GB, free: 86.88 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)