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.7853/0.7853, allocations: 127.4 MB / 134.9 MB, free: 3.48 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.001188/0.001188, allocations: 182.1 kB / 164.6 MB, free: 11.62 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.628/1.628, allocations: 205.2 MB / 399.5 MB, free: 13.52 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.001051/0.001051, allocations: 97.03 kB / 476.7 MB, free: 1.457 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.077e-05/2.08e-05, allocations: 2.719 kB / 0.5466 GB, free: 95.59 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1959, allocations: 76.76 MB / 0.6215 GB, free: 43.1 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7987/0.9946, allocations: 367.3 MB / 0.9802 GB, free: 8.422 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/0.995, allocations: 88.75 kB / 0.9803 GB, free: 8.379 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.122/9.117, allocations: 2.087 GB / 3.067 GB, free: 84.49 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.255e-06/9.117, allocations: 1.781 kB / 3.067 GB, free: 84.49 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.001385/9.119, allocations: 192 kB / 3.067 GB, free: 84.46 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.02092/9.14, allocations: 6.081 MB / 3.073 GB, free: 82.32 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/9.14, allocations: 10.84 kB / 3.073 GB, free: 82.32 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005506/9.145, allocations: 0.8326 MB / 3.074 GB, free: 81.93 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02026/9.165, allocations: 8.595 MB / 3.082 GB, free: 81.07 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004215/9.166, allocations: 198.5 kB / 3.083 GB, free: 81.07 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002713/9.169, allocations: 366.4 kB / 3.083 GB, free: 81.06 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0152/9.184, allocations: 6.315 MB / 3.089 GB, free: 81.03 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02108/9.205, allocations: 7.275 MB / 3.096 GB, free: 80.16 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003842/9.205, allocations: 15.97 kB / 3.096 GB, free: 80.16 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00203/9.207, allocations: 9.875 kB / 3.096 GB, free: 80.16 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001774/9.208, allocations: 183.7 kB / 3.096 GB, free: 80.16 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.05192/9.26, allocations: 32.89 MB / 3.128 GB, free: 65.44 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006641/9.266, allocations: 4.176 MB / 3.133 GB, free: 65.39 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004082/9.27, allocations: 3.042 MB / 3.136 GB, free: 65.34 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008064/9.271, allocations: 481.8 kB / 3.136 GB, free: 64.96 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003169/9.274, allocations: 2.084 MB / 3.138 GB, free: 64.86 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003028/9.277, allocations: 348.3 kB / 3.138 GB, free: 64.69 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=322): time 6.703e-06/9.277, allocations: 0 / 3.138 GB, free: 64.69 MB / 0.6823 GB Notification: Performance of matching and sorting (n=322): time 0.007771/9.285, allocations: 4.511 MB / 3.143 GB, free: 64.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/9.285, allocations: 90.73 kB / 3.143 GB, free: 64.23 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006716/9.292, allocations: 4.126 MB / 3.147 GB, free: 63.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000751/9.293, allocations: 26.83 kB / 3.147 GB, free: 63.87 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002881/9.296, allocations: 3.127 MB / 3.15 GB, free: 62.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001483/9.297, allocations: 1.099 MB / 3.151 GB, free: 61.79 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002333/9.297, allocations: 0 / 3.151 GB, free: 61.79 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002268/9.298, allocations: 491.2 kB / 3.151 GB, free: 61.48 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00243/9.3, allocations: 1.93 MB / 3.153 GB, free: 61.46 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00303/9.303, allocations: 3.467 MB / 3.157 GB, free: 59.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004415/9.308, allocations: 2.966 MB / 3.16 GB, free: 59.55 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-05/9.308, allocations: 13.44 kB / 3.16 GB, free: 59.55 MB / 0.6823 GB Notification: Performance of matching and sorting (n=576) (initialization): time 0.01059/9.318, allocations: 6.223 MB / 3.166 GB, free: 59.17 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.178e-05/9.318, allocations: 56.55 kB / 3.166 GB, free: 59.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-05/9.318, allocations: 49 kB / 3.166 GB, free: 59.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009065/9.319, allocations: 433.3 kB / 3.166 GB, free: 59.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003716/9.323, allocations: 1.054 MB / 3.167 GB, free: 59.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004648/9.328, allocations: 5.132 MB / 3.172 GB, free: 55.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007238/9.335, allocations: 349.5 kB / 3.173 GB, free: 55.55 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001732/9.337, allocations: 218.6 kB / 3.173 GB, free: 55.51 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.001397/9.338, allocations: 253.7 kB / 3.173 GB, free: 55.36 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002063/9.34, allocations: 457.1 kB / 3.174 GB, free: 55.12 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008702/9.349, allocations: 4.946 MB / 3.178 GB, free: 53.39 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.419e-05/9.349, allocations: 39.73 kB / 3.178 GB, free: 53.39 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/9.349, allocations: 5.531 kB / 3.178 GB, free: 53.39 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006364/9.355, allocations: 4.373 MB / 3.183 GB, free: 51.7 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.02199/9.377, allocations: 10.79 MB / 3.193 GB, free: 47.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/9.378, allocations: 0 / 3.193 GB, free: 47.67 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00269/9.38, allocations: 0.6106 MB / 3.194 GB, free: 47.64 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007611/9.381, allocations: 357.4 kB / 3.194 GB, free: 47.55 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000267/9.381, allocations: 41.8 kB / 3.194 GB, free: 47.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004547/9.386, allocations: 5.055 MB / 3.199 GB, free: 43.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/9.386, allocations: 7.016 kB / 3.199 GB, free: 43.89 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01165/9.398, allocations: 7.276 MB / 3.206 GB, free: 39.48 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003873/9.401, allocations: 1.135 MB / 3.207 GB, free: 38.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001601/9.403, allocations: 15.84 kB / 3.207 GB, free: 38.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00416/9.407, allocations: 324.2 kB / 3.208 GB, free: 38.28 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000412/9.408, allocations: 199.3 kB / 3.208 GB, free: 38.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002859/9.408, allocations: 109.5 kB / 3.208 GB, free: 38.07 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.005274/9.413, allocations: 3.137 MB / 3.211 GB, free: 35.37 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.1e-07/9.413, allocations: 0 / 3.211 GB, free: 35.37 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.009336/9.423, allocations: 1.982 MB / 3.213 GB, free: 33.39 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.002036/9.425, allocations: 0.8042 MB / 3.214 GB, free: 32.79 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007113/9.432, allocations: 4.86 MB / 3.218 GB, free: 28.41 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.249e-05/9.432, allocations: 4.625 kB / 3.218 GB, free: 28.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003013/9.435, allocations: 2.307 MB / 3.221 GB, free: 26.32 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01335/9.448, allocations: 2.446 MB / 3.223 GB, free: 24.59 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02142/9.47, allocations: 11.4 MB / 3.234 GB, free: 14.68 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005422/9.475, allocations: 4.693 MB / 3.239 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.006973/9.482, allocations: 1.83 MB / 3.241 GB, free: 9.914 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001893/9.484, allocations: 433.8 kB / 3.241 GB, free: 9.531 MB / 0.6823 GB Notification: Performance of SimCode: time 8.41e-07/9.484, allocations: 0 / 3.241 GB, free: 9.531 MB / 0.6823 GB Notification: Performance of Templates: time 0.6187/10.1, allocations: 90 MB / 3.329 GB, free: 69.95 MB / 0.6823 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)