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.8733/0.8733, allocations: 141.8 MB / 149.3 MB, free: 9.254 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.001061/0.001061, allocations: 172.9 kB / 182.2 MB, free: 9.477 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.395/1.395, allocations: 221.5 MB / 436.4 MB, free: 13.36 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.0009649/0.000965, allocations: 92.06 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001774/0.001774, allocations: 275.7 kB / 0.5889 GB, free: 54.69 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.725e-05/1.727e-05, allocations: 4 kB / 0.6765 GB, free: 12.85 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4433/0.4433, allocations: 82.77 MB / 0.7574 GB, free: 32.05 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7416/1.185, allocations: 377.7 MB / 1.126 GB, free: 3.734 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002969/1.185, allocations: 103.7 kB / 1.126 GB, free: 3.68 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 8.538/9.724, allocations: 2.209 GB / 3.335 GB, free: 76.97 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.575e-06/9.724, allocations: 1.969 kB / 3.335 GB, free: 76.97 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.001601/9.725, allocations: 186.8 kB / 3.335 GB, free: 76.94 MB / 0.7136 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.0223/9.748, allocations: 6.112 MB / 3.341 GB, free: 74.88 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/9.748, allocations: 10.5 kB / 3.341 GB, free: 74.88 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005558/9.753, allocations: 0.8402 MB / 3.342 GB, free: 74.48 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0178/9.771, allocations: 7.716 MB / 3.35 GB, free: 73.65 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003874/9.772, allocations: 196.3 kB / 3.35 GB, free: 73.65 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002466/9.774, allocations: 359.1 kB / 3.35 GB, free: 73.64 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01372/9.788, allocations: 6.319 MB / 3.356 GB, free: 73.61 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.022/9.81, allocations: 7.448 MB / 3.364 GB, free: 72.68 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004685/9.81, allocations: 17 kB / 3.364 GB, free: 72.68 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002485/9.813, allocations: 13.5 kB / 3.364 GB, free: 72.68 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002523/9.813, allocations: 240.3 kB / 3.364 GB, free: 72.66 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or 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.05385/9.867, allocations: 33.04 MB / 3.396 GB, free: 58.07 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00641/9.873, allocations: 4.007 MB / 3.4 GB, free: 58.02 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004442/9.878, allocations: 3.105 MB / 3.403 GB, free: 57.97 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001296/9.879, allocations: 0.9543 MB / 3.404 GB, free: 57.03 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003685/9.883, allocations: 2.191 MB / 3.406 GB, free: 56.93 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003156/9.886, allocations: 350 kB / 3.406 GB, free: 56.76 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=317): time 8.436e-06/9.886, allocations: 0 / 3.406 GB, free: 56.76 MB / 0.7136 GB Notification: Performance of matching and sorting (n=317): time 0.008238/9.894, allocations: 4.528 MB / 3.411 GB, free: 56.37 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/9.894, allocations: 84.91 kB / 3.411 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00747/9.902, allocations: 4.247 MB / 3.415 GB, free: 55.97 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0006532/9.903, allocations: 31.92 kB / 3.415 GB, free: 55.94 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.003133/9.906, allocations: 3.148 MB / 3.418 GB, free: 54.57 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.00145/9.907, allocations: 1.072 MB / 3.419 GB, free: 53.87 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005275/9.908, allocations: 5.438 kB / 3.419 GB, free: 53.87 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000403/9.908, allocations: 490.9 kB / 3.42 GB, free: 53.56 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003183/9.911, allocations: 1.962 MB / 3.422 GB, free: 53.54 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003871/9.915, allocations: 3.457 MB / 3.425 GB, free: 51.73 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004935/9.92, allocations: 2.958 MB / 3.428 GB, free: 51.68 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.824e-05/9.92, allocations: 12.22 kB / 3.428 GB, free: 51.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01218/9.933, allocations: 6.223 MB / 3.434 GB, free: 51.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.074e-05/9.933, allocations: 60.22 kB / 3.434 GB, free: 51.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-05/9.933, allocations: 51.19 kB / 3.434 GB, free: 51.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009058/9.934, allocations: 426.7 kB / 3.435 GB, free: 51.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003946/9.938, allocations: 1.038 MB / 3.436 GB, free: 51.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005116/9.943, allocations: 5.133 MB / 3.441 GB, free: 48.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006706/9.95, allocations: 383 kB / 3.441 GB, free: 48.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001163/9.951, allocations: 223.1 kB / 3.441 GB, free: 48.59 MB / 0.7136 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 () * 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.001802/9.953, allocations: 254.4 kB / 3.441 GB, free: 48.45 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001925/9.954, allocations: 468.1 kB / 3.442 GB, free: 48.21 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009891/9.964, allocations: 5.011 MB / 3.447 GB, free: 47.98 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.923e-05/9.964, allocations: 32.44 kB / 3.447 GB, free: 47.98 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.735e-05/9.964, allocations: 5.344 kB / 3.447 GB, free: 47.98 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006793/9.971, allocations: 4.425 MB / 3.451 GB, free: 47.5 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or 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.02804/9.999, allocations: 11.11 MB / 3.462 GB, free: 46.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.405e-05/9.999, allocations: 5.906 kB / 3.462 GB, free: 46.72 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00295/10, allocations: 0.6247 MB / 3.463 GB, free: 46.72 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008186/10, allocations: 360.8 kB / 3.463 GB, free: 46.7 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005039/10, allocations: 45.16 kB / 3.463 GB, free: 46.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004858/10.01, allocations: 5.047 MB / 3.468 GB, free: 44.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/10.01, allocations: 3.969 kB / 3.468 GB, free: 44.09 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01289/10.02, allocations: 7.433 MB / 3.475 GB, free: 43.34 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004321/10.03, allocations: 1.197 MB / 3.476 GB, free: 43 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001823/10.03, allocations: 15.36 kB / 3.476 GB, free: 43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005465/10.03, allocations: 352.2 kB / 3.477 GB, free: 42.98 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000756/10.03, allocations: 195.4 kB / 3.477 GB, free: 42.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006177/10.03, allocations: 141.4 kB / 3.477 GB, free: 42.97 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.007987/10.04, allocations: 3.222 MB / 3.48 GB, free: 42.54 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.705e-06/10.04, allocations: 0 / 3.48 GB, free: 42.54 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.01133/10.05, allocations: 2.02 MB / 3.482 GB, free: 42.16 MB / 0.7136 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) * 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.002506/10.06, allocations: 0.7852 MB / 3.483 GB, free: 41.96 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.008804/10.07, allocations: 4.942 MB / 3.488 GB, free: 40.17 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.28e-05/10.07, allocations: 16.56 kB / 3.488 GB, free: 40.16 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003682/10.07, allocations: 2.33 MB / 3.49 GB, free: 39.22 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01458/10.08, allocations: 2.497 MB / 3.492 GB, free: 38.85 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02646/10.11, allocations: 11.25 MB / 3.503 GB, free: 34.77 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006244/10.12, allocations: 4.717 MB / 3.508 GB, free: 33.13 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.007269/10.12, allocations: 1.897 MB / 3.51 GB, free: 32.98 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001658/10.13, allocations: 430.2 kB / 3.51 GB, free: 32.95 MB / 0.7136 GB Notification: Performance of SimCode: time 2.364e-06/10.13, allocations: 0 / 3.51 GB, free: 32.95 MB / 0.7136 GB Notification: Performance of Templates: time 0.6237/10.75, allocations: 93.34 MB / 3.601 GB, free: 66.62 MB / 0.7292 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)