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.7778/0.7778, allocations: 127.4 MB / 134.9 MB, free: 3.492 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.001036/0.001036, allocations: 179.6 kB / 164.6 MB, free: 11.61 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.538/1.538, allocations: 205.2 MB / 399.5 MB, free: 13.5 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.0009332/0.0009332, allocations: 96.11 kB / 476.7 MB, free: 1.453 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.862e-05/1.865e-05, allocations: 2.906 kB / 0.5466 GB, free: 95.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1481, allocations: 76.76 MB / 0.6215 GB, free: 43.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.048/1.196, allocations: 387.6 MB / 1 GB, free: 180.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002119/1.196, allocations: 93.53 kB / 1 GB, free: 180.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.042/4.238, allocations: 0.9293 GB / 1.929 GB, free: 58.65 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.224e-06/4.238, allocations: 0 / 1.929 GB, free: 58.65 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0004718/4.238, allocations: 79.16 kB / 1.93 GB, free: 58.58 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.007811/4.246, allocations: 2.66 MB / 1.932 GB, free: 55.88 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/4.246, allocations: 12.03 kB / 1.932 GB, free: 55.87 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001798/4.248, allocations: 344.1 kB / 1.932 GB, free: 55.53 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007097/4.255, allocations: 3.342 MB / 1.936 GB, free: 52.18 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/4.255, allocations: 76 kB / 1.936 GB, free: 52.11 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007865/4.256, allocations: 139.9 kB / 1.936 GB, free: 51.97 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004446/4.261, allocations: 2.176 MB / 1.938 GB, free: 49.79 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005119/4.266, allocations: 2.608 MB / 1.941 GB, free: 47.04 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.384e-05/4.266, allocations: 7.906 kB / 1.941 GB, free: 47.04 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000257/4.266, allocations: 0 / 1.941 GB, free: 47.04 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.56e-05/4.266, allocations: 71.94 kB / 1.941 GB, free: 46.96 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.01571/4.282, allocations: 12.91 MB / 1.953 GB, free: 33.18 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002012/4.284, allocations: 1.531 MB / 1.955 GB, free: 31.63 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00135/4.285, allocations: 1.062 MB / 1.956 GB, free: 30.57 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005362/4.286, allocations: 0.5496 MB / 1.956 GB, free: 29.92 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/4.286, allocations: 47.88 kB / 1.956 GB, free: 29.86 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001649/4.288, allocations: 190.7 kB / 1.957 GB, free: 29.68 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=121): time 5.841e-06/4.288, allocations: 0 / 1.957 GB, free: 29.68 MB / 0.6511 GB Notification: Performance of matching and sorting (n=121): time 0.003411/4.291, allocations: 1.664 MB / 1.958 GB, free: 27.99 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/4.291, allocations: 145.8 kB / 1.958 GB, free: 27.82 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003091/4.294, allocations: 1.688 MB / 1.96 GB, free: 26.09 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001769/4.294, allocations: 33.7 kB / 1.96 GB, free: 26.05 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001312/4.296, allocations: 1.256 MB / 1.961 GB, free: 24.79 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003788/4.296, allocations: 414 kB / 1.962 GB, free: 24.38 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/4.296, allocations: 0 / 1.962 GB, free: 24.38 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001153/4.296, allocations: 369.9 kB / 1.962 GB, free: 24.01 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008758/4.297, allocations: 0.6442 MB / 1.963 GB, free: 23.36 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00111/4.298, allocations: 1.191 MB / 1.964 GB, free: 21.92 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/4.3, allocations: 0.9141 MB / 1.965 GB, free: 21.01 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-05/4.3, allocations: 4 kB / 1.965 GB, free: 21.01 MB / 0.6511 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.003884/4.304, allocations: 2.168 MB / 1.967 GB, free: 18.82 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.001273/4.305, allocations: 6.133 MB / 1.973 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.676e-05/4.305, allocations: 16 kB / 1.973 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0025/4.308, allocations: 486.3 kB / 1.973 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/4.309, allocations: 355.4 kB / 1.974 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003652/4.313, allocations: 3.15 MB / 1.977 GB, free: 8.035 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002489/4.315, allocations: 195.4 kB / 1.977 GB, free: 7.844 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002174/4.315, allocations: 79.97 kB / 1.977 GB, free: 7.766 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/4.315, allocations: 5.719 kB / 1.977 GB, free: 7.762 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003205/4.319, allocations: 1.877 MB / 1.979 GB, free: 5.879 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.832e-05/4.319, allocations: 16.84 kB / 1.979 GB, free: 5.863 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005179/4.319, allocations: 217.7 kB / 1.979 GB, free: 5.645 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/4.32, allocations: 379.4 kB / 1.979 GB, free: 5.273 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003301/4.324, allocations: 3.756 MB / 1.983 GB, free: 1.289 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002247/4.326, allocations: 167.7 kB / 1.983 GB, free: 1.125 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001985/4.326, allocations: 88.28 kB / 1.983 GB, free: 1.039 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 (181): * Single equations (assignments): 179 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0004331/4.327, allocations: 152.4 kB / 1.983 GB, free: 0.8828 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006415/4.327, allocations: 197.5 kB / 1.984 GB, free: 0.6875 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4491/4.776, allocations: 1.778 MB / 1.985 GB, free: 105.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.681e-05/4.777, allocations: 13.14 kB / 1.985 GB, free: 105.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.956e-06/4.777, allocations: 5.562 kB / 1.985 GB, free: 105.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002717/4.779, allocations: 1.452 MB / 1.987 GB, free: 105.1 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009138/4.788, allocations: 3.947 MB / 1.991 GB, free: 104.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/4.788, allocations: 3.5 kB / 1.991 GB, free: 104.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009763/4.789, allocations: 199.5 kB / 1.991 GB, free: 104.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002143/4.792, allocations: 424 kB / 1.991 GB, free: 104.8 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001308/4.792, allocations: 19.12 kB / 1.991 GB, free: 104.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003767/4.796, allocations: 3.081 MB / 1.994 GB, free: 103 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/4.796, allocations: 1.062 kB / 1.994 GB, free: 103 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005013/4.801, allocations: 2.693 MB / 1.997 GB, free: 102.7 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001833/4.802, allocations: 0.4892 MB / 1.997 GB, free: 102.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003361/4.803, allocations: 9.844 kB / 1.997 GB, free: 102.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001481/4.804, allocations: 171.1 kB / 1.998 GB, free: 102.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002248/4.805, allocations: 98.92 kB / 1.998 GB, free: 102.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.576e-05/4.805, allocations: 46.55 kB / 1.998 GB, free: 102.6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00181/4.806, allocations: 1.282 MB / 1.999 GB, free: 102.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.01e-07/4.806, allocations: 0 / 1.999 GB, free: 102.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004435/4.811, allocations: 1.423 MB / 2 GB, free: 102.3 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (onOffMid.y,onOffBot.y,onOffHea.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001206/4.812, allocations: 0.5526 MB / 2.001 GB, free: 102.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005367/4.817, allocations: 3.147 MB / 2.004 GB, free: 101.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/4.818, allocations: 3.938 kB / 2.004 GB, free: 101.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001927/4.819, allocations: 0.989 MB / 2.005 GB, free: 101.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005065/4.825, allocations: 1.059 MB / 2.006 GB, free: 101.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00694/4.831, allocations: 4.152 MB / 2.01 GB, free: 100.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001806/4.833, allocations: 2.183 MB / 2.012 GB, free: 100.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.004213/4.838, allocations: 1.337 MB / 2.013 GB, free: 100.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003497/4.838, allocations: 135.2 kB / 2.014 GB, free: 100.1 MB / 0.6511 GB Notification: Performance of SimCode: time 1.222e-06/4.838, allocations: 0 / 2.014 GB, free: 100.1 MB / 0.6511 GB Notification: Performance of Templates: time 0.06262/4.901, allocations: 44.32 MB / 2.057 GB, free: 98.29 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)