Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Storage.Examples.Stratified.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.Stratified") translateModel(IBPSA.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.Stratified") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009519/0.0009517, allocations: 179.1 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4517/0.4517, allocations: 90.81 MB / 104.5 MB, free: 9.797 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 221.3 MB / 348.3 MB, free: 412 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008641/0.0008642, allocations: 102.9 kB / 421.2 MB, free: 5.441 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.797e-05/2.8e-05, allocations: 0 / 0.4896 GB, free: 5.344 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.38, allocations: 72.31 MB / 0.5602 GB, free: 40.42 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.71/1.09, allocations: 375.6 MB / 0.927 GB, free: 7.168 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/1.09, allocations: 90.77 kB / 0.9271 GB, free: 7.125 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 10.6/11.69, allocations: 3.013 GB / 3.941 GB, free: 64.57 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.683e-06/11.69, allocations: 3.062 kB / 3.941 GB, free: 64.57 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.001498/11.7, allocations: 265 kB / 3.941 GB, free: 64.53 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2145 * Number of variables: 2145 Notification: Performance of Generate backend data structure: time 0.03038/11.73, allocations: 8.331 MB / 3.949 GB, free: 61.32 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/11.73, allocations: 10.42 kB / 3.949 GB, free: 61.32 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007844/11.73, allocations: 1.171 MB / 3.95 GB, free: 60.77 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02756/11.76, allocations: 11.05 MB / 3.961 GB, free: 57.04 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006547/11.76, allocations: 0.618 MB / 3.962 GB, free: 56.75 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003656/11.77, allocations: 0.8245 MB / 3.962 GB, free: 56.47 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03096/11.8, allocations: 11.55 MB / 3.974 GB, free: 49.78 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002919/11.8, allocations: 27.72 kB / 3.974 GB, free: 49.75 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00187/11.8, allocations: 354.8 kB / 3.974 GB, free: 49.41 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002033/11.8, allocations: 255.9 kB / 3.974 GB, free: 49.16 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01968/11.82, allocations: 9.432 MB / 3.983 GB, free: 39.72 MB / 0.6511 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.6203/12.44, allocations: 46.62 MB / 4.029 GB, free: 54.23 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009954/12.45, allocations: 6.238 MB / 4.035 GB, free: 53.96 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00746/12.46, allocations: 5.409 MB / 4.04 GB, free: 53.9 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001121/12.46, allocations: 0.8142 MB / 4.041 GB, free: 53.14 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005747/12.46, allocations: 3.329 MB / 4.044 GB, free: 52.98 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005846/12.47, allocations: 0.5551 MB / 4.045 GB, free: 52.98 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=449): time 3.051e-05/12.47, allocations: 0.8125 kB / 4.045 GB, free: 52.98 MB / 0.6511 GB Notification: Performance of matching and sorting (n=449): time 0.01167/12.48, allocations: 6.204 MB / 4.051 GB, free: 52.66 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.604e-05/12.48, allocations: 159.2 kB / 4.051 GB, free: 52.54 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01297/12.49, allocations: 7.125 MB / 4.058 GB, free: 52.12 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.001541/12.5, allocations: 111.4 kB / 4.058 GB, free: 52.09 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.004631/12.5, allocations: 4.326 MB / 4.062 GB, free: 50.92 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.002693/12.5, allocations: 1.563 MB / 4.064 GB, free: 50.04 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003882/12.5, allocations: 121.3 kB / 4.064 GB, free: 50.04 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0003221/12.5, allocations: 0.5408 MB / 4.065 GB, free: 49.72 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004058/12.51, allocations: 2.895 MB / 4.067 GB, free: 49.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00494/12.51, allocations: 4.767 MB / 4.072 GB, free: 47.5 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00511/12.52, allocations: 3.965 MB / 4.076 GB, free: 47.39 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.383e-05/12.52, allocations: 17.97 kB / 4.076 GB, free: 47.39 MB / 0.6511 GB Notification: Performance of matching and sorting (n=754) (initialization): time 0.01463/12.53, allocations: 8.67 MB / 4.084 GB, free: 46.84 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.009532/12.54, allocations: 29.27 MB / 4.113 GB, free: 31.62 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001684/12.54, allocations: 58.25 kB / 4.113 GB, free: 31.62 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001509/12.54, allocations: 102.3 kB / 4.113 GB, free: 31.62 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007551/12.55, allocations: 1.443 MB / 4.115 GB, free: 31.62 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001504/12.55, allocations: 129.2 kB / 4.115 GB, free: 31.62 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01085/12.56, allocations: 0.623 MB / 4.115 GB, free: 31.56 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001342/12.56, allocations: 286.2 kB / 4.116 GB, free: 31.56 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/12.56, allocations: 3.656 kB / 4.116 GB, free: 31.56 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0128/12.58, allocations: 8.081 MB / 4.123 GB, free: 31.41 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002185/12.58, allocations: 58.44 kB / 4.124 GB, free: 31.41 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000135/12.58, allocations: 97.94 kB / 4.124 GB, free: 31.41 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00528/12.58, allocations: 1.442 MB / 4.125 GB, free: 31.41 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001692/12.58, allocations: 125.9 kB / 4.125 GB, free: 31.41 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008132/12.59, allocations: 0.5953 MB / 4.126 GB, free: 31.36 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001052/12.59, allocations: 279.5 kB / 4.126 GB, free: 31.36 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 264 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,$PRE.TWat.nextEvent,TWat.nextEvent,TWat.nextEventScaled,P.a,P.b,P.last,$PRE.P.nextEvent,P.nextEvent,P.nextEventScaled,dH.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (744): * Single equations (assignments): 742 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00235/12.59, allocations: 0.5499 MB / 4.127 GB, free: 31.15 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002972/12.6, allocations: 0.7148 MB / 4.127 GB, free: 30.78 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01378/12.61, allocations: 6.975 MB / 4.134 GB, free: 30.49 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.609e-05/12.61, allocations: 44.34 kB / 4.134 GB, free: 30.49 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.279e-05/12.61, allocations: 0 / 4.134 GB, free: 30.49 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008216/12.62, allocations: 5.672 MB / 4.14 GB, free: 30.26 MB / 0.6667 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.042/12.66, allocations: 16.49 MB / 4.156 GB, free: 29.19 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.498e-05/12.66, allocations: 3.75 kB / 4.156 GB, free: 29.19 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004488/12.67, allocations: 0.9083 MB / 4.157 GB, free: 29.19 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.006e-05/12.67, allocations: 15.47 kB / 4.157 GB, free: 29.19 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009456/12.67, allocations: 118.6 kB / 4.157 GB, free: 29.19 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.705e-05/12.67, allocations: 17.7 kB / 4.157 GB, free: 29.19 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/12.67, allocations: 4.219 kB / 4.157 GB, free: 29.19 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01862/12.68, allocations: 10.55 MB / 4.167 GB, free: 28.27 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008548/12.69, allocations: 1.756 MB / 4.169 GB, free: 27.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004135/12.7, allocations: 91.75 kB / 4.169 GB, free: 27.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008945/12.71, allocations: 0.5639 MB / 4.169 GB, free: 27.77 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001106/12.71, allocations: 256.4 kB / 4.17 GB, free: 27.76 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001229/12.71, allocations: 202.2 kB / 4.17 GB, free: 27.76 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.01358/12.72, allocations: 5.558 MB / 4.175 GB, free: 27.52 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.5e-07/12.72, allocations: 2.062 kB / 4.175 GB, free: 27.52 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0267/12.75, allocations: 4.929 MB / 4.18 GB, free: 26.82 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 21 (tanSim.vol[1].dynBal.U,tanSim.vol[2].dynBal.U,tanSim.vol[3].dynBal.U,tanSim.vol[4].dynBal.U,tanSim.vol[5].dynBal.U,tanSim.vol[6].dynBal.U,tanSim.vol[7].dynBal.U,tanSim.vol[8].dynBal.U,tanSim.vol[9].dynBal.U,tanSim.vol[10].dynBal.U,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,tanEnh.vol[8].dynBal.U,tanEnh.vol[9].dynBal.U,tanEnh.vol[10].dynBal.U,dH.y) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,TWat.nextEvent,TWat.nextEventScaled,P.a,P.b,P.last,P.nextEvent,P.nextEventScaled) * Number of discrete states: 12 (P.nextEvent,P.last,P.nextEventScaled,P.b,P.a,$whenCondition2,TWat.nextEvent,TWat.last,TWat.nextEventScaled,TWat.b,TWat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (445): * Single equations (assignments): 441 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004187/12.75, allocations: 0.9222 MB / 4.181 GB, free: 26.65 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.02381/12.78, allocations: 11.43 MB / 4.192 GB, free: 24.02 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.187e-05/12.78, allocations: 8.031 kB / 4.192 GB, free: 24.02 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.006229/12.78, allocations: 3.12 MB / 4.195 GB, free: 22.82 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02702/12.81, allocations: 4.384 MB / 4.199 GB, free: 22.13 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04109/12.85, allocations: 16.72 MB / 4.216 GB, free: 16.29 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006634/12.86, allocations: 6.316 MB / 4.222 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.02116/12.88, allocations: 6.672 MB / 4.228 GB, free: 7.801 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002563/12.88, allocations: 0.4954 MB / 4.229 GB, free: 7.34 MB / 0.6667 GB Notification: Performance of SimCode: time 1.402e-06/12.88, allocations: 0 / 4.229 GB, free: 7.34 MB / 0.6667 GB Notification: Performance of Templates: time 0.7212/13.6, allocations: 165.1 MB / 4.39 GB, free: 80.13 MB / 0.6823 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.Stratified.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.Stratified.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Examples.Stratified.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Examples.Stratified.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Examples.Stratified.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.Examples.Stratified -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Examples.Stratified.pipe 2>&1)