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.001034/0.001034, allocations: 90.12 kB / 16.66 MB, free: 5.82 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.001033/0.001033, allocations: 175.2 kB / 17.57 MB, free: 5.492 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.353/1.353, allocations: 223.3 MB / 241.6 MB, free: 192 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7556/0.7557, allocations: 115.5 MB / 408.2 MB, free: 7.012 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003718/0.0003719, allocations: 11.98 kB / 496.5 MB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4119/0.4123, allocations: 77.52 MB / 0.5606 GB, free: 36.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.03156/0.4439, allocations: 36.66 MB / 0.5964 GB, free: 10.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01369/0.4577, allocations: 9.464 MB / 0.6056 GB, free: 3.125 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002552/0.4603, allocations: 43.44 kB / 0.6057 GB, free: 3.105 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001636/0.4619, allocations: 478.3 kB / 0.6061 GB, free: 2.707 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00504/0.467, allocations: 1.463 MB / 0.6075 GB, free: 1.531 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003476/0.4705, allocations: 1.116 MB / 0.6086 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0131/0.4836, allocations: 10.49 MB / 0.6189 GB, free: 7.734 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005229/0.4889, allocations: 3.061 MB / 0.6219 GB, free: 4.613 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005389/0.4943, allocations: 2.135 MB / 0.624 GB, free: 2.469 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004571/0.4989, allocations: 2.279 MB / 0.6262 GB, free: 184 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001223/0.5001, allocations: 132 kB / 0.6263 GB, free: 52 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003967/0.5041, allocations: 0.9357 MB / 0.6272 GB, free: 15.11 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001338/0.5055, allocations: 0.6107 MB / 0.6278 GB, free: 14.5 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003677/0.5092, allocations: 1.564 MB / 0.6293 GB, free: 12.92 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005397/0.5146, allocations: 4.047 MB / 0.6333 GB, free: 8.867 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.5146, allocations: 0 / 0.6333 GB, free: 8.867 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5147, allocations: 0 / 0.6333 GB, free: 8.867 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000209/0.5149, allocations: 0 / 0.6333 GB, free: 8.867 MB / 478.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.007417/0.5223, allocations: 2.988 MB / 0.6362 GB, free: 5.812 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.5224, allocations: 15.97 kB / 0.6362 GB, free: 5.797 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001727/0.5241, allocations: 356.9 kB / 0.6366 GB, free: 5.445 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005595/0.5297, allocations: 2.636 MB / 0.6391 GB, free: 2.762 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001922/0.5299, allocations: 176.6 kB / 0.6393 GB, free: 2.586 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007861/0.5307, allocations: 235.9 kB / 0.6395 GB, free: 2.355 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00778/0.5385, allocations: 3.246 MB / 0.6427 GB, free: 14.97 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.916e-05/0.5386, allocations: 7.938 kB / 0.6427 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004626/0.5391, allocations: 96 kB / 0.6428 GB, free: 14.87 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.532e-05/0.5392, allocations: 67.98 kB / 0.6429 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005249/0.5445, allocations: 2.586 MB / 0.6454 GB, free: 12.2 MB / 494.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.02116/0.5656, allocations: 13.78 MB / 0.6588 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002897/0.5686, allocations: 1.626 MB / 0.6604 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001825/0.5704, allocations: 1.158 MB / 0.6616 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009486/0.5714, allocations: 0.7283 MB / 0.6623 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.219e-05/0.5715, allocations: 47.56 kB / 0.6623 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001632/0.5731, allocations: 187.7 kB / 0.6625 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=126): time 8.986e-06/0.5731, allocations: 0 / 0.6625 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of matching and sorting (n=126): time 0.01008/0.5832, allocations: 3.491 MB / 0.6659 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.656e-05/0.5834, allocations: 141.5 kB / 0.666 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003965/0.5873, allocations: 1.995 MB / 0.668 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002742/0.5876, allocations: 53.7 kB / 0.668 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001357/0.589, allocations: 1.254 MB / 0.6693 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005766/0.5896, allocations: 445.6 kB / 0.6697 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003068/0.5899, allocations: 153.6 kB / 0.6698 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.119e-05/0.59, allocations: 305.1 kB / 0.6701 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001346/0.5914, allocations: 0.7417 MB / 0.6709 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001689/0.5931, allocations: 1.244 MB / 0.6721 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002998/0.5961, allocations: 2.041 MB / 0.6741 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.389e-05/0.5961, allocations: 4 kB / 0.6741 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.004386/0.6005, allocations: 2.429 MB / 0.6764 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004068/0.6009, allocations: 0.509 MB / 0.6769 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.731e-05/0.601, allocations: 12 kB / 0.677 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002323/0.6033, allocations: 0.5314 MB / 0.6775 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/0.6046, allocations: 347.4 kB / 0.6778 GB, free: 9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003456/0.6081, allocations: 3.141 MB / 0.6809 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002398/0.6105, allocations: 223.5 kB / 0.6811 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000253/0.6108, allocations: 83.97 kB / 0.6812 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.307e-06/0.6108, allocations: 4 kB / 0.6812 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003954/0.6147, allocations: 2.191 MB / 0.6833 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-05/0.6148, allocations: 16.94 kB / 0.6833 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006457/0.6155, allocations: 255.7 kB / 0.6836 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/0.6168, allocations: 367.3 kB / 0.6839 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004451/0.6213, allocations: 4.174 MB / 0.688 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002246/0.6235, allocations: 223.5 kB / 0.6882 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002729/0.6238, allocations: 79.97 kB / 0.6883 GB, free: 13.83 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 (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.002138/0.626, allocations: 1.016 MB / 0.6893 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007246/0.6267, allocations: 205.5 kB / 0.6895 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004109/0.6308, allocations: 2.071 MB / 0.6915 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.898e-05/0.6309, allocations: 12 kB / 0.6915 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.6309, allocations: 3.984 kB / 0.6915 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002647/0.6335, allocations: 1.671 MB / 0.6931 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009839/0.6434, allocations: 4.701 MB / 0.6977 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/0.6434, allocations: 4.062 kB / 0.6977 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009123/0.6444, allocations: 203.7 kB / 0.6979 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001894/0.6463, allocations: 454.7 kB / 0.6984 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001335/0.6464, allocations: 35.97 kB / 0.6984 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003247/0.6497, allocations: 3.06 MB / 0.7014 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6497, allocations: 0 / 0.7014 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004914/0.6546, allocations: 2.995 MB / 0.7043 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001481/0.6561, allocations: 0.5217 MB / 0.7048 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000537/0.6567, allocations: 28 kB / 0.7048 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001923/0.6586, allocations: 201.8 kB / 0.705 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002629/0.6589, allocations: 105.2 kB / 0.7051 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001613/0.6591, allocations: 63.83 kB / 0.7052 GB, free: 12.15 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002629/0.6617, allocations: 1.374 MB / 0.7065 GB, free: 10.76 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6617, allocations: 0 / 0.7065 GB, free: 10.76 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005061/0.6668, allocations: 1.48 MB / 0.708 GB, free: 9.273 MB / 0.545 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.00108/0.6679, allocations: 385.8 kB / 0.7084 GB, free: 8.902 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00603/0.6739, allocations: 3.381 MB / 0.7117 GB, free: 5.488 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/0.674, allocations: 4.625 kB / 0.7117 GB, free: 5.484 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001655/0.6756, allocations: 1.02 MB / 0.7127 GB, free: 4.453 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007251/0.6829, allocations: 1.154 MB / 0.7138 GB, free: 3.32 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01179/0.6947, allocations: 6.516 MB / 0.7201 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003455/0.6982, allocations: 2.136 MB / 0.7222 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/0.6993, allocations: 179.4 kB / 0.7224 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of SimCode: time 1.253e-06/0.6993, allocations: 0 / 0.7224 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of Templates: time 0.3781/1.077, allocations: 70.13 MB / 0.7909 GB, free: 135.7 MB / 0.5762 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)