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.0008492/0.0008492, allocations: 88.17 kB / 15.7 MB, free: 460 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.0009422/0.0009422, allocations: 176.6 kB / 16.58 MB, free: 6.852 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.363/1.363, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7045/0.7045, allocations: 115.5 MB / 407.2 MB, free: 2.859 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003411/0.0003412, allocations: 10.62 kB / 495.2 MB, free: 6.762 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1384, allocations: 77.52 MB / 0.5593 GB, free: 9.441 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.2885/0.4269, allocations: 34.68 MB / 0.5932 GB, free: 11.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01206/0.439, allocations: 8.954 MB / 0.6019 GB, free: 10.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001548/0.4405, allocations: 40.47 kB / 0.602 GB, free: 10.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001273/0.4418, allocations: 417.6 kB / 0.6024 GB, free: 10.17 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003623/0.4455, allocations: 1.27 MB / 0.6036 GB, free: 9.656 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002994/0.4485, allocations: 0.9569 MB / 0.6045 GB, free: 9.305 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009918/0.4584, allocations: 8.931 MB / 0.6133 GB, free: 5.859 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003801/0.4622, allocations: 2.75 MB / 0.6159 GB, free: 4.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004247/0.4665, allocations: 2.124 MB / 0.618 GB, free: 4.141 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003503/0.47, allocations: 2.152 MB / 0.6201 GB, free: 3.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003977/0.4704, allocations: 132.6 kB / 0.6202 GB, free: 3.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002552/0.473, allocations: 0.7892 MB / 0.621 GB, free: 2.734 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005676/0.4736, allocations: 0.593 MB / 0.6216 GB, free: 2.312 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009334/0.4745, allocations: 0.649 MB / 0.6222 GB, free: 1.961 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003544/0.4781, allocations: 4.015 MB / 0.6262 GB, free: 15.35 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4781, allocations: 0 / 0.6262 GB, free: 15.35 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.4781, allocations: 0 / 0.6262 GB, free: 15.35 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.683e-05/0.4782, allocations: 0 / 0.6262 GB, free: 15.35 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.005625/0.4838, allocations: 3.021 MB / 0.6291 GB, free: 13.27 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.4839, allocations: 9.719 kB / 0.6291 GB, free: 13.27 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.4849, allocations: 373.2 kB / 0.6295 GB, free: 13.08 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004114/0.4891, allocations: 2.551 MB / 0.632 GB, free: 11.33 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/0.4892, allocations: 178.8 kB / 0.6321 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003301/0.4896, allocations: 228.8 kB / 0.6323 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005079/0.4946, allocations: 3.232 MB / 0.6355 GB, free: 8.867 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.945e-05/0.4947, allocations: 7.906 kB / 0.6355 GB, free: 8.859 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002378/0.495, allocations: 92 kB / 0.6356 GB, free: 8.77 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.954e-05/0.495, allocations: 79.92 kB / 0.6357 GB, free: 8.691 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00413/0.4992, allocations: 2.566 MB / 0.6382 GB, free: 6.109 MB / 462.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.016/0.5152, allocations: 13.75 MB / 0.6516 GB, free: 7.285 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002503/0.5177, allocations: 1.625 MB / 0.6532 GB, free: 5.664 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001608/0.5193, allocations: 1.174 MB / 0.6543 GB, free: 4.488 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008037/0.5202, allocations: 0.7282 MB / 0.6551 GB, free: 3.613 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/0.5202, allocations: 47.56 kB / 0.6551 GB, free: 3.555 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001258/0.5215, allocations: 184 kB / 0.6553 GB, free: 3.375 MB / 478.1 MB Notification: Performance of pre-optimization done (n=126): time 3.356e-06/0.5215, allocations: 4 kB / 0.6553 GB, free: 3.371 MB / 478.1 MB Notification: Performance of matching and sorting (n=126): time 0.008342/0.5298, allocations: 3.445 MB / 0.6586 GB, free: 15.88 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.096e-05/0.5299, allocations: 141.5 kB / 0.6588 GB, free: 15.71 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002569/0.5325, allocations: 1.984 MB / 0.6607 GB, free: 13.69 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001338/0.5326, allocations: 57.64 kB / 0.6608 GB, free: 13.62 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001072/0.5337, allocations: 1.258 MB / 0.662 GB, free: 12.35 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000422/0.5342, allocations: 441.7 kB / 0.6624 GB, free: 11.91 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.378e-05/0.5343, allocations: 36 kB / 0.6625 GB, free: 11.88 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.5344, allocations: 373.9 kB / 0.6628 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/0.5355, allocations: 0.7339 MB / 0.6635 GB, free: 10.77 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001447/0.537, allocations: 1.229 MB / 0.6647 GB, free: 9.332 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001382/0.5384, allocations: 0.951 MB / 0.6657 GB, free: 8.383 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/0.5384, allocations: 8 kB / 0.6657 GB, free: 8.375 MB / 494.1 MB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003757/0.5422, allocations: 2.402 MB / 0.668 GB, free: 5.957 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003038/0.5425, allocations: 0.503 MB / 0.6685 GB, free: 5.254 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-05/0.5425, allocations: 20 kB / 0.6685 GB, free: 5.234 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002036/0.5446, allocations: 0.5143 MB / 0.669 GB, free: 4.715 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/0.5458, allocations: 343.5 kB / 0.6694 GB, free: 4.379 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003151/0.549, allocations: 3.15 MB / 0.6724 GB, free: 1.066 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001955/0.551, allocations: 227.4 kB / 0.6726 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/0.5511, allocations: 79.98 kB / 0.6727 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.151e-06/0.5512, allocations: 4 kB / 0.6727 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003426/0.5546, allocations: 2.18 MB / 0.6749 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-05/0.5546, allocations: 19.98 kB / 0.6749 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005558/0.5552, allocations: 243.1 kB / 0.6751 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/0.5565, allocations: 371.4 kB / 0.6755 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004102/0.5607, allocations: 4.163 MB / 0.6795 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001855/0.5625, allocations: 211.6 kB / 0.6797 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001678/0.5627, allocations: 79.97 kB / 0.6798 GB, free: 9.238 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 ($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.001709/0.5644, allocations: 1.023 MB / 0.6808 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004594/0.5649, allocations: 209.4 kB / 0.681 GB, free: 8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00363/0.5685, allocations: 2.062 MB / 0.683 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.433e-05/0.5686, allocations: 23.97 kB / 0.683 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.5686, allocations: 3.953 kB / 0.683 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002491/0.5711, allocations: 1.664 MB / 0.6847 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008328/0.5794, allocations: 4.69 MB / 0.6892 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.5794, allocations: 192 / 0.6892 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009131/0.5804, allocations: 211.8 kB / 0.6894 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001617/0.582, allocations: 458.8 kB / 0.6899 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001164/0.5821, allocations: 31.98 kB / 0.6899 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002991/0.5851, allocations: 3.053 MB / 0.6929 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.5851, allocations: 4.062 kB / 0.6929 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004524/0.5897, allocations: 2.987 MB / 0.6958 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001287/0.591, allocations: 0.5178 MB / 0.6963 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004707/0.5915, allocations: 28 kB / 0.6964 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001701/0.5932, allocations: 211 kB / 0.6966 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002207/0.5934, allocations: 105.1 kB / 0.6967 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/0.5936, allocations: 51.95 kB / 0.6967 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00227/0.5958, allocations: 1.362 MB / 0.698 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5958, allocations: 4 kB / 0.698 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004578/0.6004, allocations: 1.472 MB / 0.6995 GB, free: 4.723 MB / 0.5137 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.0009015/0.6013, allocations: 367 kB / 0.6998 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005559/0.6069, allocations: 3.358 MB / 0.7031 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/0.6069, allocations: 7.906 kB / 0.7031 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001584/0.6085, allocations: 1.016 MB / 0.7041 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005599/0.6141, allocations: 1.152 MB / 0.7052 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/0.6244, allocations: 6.324 MB / 0.7114 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002156/0.6266, allocations: 2.168 MB / 0.7135 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003159/0.6298, allocations: 0.9284 MB / 0.7144 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005744/0.6303, allocations: 175.4 kB / 0.7146 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of SimCode: time 2.675e-06/0.6304, allocations: 0 / 0.7146 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of Templates: time 0.07226/0.7026, allocations: 44.77 MB / 0.7583 GB, free: 8.832 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)