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.4.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.4.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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6406/0.6406, allocations: 117.9 MB / 133.9 MB, free: 4.516 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.001083/0.001083, allocations: 179 kB / 161.7 MB, free: 2.75 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.024/2.024, allocations: 205.4 MB / 394.8 MB, free: 21.2 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.0007943/0.0007944, allocations: 100.9 kB / 470.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000409/0.0004091, allocations: 12 kB / 0.5423 GB, free: 7.105 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4274/0.4278, allocations: 74.53 MB / 0.6151 GB, free: 54.16 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.245/1.673, allocations: 387.4 MB / 0.9934 GB, free: 236.6 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/1.673, allocations: 101.7 kB / 0.9935 GB, free: 236.6 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.052/4.725, allocations: 0.9305 GB / 1.924 GB, free: 43.46 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.555e-06/4.725, allocations: 0 / 1.924 GB, free: 43.46 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0004878/4.726, allocations: 71.98 kB / 1.924 GB, free: 43.39 MB / 0.6355 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.009688/4.735, allocations: 3.103 MB / 1.927 GB, free: 40.22 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/4.736, allocations: 16.03 kB / 1.927 GB, free: 40.2 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002009/4.738, allocations: 353 kB / 1.928 GB, free: 39.86 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007698/4.745, allocations: 3.249 MB / 1.931 GB, free: 36.55 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002001/4.746, allocations: 188.9 kB / 1.931 GB, free: 36.36 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009854/4.747, allocations: 236.9 kB / 1.931 GB, free: 36.13 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008165/4.755, allocations: 3.078 MB / 1.934 GB, free: 32.91 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001234/4.755, allocations: 11.78 kB / 1.934 GB, free: 32.9 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006513/4.756, allocations: 104 kB / 1.934 GB, free: 32.8 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.889e-05/4.756, allocations: 63.98 kB / 1.934 GB, free: 32.74 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005773/4.761, allocations: 2.453 MB / 1.937 GB, free: 30.27 MB / 0.6355 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.01896/4.78, allocations: 12.91 MB / 1.949 GB, free: 16.44 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002969/4.783, allocations: 1.668 MB / 1.951 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0015/4.785, allocations: 1.126 MB / 1.952 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006712/4.786, allocations: 0.7126 MB / 1.953 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.024e-05/4.786, allocations: 47.59 kB / 1.953 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001907/4.788, allocations: 222.7 kB / 1.953 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=123): time 8.616e-06/4.788, allocations: 4 kB / 1.953 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of matching and sorting (n=123): time 0.01195/4.8, allocations: 3.612 MB / 1.956 GB, free: 8.809 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.064e-05/4.8, allocations: 141.5 kB / 1.957 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003888/4.804, allocations: 1.894 MB / 1.958 GB, free: 6.699 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0004118/4.804, allocations: 57.69 kB / 1.959 GB, free: 6.637 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001343/4.805, allocations: 1.242 MB / 1.96 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.00066/4.806, allocations: 437.9 kB / 1.96 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001938/4.806, allocations: 28 kB / 1.96 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001493/4.806, allocations: 377.9 kB / 1.961 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001318/4.808, allocations: 0.7144 MB / 1.961 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00155/4.809, allocations: 1.269 MB / 1.962 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00269/4.812, allocations: 2.041 MB / 1.964 GB, free: 68 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.682e-05/4.812, allocations: 8 kB / 1.964 GB, free: 60 kB / 0.6355 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.005225/4.817, allocations: 2.421 MB / 1.967 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004478/4.818, allocations: 0.5361 MB / 1.967 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.583e-05/4.818, allocations: 16 kB / 1.967 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003439/4.821, allocations: 0.5909 MB / 1.968 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/4.823, allocations: 339.4 kB / 1.968 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004742/4.828, allocations: 3.304 MB / 1.972 GB, free: 8.461 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002896/4.83, allocations: 223.4 kB / 1.972 GB, free: 8.242 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004305/4.831, allocations: 87.97 kB / 1.972 GB, free: 8.156 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/4.831, allocations: 4 kB / 1.972 GB, free: 8.152 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00456/4.836, allocations: 2.105 MB / 1.974 GB, free: 6.039 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-05/4.836, allocations: 16 kB / 1.974 GB, free: 6.023 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006872/4.836, allocations: 242.2 kB / 1.974 GB, free: 5.781 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/4.838, allocations: 351.4 kB / 1.974 GB, free: 5.438 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004679/4.842, allocations: 4.145 MB / 1.979 GB, free: 1.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002688/4.845, allocations: 211.6 kB / 1.979 GB, free: 0.8125 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004101/4.846, allocations: 83.97 kB / 1.979 GB, free: 0.7305 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 () * 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.4433/5.289, allocations: 0.9932 MB / 1.98 GB, free: 116.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00106/5.29, allocations: 202.1 kB / 1.98 GB, free: 116.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005946/5.296, allocations: 2.159 MB / 1.982 GB, free: 116.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.65e-05/5.296, allocations: 15.03 kB / 1.982 GB, free: 116.4 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/5.296, allocations: 2.188 kB / 1.982 GB, free: 116.4 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003786/5.3, allocations: 1.731 MB / 1.984 GB, free: 116.3 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009428/5.309, allocations: 4.461 MB / 1.988 GB, free: 115.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/5.309, allocations: 0 / 1.988 GB, free: 115.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007878/5.31, allocations: 194 kB / 1.988 GB, free: 115.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002101/5.312, allocations: 487.8 kB / 1.989 GB, free: 115.9 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/5.312, allocations: 34.31 kB / 1.989 GB, free: 115.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003403/5.316, allocations: 3.222 MB / 1.992 GB, free: 114.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/5.316, allocations: 3.094 kB / 1.992 GB, free: 114.1 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004515/5.32, allocations: 2.913 MB / 1.995 GB, free: 113.9 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001448/5.322, allocations: 486.2 kB / 1.995 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002785/5.322, allocations: 28.81 kB / 1.995 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/5.323, allocations: 193.4 kB / 1.995 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002223/5.324, allocations: 98.16 kB / 1.996 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.134e-05/5.324, allocations: 43.97 kB / 1.996 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001997/5.326, allocations: 1.314 MB / 1.997 GB, free: 113.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.91e-07/5.326, allocations: 2 kB / 1.997 GB, free: 113.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004279/5.33, allocations: 1.467 MB / 1.998 GB, free: 113.5 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) * 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.001162/5.331, allocations: 0.556 MB / 1.999 GB, free: 113.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005733/5.337, allocations: 3.401 MB / 2.002 GB, free: 113 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/5.337, allocations: 0 / 2.002 GB, free: 113 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002293/5.339, allocations: 1.086 MB / 2.003 GB, free: 112.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00587/5.345, allocations: 1.125 MB / 2.004 GB, free: 112.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/5.356, allocations: 6.189 MB / 2.01 GB, free: 110.5 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001686/5.358, allocations: 2.134 MB / 2.012 GB, free: 109.8 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.003278/5.361, allocations: 0.9076 MB / 2.013 GB, free: 109.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004981/5.362, allocations: 176.3 kB / 2.014 GB, free: 109.8 MB / 0.6511 GB Notification: Performance of SimCode: time 1.092e-06/5.362, allocations: 0 / 2.014 GB, free: 109.8 MB / 0.6511 GB Notification: Performance of Templates: time 0.07545/5.437, allocations: 46.38 MB / 2.059 GB, free: 107.9 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)