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.0009892/0.0009893, allocations: 115.9 kB / 17.09 MB, free: 5.988 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.0009894/0.0009894, allocations: 200.2 kB / 18.03 MB, free: 5.062 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.198/1.198, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6517/0.6517, allocations: 115.3 MB / 407.2 MB, free: 6.09 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 64.89 kB / 0.5583 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1201, allocations: 76.18 MB / 0.6327 GB, free: 4.355 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.0334/0.1536, allocations: 37.73 MB / 0.6696 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01193/0.1655, allocations: 9.538 MB / 0.6789 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009995/0.1665, allocations: 43.75 kB / 0.6789 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001189/0.1678, allocations: 0.5741 MB / 0.6795 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002899/0.1707, allocations: 1.595 MB / 0.6811 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00239/0.1731, allocations: 1.242 MB / 0.6823 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006747/0.1798, allocations: 8.121 MB / 0.6902 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003756/0.1836, allocations: 3.882 MB / 0.694 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00418/0.1878, allocations: 2.873 MB / 0.6968 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002681/0.1905, allocations: 2.486 MB / 0.6992 GB, free: 15.99 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004684/0.191, allocations: 356 kB / 0.6996 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00227/0.1932, allocations: 1.205 MB / 0.7007 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007334/0.194, allocations: 0.8996 MB / 0.7016 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001681/0.1957, allocations: 1.847 MB / 0.7034 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004513/0.2002, allocations: 5.219 MB / 0.7085 GB, free: 6.441 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2002, allocations: 0 / 0.7085 GB, free: 6.441 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2002, allocations: 0 / 0.7085 GB, free: 6.441 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.719e-05/0.2003, allocations: 0 / 0.7085 GB, free: 6.441 MB / 0.545 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.005169/0.2054, allocations: 3.639 MB / 0.7121 GB, free: 2.734 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.2055, allocations: 11.97 kB / 0.7121 GB, free: 2.723 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008385/0.2063, allocations: 361 kB / 0.7124 GB, free: 2.367 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003635/0.21, allocations: 2.66 MB / 0.715 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/0.2101, allocations: 184.6 kB / 0.7152 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003159/0.2104, allocations: 243.8 kB / 0.7154 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004467/0.2149, allocations: 3.234 MB / 0.7186 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.307e-05/0.215, allocations: 7.938 kB / 0.7186 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002231/0.2152, allocations: 96 kB / 0.7187 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.613e-05/0.2152, allocations: 64 kB / 0.7188 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003609/0.2189, allocations: 2.582 MB / 0.7213 GB, free: 9.098 MB / 0.5606 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.01342/0.2323, allocations: 13.8 MB / 0.7348 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002296/0.2346, allocations: 1.613 MB / 0.7363 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001563/0.2362, allocations: 1.15 MB / 0.7375 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007626/0.2369, allocations: 0.7165 MB / 0.7382 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.237, allocations: 47.56 kB / 0.7382 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006385/0.2376, allocations: 148.8 kB / 0.7383 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=126): time 2.875e-06/0.2377, allocations: 0 / 0.7383 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of matching and sorting (n=126): time 0.008517/0.2462, allocations: 3.445 MB / 0.7417 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.005e-05/0.2463, allocations: 145.5 kB / 0.7418 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002536/0.2488, allocations: 2.066 MB / 0.7439 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001207/0.2489, allocations: 57.7 kB / 0.7439 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.2575/0.5065, allocations: 1.258 MB / 0.7451 GB, free: 104.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005248/0.507, allocations: 439.5 kB / 0.7456 GB, free: 104.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005396/0.5076, allocations: 348.8 kB / 0.7459 GB, free: 104.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.476e-05/0.5076, allocations: 307.2 kB / 0.7462 GB, free: 104.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/0.5088, allocations: 0.7484 MB / 0.7469 GB, free: 104.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001322/0.5101, allocations: 1.248 MB / 0.7481 GB, free: 103.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002307/0.5125, allocations: 2.04 MB / 0.7501 GB, free: 102.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.517e-06/0.5125, allocations: 4.031 kB / 0.7501 GB, free: 102.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003847/0.5163, allocations: 2.427 MB / 0.7525 GB, free: 101.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.5164, allocations: 17.67 kB / 0.7525 GB, free: 101.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.5164, allocations: 14.06 kB / 0.7525 GB, free: 101.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00204/0.5184, allocations: 0.5266 MB / 0.753 GB, free: 101.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/0.5196, allocations: 350.9 kB / 0.7534 GB, free: 101.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002566/0.5221, allocations: 3.345 MB / 0.7566 GB, free: 98.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.5236, allocations: 113.2 kB / 0.7568 GB, free: 98.94 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/0.5237, allocations: 84.62 kB / 0.7568 GB, free: 98.93 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002479/0.5262, allocations: 1.569 MB / 0.7584 GB, free: 98.31 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001238/0.5275, allocations: 1.24 MB / 0.7596 GB, free: 97.46 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002452/0.5299, allocations: 2.038 MB / 0.7616 GB, free: 96.27 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.154e-06/0.5299, allocations: 4.094 kB / 0.7616 GB, free: 96.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=213) (initialization_lambda0): time 0.003322/0.5333, allocations: 2.395 MB / 0.7639 GB, free: 95.35 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.5333, allocations: 11.78 kB / 0.7639 GB, free: 95.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.5333, allocations: 14.09 kB / 0.7639 GB, free: 95.35 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004779/0.5338, allocations: 251.7 kB / 0.7642 GB, free: 95.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/0.535, allocations: 363.9 kB / 0.7645 GB, free: 95.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003108/0.5381, allocations: 4.561 MB / 0.769 GB, free: 91.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/0.5395, allocations: 124.2 kB / 0.7691 GB, free: 91.51 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/0.5397, allocations: 79.89 kB / 0.7692 GB, free: 91.5 MB / 0.5762 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.0003844/0.54, allocations: 292.3 kB / 0.7695 GB, free: 91.24 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003102/0.5404, allocations: 210 kB / 0.7697 GB, free: 91.13 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002731/0.5431, allocations: 2.074 MB / 0.7717 GB, free: 90.32 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001831/0.5449, allocations: 1.666 MB / 0.7733 GB, free: 89.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.545, allocations: 4.062 kB / 0.7733 GB, free: 89.67 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000568/0.5455, allocations: 496.7 kB / 0.7738 GB, free: 89.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002356/0.5458, allocations: 27.41 kB / 0.7738 GB, free: 89.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/0.5468, allocations: 92.06 kB / 0.7739 GB, free: 89.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/0.547, allocations: 98.91 kB / 0.774 GB, free: 89.25 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003157/0.5502, allocations: 2.123 MB / 0.7761 GB, free: 88.14 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002792/0.553, allocations: 2.898 MB / 0.7789 GB, free: 86.49 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007351/0.5537, allocations: 0.7987 MB / 0.7797 GB, free: 85.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001344/0.5551, allocations: 1.432 MB / 0.7811 GB, free: 84.24 MB / 0.5762 GB Notification: Performance of Backend: time 4.81e-07/0.5551, allocations: 0 / 0.7811 GB, free: 84.24 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004409/0.5595, allocations: 3.13 MB / 0.7841 GB, free: 81.14 MB / 0.5762 GB Notification: Performance of SimCode: time 0.007327/0.5668, allocations: 6.232 MB / 0.7902 GB, free: 74.95 MB / 0.5762 GB Notification: Performance of Templates: time 0.05633/0.6232, allocations: 53.38 MB / 0.8423 GB, free: 21.99 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)