Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001248, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9737/0.9737, allocations: 143.3 MB / 434.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003232/0.0003233, allocations: 8 kB / 0.5158 GB, free: 11.42 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1407, allocations: 83.41 MB / 0.5973 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.2806/0.4213, allocations: 31.63 MB / 0.6282 GB, free: 26.31 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01038/0.4317, allocations: 8.28 MB / 0.6362 GB, free: 20.48 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001693/0.4334, allocations: 39.5 kB / 0.6363 GB, free: 20.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001516/0.435, allocations: 0.5233 MB / 0.6368 GB, free: 20.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004353/0.4393, allocations: 1.601 MB / 0.6384 GB, free: 19.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003544/0.4429, allocations: 1.324 MB / 0.6396 GB, free: 18.48 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005285/0.4482, allocations: 4.475 MB / 0.644 GB, free: 16.12 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003159/0.4514, allocations: 2.749 MB / 0.6467 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003353/0.4548, allocations: 1.843 MB / 0.6485 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002669/0.4575, allocations: 1.551 MB / 0.65 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004544/0.4579, allocations: 133.8 kB / 0.6501 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002411/0.4604, allocations: 0.6746 MB / 0.6508 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006382/0.461, allocations: 0.5673 MB / 0.6514 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001092/0.4621, allocations: 0.6478 MB / 0.652 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004847/0.467, allocations: 4.182 MB / 0.6561 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.467, allocations: 0 / 0.6561 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.934e-06/0.467, allocations: 0 / 0.6561 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001728/0.4672, allocations: 0 / 0.6561 GB, free: 12.04 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.007496/0.4747, allocations: 3.008 MB / 0.659 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.4747, allocations: 9.031 kB / 0.659 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00175/0.4765, allocations: 359.1 kB / 0.6594 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00553/0.482, allocations: 2.424 MB / 0.6617 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000146/0.4822, allocations: 181.3 kB / 0.6619 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004281/0.4826, allocations: 232.4 kB / 0.6621 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005813/0.4885, allocations: 3.196 MB / 0.6652 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.553e-05/0.4885, allocations: 7.031 kB / 0.6653 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002563/0.4888, allocations: 102.7 kB / 0.6653 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.628e-05/0.4889, allocations: 72.39 kB / 0.6654 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004587/0.4935, allocations: 2.568 MB / 0.6679 GB, free: 6.492 MB / 0.4981 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.01762/0.5111, allocations: 13.86 MB / 0.6815 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002652/0.5138, allocations: 1.626 MB / 0.6831 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000793/0.5146, allocations: 0.7244 MB / 0.6838 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.54e-05/0.5147, allocations: 53.86 kB / 0.6838 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001587/0.5163, allocations: 201.1 kB / 0.684 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=126): time 3.878e-06/0.5163, allocations: 3.938 kB / 0.684 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=126): time 0.009664/0.526, allocations: 3.486 MB / 0.6874 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.248e-05/0.5261, allocations: 142.9 kB / 0.6875 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003118/0.5292, allocations: 2.128 MB / 0.6896 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002484/0.5294, allocations: 58.8 kB / 0.6897 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001144/0.5306, allocations: 1.249 MB / 0.6909 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004998/0.5311, allocations: 447.6 kB / 0.6913 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.371e-05/0.5312, allocations: 34.59 kB / 0.6914 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.5314, allocations: 373.1 kB / 0.6917 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001194/0.5326, allocations: 0.7364 MB / 0.6924 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001455/0.534, allocations: 1.231 MB / 0.6936 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001392/0.5354, allocations: 0.9554 MB / 0.6946 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/0.5354, allocations: 8.75 kB / 0.6946 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.004022/0.5395, allocations: 2.423 MB / 0.6969 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.001844/0.5413, allocations: 5.705 MB / 0.7025 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-05/0.5414, allocations: 18.42 kB / 0.7025 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002166/0.5435, allocations: 0.5204 MB / 0.703 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/0.5449, allocations: 346.7 kB / 0.7034 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003151/0.5481, allocations: 3.174 MB / 0.7065 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00251/0.5506, allocations: 233.6 kB / 0.7067 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001829/0.5508, allocations: 80.47 kB / 0.7068 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/0.5508, allocations: 4.125 kB / 0.7068 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003507/0.5543, allocations: 2.195 MB / 0.7089 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.025e-05/0.5544, allocations: 19.39 kB / 0.7089 GB, free: 7.426 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005766/0.555, allocations: 241.6 kB / 0.7092 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/0.5563, allocations: 363.4 kB / 0.7095 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003941/0.5603, allocations: 4.215 MB / 0.7136 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002274/0.5626, allocations: 223.5 kB / 0.7138 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/0.5627, allocations: 87.92 kB / 0.7139 GB, free: 2.035 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.onOffBot.y,onOffBot.y,$PRE.onOffMid.y,onOffMid.y,and2.y,yTop.u,$PRE.onOffHea.y,onOffHea.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 177 * Array equations: 0 * Algorithm blocks: 0 * 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: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 22} Notification: Performance of prepare postOptimizeDAE: time 0.001906/0.5646, allocations: 1.016 MB / 0.7149 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004433/0.5651, allocations: 205.5 kB / 0.7151 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003363/0.5685, allocations: 2.086 MB / 0.7172 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/0.5685, allocations: 12 kB / 0.7172 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.5685, allocations: 3.953 kB / 0.7172 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002315/0.5708, allocations: 1.679 MB / 0.7188 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008042/0.5789, allocations: 4.708 MB / 0.7234 GB, free: 8.199 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.697e-06/0.5789, allocations: 8.078 kB / 0.7234 GB, free: 8.191 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008856/0.5798, allocations: 203.7 kB / 0.7236 GB, free: 7.992 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001674/0.5815, allocations: 453.1 kB / 0.724 GB, free: 7.543 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.993e-05/0.5816, allocations: 35.98 kB / 0.7241 GB, free: 7.508 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002822/0.5844, allocations: 3.079 MB / 0.7271 GB, free: 4.277 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5845, allocations: 0 / 0.7271 GB, free: 4.277 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004361/0.5888, allocations: 3.059 MB / 0.7301 GB, free: 1.152 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001487/0.5903, allocations: 0.553 MB / 0.7306 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003305/0.5907, allocations: 39.97 kB / 0.7306 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001511/0.5922, allocations: 196.6 kB / 0.7308 GB, free: 356 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002089/0.5924, allocations: 105.1 kB / 0.7309 GB, free: 252 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001217/0.5925, allocations: 59.95 kB / 0.731 GB, free: 192 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002072/0.5946, allocations: 1.471 MB / 0.7324 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5946, allocations: 0 / 0.7324 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004202/0.5988, allocations: 1.495 MB / 0.7339 GB, free: 13.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (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) * Number of discrete variables: 5 (onOffBot.y,onOffMid.y,and2.y,yTop.u,onOffHea.y) * Number of discrete states: 3 (onOffBot.y,onOffMid.y,onOffHea.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008118/0.5997, allocations: 390.7 kB / 0.7343 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005035/0.6047, allocations: 3.376 MB / 0.7376 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.6047, allocations: 4 kB / 0.7376 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001401/0.6061, allocations: 1.03 MB / 0.7386 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005313/0.6115, allocations: 1.141 MB / 0.7397 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008727/0.6202, allocations: 6.345 MB / 0.7459 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00172/0.622, allocations: 2.215 MB / 0.748 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002981/0.625, allocations: 0.941 MB / 0.749 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000475/0.6254, allocations: 183.3 kB / 0.7491 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of SimCode: time 8.32e-07/0.6255, allocations: 0 / 0.7491 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of Templates: time 0.07023/0.6957, allocations: 45.67 MB / 0.7937 GB, free: 408 kB / 0.6075 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1) Environment - environmentSimulation: