Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.519/1.519, allocations: 289.9 MB / 297.4 MB, free: 6.406 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009819/0.000982, allocations: 176.8 kB / 366.7 MB, free: 1.695 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.349/1.349, allocations: 205.2 MB / 0.626 GB, free: 7.184 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007933/0.0007933, allocations: 98.8 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.772e-05/1.763e-05, allocations: 4 kB / 0.8597 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6014/0.6015, allocations: 116.3 MB / 0.9732 GB, free: 76.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.037/1.639, allocations: 427.6 MB / 1.391 GB, free: 129.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/1.639, allocations: 92.95 kB / 1.391 GB, free: 129.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.673/5.312, allocations: 0.9656 GB / 2.357 GB, free: 212.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.903e-06/5.312, allocations: 0 / 2.357 GB, free: 212.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004221/5.312, allocations: 73.33 kB / 2.357 GB, free: 212.4 MB / 0.948 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.007436/5.32, allocations: 2.688 MB / 2.359 GB, free: 211.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/5.32, allocations: 9.969 kB / 2.359 GB, free: 211.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001534/5.321, allocations: 354.6 kB / 2.36 GB, free: 211.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006633/5.328, allocations: 3.023 MB / 2.363 GB, free: 210.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/5.328, allocations: 74.62 kB / 2.363 GB, free: 210.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003837/5.328, allocations: 143.3 kB / 2.363 GB, free: 210.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004476/5.333, allocations: 2.203 MB / 2.365 GB, free: 210.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005004/5.338, allocations: 2.657 MB / 2.367 GB, free: 210.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.374e-05/5.338, allocations: 6.031 kB / 2.367 GB, free: 210.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002196/5.338, allocations: 11.36 kB / 2.368 GB, free: 210.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.856e-05/5.338, allocations: 66.62 kB / 2.368 GB, free: 210.6 MB / 0.948 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.01514/5.353, allocations: 12.58 MB / 2.38 GB, free: 204.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001844/5.355, allocations: 1.559 MB / 2.381 GB, free: 204.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001416/5.357, allocations: 1.094 MB / 2.382 GB, free: 204.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006393/5.357, allocations: 0.712 MB / 2.383 GB, free: 203.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/5.357, allocations: 58.5 kB / 2.383 GB, free: 203.5 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001619/5.359, allocations: 202.2 kB / 2.383 GB, free: 203.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=126): time 3.587e-06/5.359, allocations: 1.188 kB / 2.383 GB, free: 203.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=126): time 0.002863/5.362, allocations: 1.628 MB / 2.385 GB, free: 203.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.661e-05/5.362, allocations: 146.8 kB / 2.385 GB, free: 203.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002255/5.364, allocations: 1.728 MB / 2.387 GB, free: 202.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001104/5.364, allocations: 28.45 kB / 2.387 GB, free: 202.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009909/5.365, allocations: 1.246 MB / 2.388 GB, free: 202.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003329/5.366, allocations: 434.2 kB / 2.388 GB, free: 202 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-05/5.366, allocations: 2.719 kB / 2.388 GB, free: 202 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001045/5.366, allocations: 378 kB / 2.389 GB, free: 201.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008693/5.367, allocations: 0.6552 MB / 2.389 GB, free: 201.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/5.368, allocations: 1.168 MB / 2.391 GB, free: 201.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/5.369, allocations: 0.9188 MB / 2.392 GB, free: 201.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/5.369, allocations: 3.844 kB / 2.392 GB, free: 201.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003463/5.373, allocations: 2.166 MB / 2.394 GB, free: 200.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001025/5.374, allocations: 5.688 MB / 2.399 GB, free: 195 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.642e-05/5.374, allocations: 13.62 kB / 2.399 GB, free: 195 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001581/5.376, allocations: 426.3 kB / 2.4 GB, free: 194.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/5.377, allocations: 362.7 kB / 2.4 GB, free: 194.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002773/5.38, allocations: 2.987 MB / 2.403 GB, free: 193.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002211/5.382, allocations: 190.2 kB / 2.403 GB, free: 193.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001654/5.382, allocations: 81.94 kB / 2.403 GB, free: 193.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/5.382, allocations: 7.656 kB / 2.403 GB, free: 193.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003195/5.385, allocations: 1.909 MB / 2.405 GB, free: 193.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-05/5.385, allocations: 14.66 kB / 2.405 GB, free: 193.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005062/5.386, allocations: 211 kB / 2.405 GB, free: 193 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/5.387, allocations: 381.4 kB / 2.406 GB, free: 193 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003113/5.39, allocations: 3.758 MB / 2.409 GB, free: 190.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002253/5.393, allocations: 186 kB / 2.409 GB, free: 190.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001649/5.393, allocations: 82.53 kB / 2.409 GB, free: 190.5 MB / 0.948 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 ($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 (182): * Single equations (assignments): 180 * 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.0004531/5.393, allocations: 161.4 kB / 2.41 GB, free: 190.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004494/5.394, allocations: 199.2 kB / 2.41 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003771/5.397, allocations: 1.862 MB / 2.412 GB, free: 190.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.935e-05/5.397, allocations: 13.95 kB / 2.412 GB, free: 190.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/5.397, allocations: 2.25 kB / 2.412 GB, free: 190.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002597/5.4, allocations: 1.502 MB / 2.413 GB, free: 190 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009392/5.409, allocations: 4.134 MB / 2.417 GB, free: 189.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/5.41, allocations: 6.109 kB / 2.417 GB, free: 189.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009643/5.411, allocations: 216.5 kB / 2.417 GB, free: 189.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001618/5.412, allocations: 399.8 kB / 2.418 GB, free: 189.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001326/5.412, allocations: 22.52 kB / 2.418 GB, free: 189.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002904/5.415, allocations: 2.931 MB / 2.421 GB, free: 187.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/5.415, allocations: 2.344 kB / 2.421 GB, free: 187.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004829/5.42, allocations: 2.857 MB / 2.423 GB, free: 187.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001722/5.422, allocations: 0.515 MB / 2.424 GB, free: 187.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007495/5.423, allocations: 9.438 kB / 2.424 GB, free: 187.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002043/5.425, allocations: 166.9 kB / 2.424 GB, free: 187 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002702/5.425, allocations: 101.8 kB / 2.424 GB, free: 187 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001764/5.425, allocations: 60.31 kB / 2.424 GB, free: 187 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002694/5.428, allocations: 1.311 MB / 2.426 GB, free: 186.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.61e-07/5.428, allocations: 1.531 kB / 2.426 GB, free: 186.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006419/5.434, allocations: 1.452 MB / 2.427 GB, free: 186.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (103): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.001365/5.436, allocations: 0.5541 MB / 2.428 GB, free: 186.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004866/5.44, allocations: 3.103 MB / 2.431 GB, free: 186.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/5.44, allocations: 0 / 2.431 GB, free: 186.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001312/5.442, allocations: 0.9225 MB / 2.431 GB, free: 186 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006086/5.448, allocations: 1.076 MB / 2.432 GB, free: 186 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00884/5.457, allocations: 4.212 MB / 2.437 GB, free: 185.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00264/5.459, allocations: 2.21 MB / 2.439 GB, free: 184.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.005145/5.465, allocations: 1.371 MB / 2.44 GB, free: 184.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005661/5.465, allocations: 134.8 kB / 2.44 GB, free: 184.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.523e-06/5.465, allocations: 0 / 2.44 GB, free: 184.3 MB / 0.948 GB Notification: Performance of Templates: time 0.06735/5.533, allocations: 45.38 MB / 2.485 GB, free: 182.1 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (rm -f Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)