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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.8212/0.8212, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001292/0.001292, allocations: 188.7 kB / 169.7 MB, free: 1.73 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.938/1.938, allocations: 205.1 MB / 404.5 MB, free: 1.605 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001294/0.001294, allocations: 82.36 kB / 481.8 MB, free: 4.258 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.679e-05/3.682e-05, allocations: 4 kB / 0.5532 GB, free: 54.84 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1889, allocations: 76.75 MB / 0.6281 GB, free: 10.04 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.308/1.497, allocations: 388.3 MB / 1.007 GB, free: 126.7 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003121/1.498, allocations: 87.64 kB / 1.007 GB, free: 126.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.522/5.019, allocations: 0.9341 GB / 1.941 GB, free: 88.39 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.753e-06/5.019, allocations: 3.25 kB / 1.941 GB, free: 88.39 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002715/5.02, allocations: 80.72 kB / 1.942 GB, free: 88.38 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.005437/5.025, allocations: 2.658 MB / 1.944 GB, free: 87.45 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/5.025, allocations: 10.44 kB / 1.944 GB, free: 87.45 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001271/5.026, allocations: 352.4 kB / 1.945 GB, free: 87.29 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006883/5.033, allocations: 3.341 MB / 1.948 GB, free: 86.83 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001433/5.033, allocations: 185.2 kB / 1.948 GB, free: 86.82 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004277/5.034, allocations: 232.5 kB / 1.948 GB, free: 86.82 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005145/5.039, allocations: 3.006 MB / 1.951 GB, free: 86.46 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.976e-05/5.039, allocations: 0 / 1.951 GB, free: 86.46 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002242/5.039, allocations: 96.72 kB / 1.951 GB, free: 86.46 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.799e-05/5.039, allocations: 65.12 kB / 1.951 GB, free: 86.46 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004182/5.044, allocations: 2.386 MB / 1.954 GB, free: 86.43 MB / 0.6511 GB Warning: The model contains alias variables with conflicting start and/or 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.01463/5.058, allocations: 13 MB / 1.966 GB, free: 80.04 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002716/5.061, allocations: 1.674 MB / 1.968 GB, free: 79.91 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001307/5.062, allocations: 1.09 MB / 1.969 GB, free: 79.88 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006775/5.063, allocations: 0.7059 MB / 1.97 GB, free: 79.12 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/5.063, allocations: 48.62 kB / 1.97 GB, free: 79.08 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001738/5.065, allocations: 232.7 kB / 1.97 GB, free: 79.02 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=123): time 5.46e-06/5.065, allocations: 0 / 1.97 GB, free: 79.02 MB / 0.6511 GB Notification: Performance of matching and sorting (n=123): time 0.006159/5.071, allocations: 2.07 MB / 1.972 GB, free: 78.84 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/5.071, allocations: 143.7 kB / 1.972 GB, free: 78.68 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002562/5.074, allocations: 1.808 MB / 1.974 GB, free: 78.44 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002682/5.074, allocations: 57.48 kB / 1.974 GB, free: 78.41 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001048/5.075, allocations: 1.242 MB / 1.975 GB, free: 77.88 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004054/5.075, allocations: 436.4 kB / 1.976 GB, free: 77.62 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.977e-05/5.076, allocations: 37.73 kB / 1.976 GB, free: 77.62 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001256/5.076, allocations: 379.6 kB / 1.976 GB, free: 77.31 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009664/5.077, allocations: 0.6819 MB / 1.977 GB, free: 77.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001149/5.078, allocations: 1.234 MB / 1.978 GB, free: 76.66 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/5.079, allocations: 0.9158 MB / 1.979 GB, free: 76.65 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.117e-05/5.079, allocations: 3.344 kB / 1.979 GB, free: 76.65 MB / 0.6511 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.00411/5.083, allocations: 2.327 MB / 1.981 GB, free: 76.47 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.001636/5.085, allocations: 6.157 MB / 1.987 GB, free: 70.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.232e-05/5.085, allocations: 15.19 kB / 1.987 GB, free: 70.03 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002388/5.087, allocations: 495.2 kB / 1.987 GB, free: 70.01 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001555/5.089, allocations: 355.4 kB / 1.988 GB, free: 70.01 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00418/5.093, allocations: 3.232 MB / 1.991 GB, free: 68.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003372/5.096, allocations: 218.8 kB / 1.991 GB, free: 68.12 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002783/5.097, allocations: 83.02 kB / 1.991 GB, free: 68.12 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/5.097, allocations: 5.938 kB / 1.991 GB, free: 68.12 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003534/5.1, allocations: 2.077 MB / 1.993 GB, free: 68.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.243e-05/5.1, allocations: 15.38 kB / 1.993 GB, free: 68.06 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005915/5.101, allocations: 239.9 kB / 1.994 GB, free: 68.05 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/5.102, allocations: 375.6 kB / 1.994 GB, free: 68.05 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003627/5.106, allocations: 4.153 MB / 1.998 GB, free: 65.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002413/5.108, allocations: 205.3 kB / 1.998 GB, free: 65.34 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000283/5.109, allocations: 83.23 kB / 1.998 GB, free: 65.34 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.onOffBot.y,onOffBot.y,$PRE.onOffMid.y,onOffMid.y,and2.y,nor.y,$PRE.onOffHea.y,onOffHea.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (178): * Single equations (assignments): 176 * 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.0005855/5.109, allocations: 214.5 kB / 1.998 GB, free: 65.23 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00074/5.11, allocations: 198.3 kB / 1.999 GB, free: 65.12 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00453/5.114, allocations: 2.089 MB / 2.001 GB, free: 65 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.193e-05/5.114, allocations: 13.62 kB / 2.001 GB, free: 65 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/5.114, allocations: 0 / 2.001 GB, free: 65 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00302/5.118, allocations: 1.651 MB / 2.002 GB, free: 64.88 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008797/5.126, allocations: 4.413 MB / 2.007 GB, free: 64.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/5.126, allocations: 3.938 kB / 2.007 GB, free: 64.46 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008536/5.127, allocations: 200.2 kB / 2.007 GB, free: 64.46 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00211/5.129, allocations: 453.2 kB / 2.007 GB, free: 64.45 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001346/5.13, allocations: 36.17 kB / 2.007 GB, free: 64.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00334/5.133, allocations: 3.14 MB / 2.01 GB, free: 62.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/5.133, allocations: 0 / 2.01 GB, free: 62.57 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004048/5.137, allocations: 2.803 MB / 2.013 GB, free: 62.26 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001662/5.139, allocations: 0.4995 MB / 2.014 GB, free: 62.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000754/5.139, allocations: 33.66 kB / 2.014 GB, free: 62.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00218/5.142, allocations: 185.1 kB / 2.014 GB, free: 62.05 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002373/5.142, allocations: 98.09 kB / 2.014 GB, free: 62.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001361/5.142, allocations: 44.03 kB / 2.014 GB, free: 62.05 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.002731/5.145, allocations: 1.412 MB / 2.015 GB, free: 61.89 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.81e-07/5.145, allocations: 0 / 2.015 GB, free: 61.89 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.006438/5.151, allocations: 1.482 MB / 2.017 GB, free: 61.65 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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,nor.y,onOffHea.y) * Number of discrete states: 3 (onOffBot.y,onOffMid.y,onOffHea.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001475/5.153, allocations: 0.57 MB / 2.017 GB, free: 61.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.006447/5.159, allocations: 3.383 MB / 2.021 GB, free: 61.09 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/5.159, allocations: 0 / 2.021 GB, free: 61.09 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002262/5.162, allocations: 1.045 MB / 2.022 GB, free: 60.96 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006327/5.168, allocations: 1.13 MB / 2.023 GB, free: 60.93 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009715/5.178, allocations: 4.239 MB / 2.027 GB, free: 60.06 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002609/5.18, allocations: 2.194 MB / 2.029 GB, free: 59.32 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.005215/5.186, allocations: 1.357 MB / 2.03 GB, free: 59.28 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005922/5.186, allocations: 137.6 kB / 2.03 GB, free: 59.27 MB / 0.6511 GB Notification: Performance of SimCode: time 1.563e-06/5.186, allocations: 0 / 2.03 GB, free: 59.27 MB / 0.6511 GB Notification: Performance of Templates: time 0.08017/5.266, allocations: 50.33 MB / 2.08 GB, free: 51.15 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (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)