Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/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) 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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.7013/0.7013, allocations: 117.9 MB / 133.9 MB, free: 9.219 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001408/0.001408, allocations: 175.6 kB / 161.7 MB, free: 13.99 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.794/1.794, allocations: 205.4 MB / 394.8 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008447/0.0008447, allocations: 88.77 kB / 470.1 MB, free: 29.04 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004617/0.0004617, allocations: 12 kB / 0.5423 GB, free: 9.785 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1919, allocations: 74.54 MB / 0.6151 GB, free: 15.18 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.15/1.342, allocations: 367 MB / 0.9735 GB, free: 136.7 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/1.342, allocations: 91.61 kB / 0.9736 GB, free: 136.6 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.606/8.948, allocations: 2.089 GB / 3.063 GB, free: 3.41 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.424e-06/8.949, allocations: 0 / 3.063 GB, free: 3.41 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.001239/8.95, allocations: 191.7 kB / 3.063 GB, free: 3.227 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: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.851/9.801, allocations: 7.096 MB / 3.07 GB, free: 46 MB / 0.6512 GB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/9.801, allocations: 14 kB / 3.07 GB, free: 46 MB / 0.6512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006398/9.807, allocations: 0.8352 MB / 3.07 GB, free: 45.61 MB / 0.6512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0214/9.829, allocations: 8.287 MB / 3.079 GB, free: 44.81 MB / 0.6512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004904/9.829, allocations: 457.3 kB / 3.079 GB, free: 44.8 MB / 0.6512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002488/9.832, allocations: 0.6037 MB / 3.08 GB, free: 44.79 MB / 0.6512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01839/9.85, allocations: 8.317 MB / 3.088 GB, free: 43.9 MB / 0.6512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001775/9.85, allocations: 25.27 kB / 3.088 GB, free: 43.89 MB / 0.6512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007729/9.851, allocations: 258.4 kB / 3.088 GB, free: 43.89 MB / 0.6512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00018/9.851, allocations: 177.9 kB / 3.088 GB, free: 43.89 MB / 0.6512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01568/9.867, allocations: 6.883 MB / 3.095 GB, free: 43.85 MB / 0.6512 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.05691/9.924, allocations: 33.36 MB / 3.127 GB, free: 45.54 MB / 0.6668 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008244/9.932, allocations: 4.217 MB / 3.132 GB, free: 45.46 MB / 0.6668 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005771/9.938, allocations: 3.492 MB / 3.135 GB, free: 45.41 MB / 0.6668 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00129/9.939, allocations: 0.9621 MB / 3.136 GB, free: 44.47 MB / 0.6668 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004712/9.944, allocations: 2.271 MB / 3.138 GB, free: 44.36 MB / 0.6668 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004234/9.948, allocations: 453.5 kB / 3.139 GB, free: 44.15 MB / 0.6668 GB Notification: Performance of pre-optimization done (n=325): time 2.403e-05/9.948, allocations: 0 / 3.139 GB, free: 44.15 MB / 0.6668 GB Notification: Performance of matching and sorting (n=325): time 0.01365/9.962, allocations: 7.02 MB / 3.145 GB, free: 43.53 MB / 0.6668 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.524e-05/9.962, allocations: 89.59 kB / 3.146 GB, free: 43.46 MB / 0.6668 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009069/9.971, allocations: 5.201 MB / 3.151 GB, free: 43.09 MB / 0.6668 GB Notification: Performance of collectPreVariables (initialization): time 0.000954/9.972, allocations: 87.97 kB / 3.151 GB, free: 43.06 MB / 0.6668 GB Notification: Performance of collectInitialEqns (initialization): time 0.003218/9.976, allocations: 3.125 MB / 3.154 GB, free: 41.83 MB / 0.6668 GB Notification: Performance of collectInitialBindings (initialization): time 0.001684/9.977, allocations: 1.138 MB / 3.155 GB, free: 41.12 MB / 0.6668 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002696/9.978, allocations: 89.12 kB / 3.155 GB, free: 41.12 MB / 0.6668 GB Notification: Performance of setup shared object (initialization): time 0.0003245/9.978, allocations: 495.6 kB / 3.155 GB, free: 40.81 MB / 0.6668 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003719/9.982, allocations: 2.083 MB / 3.157 GB, free: 40.79 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004199/9.986, allocations: 3.667 MB / 3.161 GB, free: 38.91 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008431/9.994, allocations: 6.242 MB / 3.167 GB, free: 37.01 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.967e-05/9.994, allocations: 15.59 kB / 3.167 GB, free: 37.01 MB / 0.6668 GB Notification: Performance of matching and sorting (n=576) (initialization): time 0.01153/10.01, allocations: 6.641 MB / 3.174 GB, free: 36.56 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 8.985e-05/10.01, allocations: 59.62 kB / 3.174 GB, free: 36.53 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-05/10.01, allocations: 50.59 kB / 3.174 GB, free: 36.53 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008873/10.01, allocations: 426.7 kB / 3.174 GB, free: 36.51 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00356/10.01, allocations: 1.002 MB / 3.175 GB, free: 36.51 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005322/10.02, allocations: 5.3 MB / 3.18 GB, free: 33.8 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006578/10.02, allocations: 441.5 kB / 3.181 GB, free: 33.75 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001025/10.02, allocations: 227.3 kB / 3.181 GB, free: 33.75 MB / 0.6668 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * 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 (547): * Single equations (assignments): 544 * 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.006278/10.03, allocations: 2.446 MB / 3.183 GB, free: 33.61 MB / 0.6668 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002128/10.03, allocations: 0.5098 MB / 3.184 GB, free: 33.34 MB / 0.6668 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01181/10.04, allocations: 5.48 MB / 3.189 GB, free: 33.07 MB / 0.6668 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.638e-05/10.04, allocations: 35.17 kB / 3.189 GB, free: 33.07 MB / 0.6668 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.983e-05/10.04, allocations: 6.797 kB / 3.189 GB, free: 33.07 MB / 0.6668 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006568/10.05, allocations: 4.389 MB / 3.193 GB, free: 32.61 MB / 0.6668 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.02682/10.08, allocations: 11.47 MB / 3.205 GB, free: 31.77 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.277e-05/10.08, allocations: 7.219 kB / 3.205 GB, free: 31.77 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003083/10.08, allocations: 0.6428 MB / 3.205 GB, free: 31.77 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009695/10.08, allocations: 372.4 kB / 3.206 GB, free: 31.74 MB / 0.6668 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006036/10.08, allocations: 82.66 kB / 3.206 GB, free: 31.74 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006368/10.09, allocations: 5.235 MB / 3.211 GB, free: 29.02 MB / 0.6668 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/10.09, allocations: 2.156 kB / 3.211 GB, free: 29.02 MB / 0.6668 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01287/10.1, allocations: 7.406 MB / 3.218 GB, free: 27.55 MB / 0.6668 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00421/10.11, allocations: 1.135 MB / 3.219 GB, free: 26.92 MB / 0.6668 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002174/10.11, allocations: 67.75 kB / 3.219 GB, free: 26.88 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005215/10.11, allocations: 429 kB / 3.22 GB, free: 26.81 MB / 0.6668 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006698/10.11, allocations: 197 kB / 3.22 GB, free: 26.78 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004278/10.11, allocations: 108.9 kB / 3.22 GB, free: 26.76 MB / 0.6668 GB Notification: Performance of sorting global known variables: time 0.009371/10.12, allocations: 3.654 MB / 3.224 GB, free: 25.52 MB / 0.6668 GB Notification: Performance of sort global known variables: time 2.405e-06/10.12, allocations: 0 / 3.224 GB, free: 25.52 MB / 0.6668 GB Notification: Performance of remove unused functions: time 0.009648/10.13, allocations: 1.98 MB / 3.225 GB, free: 25.12 MB / 0.6668 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 20 (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,HIn_flow.h_out,HOut_flow.h_out,HInEnh_flow.h_out,HOutEnh_flow.h_out,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 (298): * Single equations (assignments): 294 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.002832/10.14, allocations: 0.8248 MB / 3.226 GB, free: 24.91 MB / 0.6668 GB Notification: Performance of simCode: created initialization part: time 0.009271/10.15, allocations: 5.251 MB / 3.231 GB, free: 23.08 MB / 0.6668 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/10.15, allocations: 0 / 3.231 GB, free: 23.08 MB / 0.6668 GB Notification: Performance of simCode: created simulation system equations: time 0.003985/10.15, allocations: 2.446 MB / 3.234 GB, free: 22.11 MB / 0.6668 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01932/10.17, allocations: 3.136 MB / 3.237 GB, free: 21.61 MB / 0.6668 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03172/10.2, allocations: 16.17 MB / 3.253 GB, free: 13.95 MB / 0.6668 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007351/10.21, allocations: 4.588 MB / 3.257 GB, free: 12.33 MB / 0.6668 GB Notification: Performance of simCode: alias equations: time 0.00909/10.22, allocations: 1.959 MB / 3.259 GB, free: 12.16 MB / 0.6668 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002421/10.22, allocations: 453.7 kB / 3.259 GB, free: 12.13 MB / 0.6668 GB Notification: Performance of SimCode: time 1.273e-06/10.22, allocations: 0 / 3.259 GB, free: 12.13 MB / 0.6668 GB Notification: Performance of Templates: time 0.6333/10.85, allocations: 114.2 MB / 3.371 GB, free: 62.52 MB / 0.6824 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)