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.7399/0.7399, allocations: 128.8 MB / 143.7 MB, free: 2.18 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001107/0.001107, allocations: 181.9 kB / 173.8 MB, free: 6 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.598/1.598, allocations: 205.4 MB / 409 MB, free: 10.48 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.000901/0.0009013, allocations: 108.7 kB / 486.6 MB, free: 12.98 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003643/0.0003644, allocations: 9.703 kB / 0.5603 GB, free: 97.62 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1564, allocations: 76.76 MB / 0.6353 GB, free: 30.53 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.14/1.297, allocations: 388.4 MB / 1.015 GB, free: 170.1 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/1.297, allocations: 102.7 kB / 1.015 GB, free: 170.1 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.169/4.466, allocations: 0.9366 GB / 1.951 GB, free: 52.7 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.304e-06/4.466, allocations: 0 / 1.951 GB, free: 52.7 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0003103/4.467, allocations: 79.86 kB / 1.951 GB, free: 52.62 MB / 0.6667 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.008161/4.475, allocations: 3.131 MB / 1.954 GB, free: 49.42 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/4.475, allocations: 8.031 kB / 1.954 GB, free: 49.41 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001537/4.476, allocations: 348.1 kB / 1.955 GB, free: 49.07 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006703/4.483, allocations: 3.366 MB / 1.958 GB, free: 45.65 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/4.483, allocations: 180.6 kB / 1.958 GB, free: 45.47 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004266/4.484, allocations: 235.9 kB / 1.958 GB, free: 45.24 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005298/4.489, allocations: 3.066 MB / 1.961 GB, free: 42.03 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.262e-05/4.489, allocations: 0 / 1.961 GB, free: 42.03 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002563/4.489, allocations: 99.98 kB / 1.962 GB, free: 41.93 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.543e-05/4.489, allocations: 71.98 kB / 1.962 GB, free: 41.86 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004013/4.493, allocations: 2.453 MB / 1.964 GB, free: 39.39 MB / 0.6667 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.01536/4.509, allocations: 13.01 MB / 1.977 GB, free: 25.46 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002737/4.512, allocations: 1.699 MB / 1.978 GB, free: 23.73 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005963/4.512, allocations: 0.7126 MB / 1.979 GB, free: 22.87 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/4.512, allocations: 51.56 kB / 1.979 GB, free: 22.81 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001717/4.514, allocations: 215.3 kB / 1.979 GB, free: 22.6 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=123): time 4.659e-06/4.514, allocations: 0 / 1.979 GB, free: 22.6 MB / 0.6667 GB Notification: Performance of matching and sorting (n=123): time 0.00934/4.523, allocations: 3.38 MB / 1.983 GB, free: 19.17 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/4.523, allocations: 141.5 kB / 1.983 GB, free: 19 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00283/4.526, allocations: 1.834 MB / 1.985 GB, free: 17.13 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0003773/4.527, allocations: 53.7 kB / 1.985 GB, free: 17.07 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001077/4.528, allocations: 1.246 MB / 1.986 GB, free: 15.81 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004899/4.528, allocations: 433.9 kB / 1.986 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.297e-05/4.528, allocations: 32 kB / 1.986 GB, free: 15.35 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000119/4.528, allocations: 373.9 kB / 1.987 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001086/4.53, allocations: 0.7183 MB / 1.987 GB, free: 14.26 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001203/4.531, allocations: 1.273 MB / 1.989 GB, free: 12.75 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/4.532, allocations: 0.9471 MB / 1.989 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/4.532, allocations: 4 kB / 1.989 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.003769/4.536, allocations: 2.421 MB / 1.992 GB, free: 9.359 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.001121/4.537, allocations: 6.15 MB / 1.998 GB, free: 2.695 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.04e-05/4.537, allocations: 19.98 kB / 1.998 GB, free: 2.676 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002511/4.539, allocations: 0.5168 MB / 1.998 GB, free: 2.152 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/4.541, allocations: 351.4 kB / 1.999 GB, free: 1.809 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4478/4.988, allocations: 3.327 MB / 2.002 GB, free: 108.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003292/4.992, allocations: 231 kB / 2.002 GB, free: 108.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003129/4.992, allocations: 82.39 kB / 2.002 GB, free: 108.4 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/4.992, allocations: 7.641 kB / 2.002 GB, free: 108.4 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00387/4.996, allocations: 2.112 MB / 2.004 GB, free: 108.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.273e-05/4.996, allocations: 15.38 kB / 2.004 GB, free: 108.3 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006566/4.997, allocations: 242.4 kB / 2.005 GB, free: 108.3 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/4.998, allocations: 373.4 kB / 2.005 GB, free: 108.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004151/5.002, allocations: 4.198 MB / 2.009 GB, free: 105.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002946/5.005, allocations: 207.5 kB / 2.009 GB, free: 105.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002493/5.006, allocations: 88.94 kB / 2.009 GB, free: 105.7 MB / 0.6667 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 () * Number of clocked 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.002569/5.008, allocations: 0.9953 MB / 2.01 GB, free: 105.5 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008154/5.009, allocations: 205.8 kB / 2.01 GB, free: 105.5 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005548/5.015, allocations: 2.172 MB / 2.013 GB, free: 105.4 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.958e-05/5.015, allocations: 12.62 kB / 2.013 GB, free: 105.4 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/5.015, allocations: 7.969 kB / 2.013 GB, free: 105.4 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003314/5.018, allocations: 1.732 MB / 2.014 GB, free: 105.2 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008707/5.027, allocations: 4.459 MB / 2.019 GB, free: 104.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/5.027, allocations: 0 / 2.019 GB, free: 104.9 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000828/5.028, allocations: 195.5 kB / 2.019 GB, free: 104.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002325/5.03, allocations: 480.7 kB / 2.019 GB, free: 104.8 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001164/5.03, allocations: 37.98 kB / 2.019 GB, free: 104.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003668/5.034, allocations: 3.246 MB / 2.023 GB, free: 103 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/5.034, allocations: 2.406 kB / 2.023 GB, free: 103 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005064/5.039, allocations: 2.913 MB / 2.025 GB, free: 102.8 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001872/5.041, allocations: 0.4973 MB / 2.026 GB, free: 102.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003172/5.041, allocations: 31.56 kB / 2.026 GB, free: 102.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001493/5.042, allocations: 195.7 kB / 2.026 GB, free: 102.5 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002434/5.043, allocations: 99.34 kB / 2.026 GB, free: 102.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001189/5.043, allocations: 49.19 kB / 2.026 GB, free: 102.5 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002572/5.045, allocations: 1.43 MB / 2.028 GB, free: 102.4 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.01e-07/5.045, allocations: 0 / 2.028 GB, free: 102.4 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.005933/5.051, allocations: 1.482 MB / 2.029 GB, free: 102.3 MB / 0.6667 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) * Number of clocked states: 0 () * 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.001464/5.053, allocations: 0.5809 MB / 2.03 GB, free: 102.2 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.007227/5.06, allocations: 3.413 MB / 2.033 GB, free: 101.8 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/5.06, allocations: 0 / 2.033 GB, free: 101.8 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002813/5.063, allocations: 1.093 MB / 2.034 GB, free: 101.7 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00555/5.069, allocations: 1.118 MB / 2.035 GB, free: 101.6 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009233/5.078, allocations: 6.189 MB / 2.041 GB, free: 99.31 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001592/5.079, allocations: 2.187 MB / 2.043 GB, free: 98.56 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.003251/5.083, allocations: 0.9323 MB / 2.044 GB, free: 98.54 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004803/5.083, allocations: 179.8 kB / 2.044 GB, free: 98.54 MB / 0.6667 GB Notification: Performance of SimCode: time 1.313e-06/5.083, allocations: 0 / 2.044 GB, free: 98.54 MB / 0.6667 GB Notification: Performance of Templates: time 0.0731/5.156, allocations: 46.18 MB / 2.089 GB, free: 96.57 MB / 0.6667 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)