Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.001107/0.001107, allocations: 93.27 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 175.9 kB / 16.91 MB, free: 6.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7295/0.7295, allocations: 115.4 MB / 407.5 MB, free: 2.852 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003707/0.0003708, allocations: 8 kB / 495.7 MB, free: 6.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.18, allocations: 77.51 MB / 0.5598 GB, free: 9.203 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.3467/0.5267, allocations: 36.65 MB / 0.5956 GB, free: 10.49 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01492/0.5416, allocations: 9.464 MB / 0.6048 GB, free: 9.695 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003216/0.5449, allocations: 43.22 kB / 0.6049 GB, free: 9.676 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001773/0.5467, allocations: 481.9 kB / 0.6053 GB, free: 9.414 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007212/0.5539, allocations: 1.462 MB / 0.6068 GB, free: 8.543 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004223/0.5581, allocations: 1.103 MB / 0.6078 GB, free: 7.938 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01398/0.5721, allocations: 10.49 MB / 0.6181 GB, free: 4.082 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006452/0.5786, allocations: 3.066 MB / 0.6211 GB, free: 2.535 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006483/0.5852, allocations: 2.134 MB / 0.6232 GB, free: 1.438 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005057/0.5903, allocations: 2.275 MB / 0.6254 GB, free: 104 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006404/0.5909, allocations: 134.2 kB / 0.6255 GB, free: 104 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003829/0.5948, allocations: 0.9347 MB / 0.6264 GB, free: 15.64 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008407/0.5956, allocations: 0.6174 MB / 0.627 GB, free: 15.19 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003537/0.5992, allocations: 1.567 MB / 0.6286 GB, free: 14.19 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007754/0.6069, allocations: 4.89 MB / 0.6333 GB, free: 10.92 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.607, allocations: 3.906 kB / 0.6333 GB, free: 10.92 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.607, allocations: 0 / 0.6333 GB, free: 10.92 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001653/0.6072, allocations: 0 / 0.6333 GB, free: 10.92 MB / 462.1 MB 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.007809/0.615, allocations: 2.997 MB / 0.6363 GB, free: 8.574 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.165e-05/0.6151, allocations: 12.03 kB / 0.6363 GB, free: 8.562 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002057/0.6172, allocations: 356.9 kB / 0.6366 GB, free: 8.211 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005949/0.6231, allocations: 2.63 MB / 0.6392 GB, free: 5.531 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001748/0.6233, allocations: 176.6 kB / 0.6393 GB, free: 5.355 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004955/0.6238, allocations: 235.9 kB / 0.6396 GB, free: 5.125 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006441/0.6303, allocations: 3.246 MB / 0.6427 GB, free: 1.738 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.532e-05/0.6304, allocations: 4 kB / 0.6427 GB, free: 1.734 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002594/0.6306, allocations: 92 kB / 0.6428 GB, free: 1.645 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.788e-05/0.6307, allocations: 79.92 kB / 0.6429 GB, free: 1.566 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004576/0.6353, allocations: 2.578 MB / 0.6454 GB, free: 14.97 MB / 478.1 MB 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.02095/0.6563, allocations: 13.77 MB / 0.6589 GB, free: 132 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003121/0.6595, allocations: 1.625 MB / 0.6605 GB, free: 14.51 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001744/0.6613, allocations: 1.154 MB / 0.6616 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009316/0.6622, allocations: 0.7283 MB / 0.6623 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.08e-05/0.6623, allocations: 55.5 kB / 0.6624 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001775/0.6641, allocations: 183.7 kB / 0.6625 GB, free: 12.23 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 3.787e-06/0.6641, allocations: 0 / 0.6625 GB, free: 12.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.009333/0.6734, allocations: 3.487 MB / 0.6659 GB, free: 8.695 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.994e-05/0.6735, allocations: 141.5 kB / 0.6661 GB, free: 8.527 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002992/0.6765, allocations: 1.995 MB / 0.668 GB, free: 6.492 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001953/0.6767, allocations: 57.7 kB / 0.6681 GB, free: 6.43 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001284/0.678, allocations: 1.25 MB / 0.6693 GB, free: 5.164 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004894/0.6785, allocations: 449.6 kB / 0.6697 GB, free: 4.719 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000219/0.6787, allocations: 153.6 kB / 0.6699 GB, free: 4.562 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.6789, allocations: 305.1 kB / 0.6702 GB, free: 4.262 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/0.68, allocations: 0.7378 MB / 0.6709 GB, free: 3.523 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001543/0.6816, allocations: 1.248 MB / 0.6721 GB, free: 2.062 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002705/0.6843, allocations: 2.037 MB / 0.6741 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/0.6843, allocations: 4 kB / 0.6741 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.004263/0.6886, allocations: 2.433 MB / 0.6765 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004353/0.689, allocations: 0.5034 MB / 0.677 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-05/0.6891, allocations: 16 kB / 0.677 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002203/0.6913, allocations: 0.5371 MB / 0.6775 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/0.6926, allocations: 351.4 kB / 0.6778 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003577/0.6961, allocations: 3.142 MB / 0.6809 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002591/0.6988, allocations: 223.5 kB / 0.6811 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001693/0.6989, allocations: 79.97 kB / 0.6812 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.699, allocations: 4.109 kB / 0.6812 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003624/0.7026, allocations: 2.191 MB / 0.6833 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/0.7026, allocations: 16.94 kB / 0.6834 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006513/0.7033, allocations: 249.5 kB / 0.6836 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/0.7046, allocations: 359.4 kB / 0.6839 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005036/0.7096, allocations: 4.192 MB / 0.688 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003717/0.7134, allocations: 219.5 kB / 0.6882 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003471/0.7137, allocations: 79.98 kB / 0.6883 GB, free: 0.6094 MB / 0.4981 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 (onOffHea.y,$PRE.onOffHea.y,yTop.u,and2.y,onOffMid.y,$PRE.onOffMid.y,onOffBot.y,$PRE.onOffBot.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,22)} Notification: Performance of prepare postOptimizeDAE: time 0.003077/0.7168, allocations: 1.016 MB / 0.6893 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007916/0.7176, allocations: 205.5 kB / 0.6895 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005334/0.723, allocations: 2.082 MB / 0.6915 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.704e-05/0.723, allocations: 16 kB / 0.6916 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.7231, allocations: 7.938 kB / 0.6916 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003538/0.7266, allocations: 1.664 MB / 0.6932 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01249/0.7391, allocations: 4.705 MB / 0.6978 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.7392, allocations: 0 / 0.6978 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/0.7404, allocations: 203.7 kB / 0.698 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002369/0.7428, allocations: 448.9 kB / 0.6984 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001539/0.743, allocations: 39.97 kB / 0.6984 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004306/0.7473, allocations: 3.058 MB / 0.7014 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.7473, allocations: 4.031 kB / 0.7014 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007152/0.7545, allocations: 2.995 MB / 0.7044 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00199/0.7565, allocations: 0.5178 MB / 0.7049 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005223/0.7571, allocations: 31.98 kB / 0.7049 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002481/0.7596, allocations: 207.7 kB / 0.7051 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003429/0.7599, allocations: 101.2 kB / 0.7052 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001866/0.7601, allocations: 55.95 kB / 0.7052 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003239/0.7634, allocations: 1.374 MB / 0.7066 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3e-07/0.7634, allocations: 0 / 0.7066 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006878/0.7703, allocations: 1.476 MB / 0.708 GB, free: 12.06 MB / 0.5294 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001427/0.7717, allocations: 380.3 kB / 0.7084 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008492/0.7803, allocations: 3.377 MB / 0.7117 GB, free: 8.277 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.435e-05/0.7803, allocations: 0.625 kB / 0.7117 GB, free: 8.277 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002392/0.7827, allocations: 1.032 MB / 0.7127 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008974/0.7917, allocations: 1.167 MB / 0.7138 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01611/0.8078, allocations: 6.489 MB / 0.7202 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003753/0.8116, allocations: 2.164 MB / 0.7223 GB, free: 13.34 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005645/0.8173, allocations: 0.9279 MB / 0.7232 GB, free: 12.42 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009615/0.8183, allocations: 171.4 kB / 0.7233 GB, free: 12.25 MB / 0.545 GB Notification: Performance of SimCode: time 1.232e-06/0.8183, allocations: 0 / 0.7233 GB, free: 12.25 MB / 0.545 GB Notification: Performance of Templates: time 0.09206/0.9104, allocations: 46.01 MB / 0.7683 GB, free: 14.71 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)