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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.852/0.852, allocations: 140.1 MB / 156 MB, free: 5.184 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001394/0.001393, allocations: 181.8 kB / 188.5 MB, free: 15.84 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.03/2.03, allocations: 205.4 MB / 426.3 MB, free: 8.492 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008752/0.0008751, allocations: 90.3 kB / 0.4945 GB, free: 8.43 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001722/0.001722, allocations: 273.2 kB / 0.5728 GB, free: 66.24 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005263/0.0005265, allocations: 16 kB / 0.662 GB, free: 6.832 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4875/0.4881, allocations: 79.31 MB / 0.7395 GB, free: 46.37 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9111/1.399, allocations: 376.5 MB / 1.107 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003053/1.4, allocations: 88.83 kB / 1.107 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.755/10.15, allocations: 2.175 GB / 3.282 GB, free: 76.21 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.344e-06/10.15, allocations: 3.625 kB / 3.282 GB, free: 76.21 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.001301/10.16, allocations: 195.6 kB / 3.282 GB, free: 76.18 MB / 0.698 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.02868/10.18, allocations: 7.131 MB / 3.289 GB, free: 73.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/10.18, allocations: 6.969 kB / 3.289 GB, free: 73.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006597/10.19, allocations: 0.848 MB / 3.29 GB, free: 73.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02054/10.21, allocations: 7.489 MB / 3.297 GB, free: 72.27 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005632/10.21, allocations: 462.3 kB / 3.298 GB, free: 72.25 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003136/10.22, allocations: 0.5937 MB / 3.298 GB, free: 72.25 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02571/10.24, allocations: 8.492 MB / 3.306 GB, free: 71.29 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004961/10.24, allocations: 23.84 kB / 3.306 GB, free: 71.28 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002802/10.24, allocations: 259.3 kB / 3.307 GB, free: 71.28 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002985/10.24, allocations: 184.9 kB / 3.307 GB, free: 71.28 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01787/10.26, allocations: 6.896 MB / 3.314 GB, free: 71.23 MB / 0.698 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.05878/10.32, allocations: 34 MB / 3.347 GB, free: 56.45 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007173/10.33, allocations: 4.201 MB / 3.351 GB, free: 56.39 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0052/10.33, allocations: 3.511 MB / 3.354 GB, free: 56.31 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001137/10.34, allocations: 0.9521 MB / 3.355 GB, free: 55.37 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004598/10.34, allocations: 2.349 MB / 3.358 GB, free: 55.26 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004177/10.34, allocations: 465.4 kB / 3.358 GB, free: 55.05 MB / 0.698 GB Notification: Performance of pre-optimization done (n=317): time 2.358e-05/10.34, allocations: 0 / 3.358 GB, free: 55.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=317): time 0.01532/10.36, allocations: 7.021 MB / 3.365 GB, free: 54.43 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.424e-05/10.36, allocations: 89.97 kB / 3.365 GB, free: 54.36 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01357/10.37, allocations: 5.356 MB / 3.37 GB, free: 53.99 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.00105/10.37, allocations: 89.45 kB / 3.37 GB, free: 53.96 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.003555/10.38, allocations: 3.152 MB / 3.373 GB, free: 52.72 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001762/10.38, allocations: 1.122 MB / 3.374 GB, free: 52.02 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003254/10.38, allocations: 88.19 kB / 3.374 GB, free: 52.02 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002574/10.38, allocations: 489.1 kB / 3.375 GB, free: 51.71 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003/10.38, allocations: 2.109 MB / 3.377 GB, free: 51.69 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003558/10.39, allocations: 3.649 MB / 3.381 GB, free: 49.86 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007783/10.39, allocations: 6.233 MB / 3.387 GB, free: 48 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.638e-05/10.39, allocations: 11.03 kB / 3.387 GB, free: 48 MB / 0.698 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01357/10.41, allocations: 6.653 MB / 3.393 GB, free: 47.55 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9e-05/10.41, allocations: 54.64 kB / 3.393 GB, free: 47.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001177/10.41, allocations: 48.94 kB / 3.393 GB, free: 47.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009904/10.41, allocations: 433.5 kB / 3.394 GB, free: 47.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003613/10.41, allocations: 0.988 MB / 3.395 GB, free: 47.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004947/10.42, allocations: 5.32 MB / 3.4 GB, free: 44.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007401/10.43, allocations: 462.1 kB / 3.4 GB, free: 44.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001325/10.43, allocations: 225.2 kB / 3.4 GB, free: 44.04 MB / 0.698 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.008495/10.44, allocations: 2.458 MB / 3.403 GB, free: 43.04 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002408/10.44, allocations: 0.5209 MB / 3.403 GB, free: 42.77 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01166/10.45, allocations: 5.167 MB / 3.408 GB, free: 40.79 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.343e-05/10.45, allocations: 34.66 kB / 3.408 GB, free: 40.79 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.588e-05/10.45, allocations: 3.438 kB / 3.408 GB, free: 40.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007365/10.46, allocations: 4.445 MB / 3.413 GB, free: 38.94 MB / 0.698 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.03304/10.49, allocations: 11.84 MB / 3.424 GB, free: 34.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.279e-05/10.49, allocations: 0 / 3.424 GB, free: 34.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004727/10.49, allocations: 0.6546 MB / 3.425 GB, free: 34.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00122/10.5, allocations: 366 kB / 3.425 GB, free: 34.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007134/10.5, allocations: 92.53 kB / 3.425 GB, free: 34.15 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007169/10.5, allocations: 5.213 MB / 3.431 GB, free: 30.35 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/10.5, allocations: 4.75 kB / 3.431 GB, free: 30.35 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0139/10.52, allocations: 7.553 MB / 3.438 GB, free: 27.25 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004739/10.52, allocations: 1.192 MB / 3.439 GB, free: 26.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0023/10.53, allocations: 74.66 kB / 3.439 GB, free: 26.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005443/10.53, allocations: 445.5 kB / 3.44 GB, free: 26.48 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007135/10.53, allocations: 201.6 kB / 3.44 GB, free: 26.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006705/10.53, allocations: 142.5 kB / 3.44 GB, free: 26.43 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.008751/10.54, allocations: 3.713 MB / 3.444 GB, free: 25.17 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.11e-07/10.54, allocations: 0 / 3.444 GB, free: 25.17 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01148/10.55, allocations: 2.031 MB / 3.446 GB, free: 23.35 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 (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.002997/10.56, allocations: 0.8114 MB / 3.446 GB, free: 22.77 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01103/10.57, allocations: 5.319 MB / 3.452 GB, free: 18.14 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-05/10.57, allocations: 0 / 3.452 GB, free: 18.14 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.005319/10.57, allocations: 2.48 MB / 3.454 GB, free: 15.97 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02104/10.59, allocations: 3.181 MB / 3.457 GB, free: 13.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03332/10.63, allocations: 16.04 MB / 3.473 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01029/10.64, allocations: 4.604 MB / 3.477 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.01107/10.65, allocations: 1.988 MB / 3.479 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002997/10.65, allocations: 460.5 kB / 3.48 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of SimCode: time 1.463e-06/10.65, allocations: 0 / 3.48 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of Templates: time 0.6256/11.28, allocations: 117.9 MB / 3.595 GB, free: 74.12 MB / 0.7136 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)