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.5.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.5.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8789/0.8789, allocations: 127.3 MB / 139.8 MB, free: 15.47 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.001099/0.001099, allocations: 184.9 kB / 169.7 MB, free: 1.742 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.946/1.946, allocations: 205.1 MB / 404.5 MB, free: 1.602 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.001003/0.001003, allocations: 89.84 kB / 481.8 MB, free: 4.25 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.599e-05/5.603e-05, allocations: 7.938 kB / 0.5532 GB, free: 54.87 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2105, allocations: 76.74 MB / 0.6281 GB, free: 10.07 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.38/1.591, allocations: 368 MB / 0.9875 GB, free: 144.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/1.591, allocations: 91.89 kB / 0.9876 GB, free: 144.4 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.798/9.389, allocations: 2.098 GB / 3.085 GB, free: 61.98 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.875e-06/9.389, allocations: 0 / 3.085 GB, free: 61.98 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.001212/9.39, allocations: 193.1 kB / 3.085 GB, free: 61.95 MB / 0.6823 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.0227/9.413, allocations: 6.079 MB / 3.091 GB, free: 59.83 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/9.413, allocations: 10.12 kB / 3.091 GB, free: 59.83 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005888/9.419, allocations: 0.8305 MB / 3.092 GB, free: 59.44 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02225/9.441, allocations: 8.608 MB / 3.101 GB, free: 58.57 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005437/9.442, allocations: 467.7 kB / 3.101 GB, free: 58.55 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002966/9.445, allocations: 0.5995 MB / 3.102 GB, free: 58.54 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02188/9.467, allocations: 8.144 MB / 3.11 GB, free: 57.65 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002384/9.467, allocations: 14.22 kB / 3.11 GB, free: 57.65 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001386/9.468, allocations: 260.4 kB / 3.11 GB, free: 57.65 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001728/9.468, allocations: 179.5 kB / 3.11 GB, free: 57.65 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01548/9.484, allocations: 6.712 MB / 3.117 GB, free: 57.6 MB / 0.6823 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.06182/9.546, allocations: 33.6 MB / 3.149 GB, free: 43.26 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006861/9.553, allocations: 4.173 MB / 3.153 GB, free: 43.19 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004491/9.557, allocations: 3.42 MB / 3.157 GB, free: 43.11 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001108/9.558, allocations: 0.9652 MB / 3.158 GB, free: 42.17 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003554/9.562, allocations: 2.195 MB / 3.16 GB, free: 42.05 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003884/9.566, allocations: 481 kB / 3.16 GB, free: 41.83 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=325): time 1.983e-05/9.566, allocations: 3.844 kB / 3.16 GB, free: 41.83 MB / 0.6823 GB Notification: Performance of matching and sorting (n=325): time 0.007924/9.574, allocations: 4.496 MB / 3.165 GB, free: 41.41 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/9.574, allocations: 83.97 kB / 3.165 GB, free: 41.35 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009259/9.583, allocations: 5.001 MB / 3.17 GB, free: 40.98 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0009978/9.584, allocations: 85.95 kB / 3.17 GB, free: 40.95 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.003265/9.588, allocations: 3.122 MB / 3.173 GB, free: 39.72 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001907/9.589, allocations: 1.141 MB / 3.174 GB, free: 39.01 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002997/9.59, allocations: 87.31 kB / 3.174 GB, free: 39.01 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002795/9.59, allocations: 497.7 kB / 3.174 GB, free: 38.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002924/9.593, allocations: 2.019 MB / 3.176 GB, free: 38.68 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003613/9.597, allocations: 3.581 MB / 3.18 GB, free: 36.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00373/9.6, allocations: 2.802 MB / 3.183 GB, free: 36.71 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.569e-05/9.6, allocations: 15 kB / 3.183 GB, free: 36.71 MB / 0.6823 GB Notification: Performance of matching and sorting (n=576) (initialization): time 0.01079/9.611, allocations: 6.505 MB / 3.189 GB, free: 34.67 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.672e-05/9.611, allocations: 57.3 kB / 3.189 GB, free: 34.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.986e-05/9.611, allocations: 59.98 kB / 3.189 GB, free: 34.64 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009155/9.612, allocations: 431.5 kB / 3.19 GB, free: 34.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004054/9.616, allocations: 1.048 MB / 3.191 GB, free: 34.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004888/9.621, allocations: 5.285 MB / 3.196 GB, free: 30.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007301/9.629, allocations: 431.8 kB / 3.196 GB, free: 30.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001301/9.63, allocations: 222.7 kB / 3.196 GB, free: 30.61 MB / 0.6823 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 () * 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.001099/9.631, allocations: 390.1 kB / 3.197 GB, free: 30.34 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001712/9.633, allocations: 0.5154 MB / 3.197 GB, free: 30.07 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008999/9.642, allocations: 5.383 MB / 3.203 GB, free: 28.07 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-05/9.642, allocations: 32.91 kB / 3.203 GB, free: 28.07 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/9.642, allocations: 3.969 kB / 3.203 GB, free: 28.07 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005555/9.648, allocations: 4.271 MB / 3.207 GB, free: 26.36 MB / 0.6823 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.02437/9.672, allocations: 11.46 MB / 3.218 GB, free: 22 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/9.672, allocations: 3.562 kB / 3.218 GB, free: 22 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002586/9.675, allocations: 0.6168 MB / 3.219 GB, free: 21.95 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007587/9.675, allocations: 364.9 kB / 3.219 GB, free: 21.86 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002777/9.676, allocations: 84.09 kB / 3.219 GB, free: 21.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004479/9.68, allocations: 5.229 MB / 3.224 GB, free: 18.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/9.68, allocations: 0 / 3.224 GB, free: 18.02 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01076/9.691, allocations: 7.315 MB / 3.231 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004819/9.696, allocations: 1.208 MB / 3.232 GB, free: 14.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002106/9.698, allocations: 71.16 kB / 3.232 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005305/9.703, allocations: 380.7 kB / 3.233 GB, free: 14.26 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007084/9.704, allocations: 193.6 kB / 3.233 GB, free: 14.24 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004995/9.705, allocations: 114 kB / 3.233 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.01148/9.716, allocations: 3.925 MB / 3.237 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.8e-07/9.716, allocations: 0 / 3.237 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.01075/9.727, allocations: 2.024 MB / 3.239 GB, free: 8.727 MB / 0.6823 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) * 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.002666/9.73, allocations: 0.8487 MB / 3.24 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01022/9.74, allocations: 5.123 MB / 3.245 GB, free: 3.41 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/9.74, allocations: 0 / 3.245 GB, free: 3.41 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.004605/9.744, allocations: 2.385 MB / 3.247 GB, free: 1.238 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01898/9.763, allocations: 3.192 MB / 3.25 GB, free: 15.15 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03354/9.797, allocations: 11.78 MB / 3.262 GB, free: 4.891 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007461/9.805, allocations: 4.704 MB / 3.266 GB, free: 1.352 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.008656/9.813, allocations: 2.003 MB / 3.268 GB, free: 0 / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.5022/10.32, allocations: 0.5266 MB / 3.269 GB, free: 66.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.513e-06/10.32, allocations: 0 / 3.269 GB, free: 66.3 MB / 0.698 GB Notification: Performance of Templates: time 0.2057/10.52, allocations: 115.9 MB / 3.382 GB, free: 60.88 MB / 0.698 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)