Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01242/0.01242, allocations: 171.5 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.889/0.889, allocations: 135.2 MB / 151 MB, free: 13.85 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 223.2 MB / 406.8 MB, free: 3.246 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009548/0.0009544, allocations: 97.97 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004071/0.0004073, allocations: 12 kB / 0.5691 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4737/0.4742, allocations: 82.31 MB / 0.6495 GB, free: 36.1 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8789/1.353, allocations: 387.6 MB / 1.028 GB, free: 4.824 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/1.353, allocations: 95.2 kB / 1.028 GB, free: 4.773 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.999/5.353, allocations: 0.9923 GB / 2.02 GB, free: 96.81 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.164e-06/5.353, allocations: 0 / 2.02 GB, free: 96.81 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003411/5.353, allocations: 83.86 kB / 2.02 GB, free: 96.73 MB / 0.698 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.008502/5.362, allocations: 3.187 MB / 2.024 GB, free: 93.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/5.362, allocations: 8.031 kB / 2.024 GB, free: 93.47 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009745/5.363, allocations: 340.9 kB / 2.024 GB, free: 93.12 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001264/5.364, allocations: 360 kB / 2.024 GB, free: 92.77 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006411/5.371, allocations: 3.128 MB / 2.027 GB, free: 89.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/5.371, allocations: 180.6 kB / 2.028 GB, free: 89.42 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003511/5.371, allocations: 239.9 kB / 2.028 GB, free: 89.19 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004555/5.376, allocations: 3.023 MB / 2.031 GB, free: 86.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.877e-05/5.376, allocations: 7.938 kB / 2.031 GB, free: 86.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002284/5.376, allocations: 100 kB / 2.031 GB, free: 85.92 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.027e-05/5.376, allocations: 67.98 kB / 2.031 GB, free: 85.85 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003371/5.379, allocations: 2.379 MB / 2.033 GB, free: 83.46 MB / 0.698 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.01688/5.396, allocations: 12.99 MB / 2.046 GB, free: 69.61 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002253/5.399, allocations: 1.652 MB / 2.047 GB, free: 67.94 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006259/5.399, allocations: 0.7088 MB / 2.048 GB, free: 67.08 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/5.399, allocations: 55.55 kB / 2.048 GB, free: 67.02 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001796/5.401, allocations: 231 kB / 2.048 GB, free: 66.79 MB / 0.698 GB Notification: Performance of pre-optimization done (n=126): time 3.918e-06/5.401, allocations: 0 / 2.048 GB, free: 66.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=126): time 0.008891/5.41, allocations: 3.443 MB / 2.052 GB, free: 63.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.722e-05/5.41, allocations: 145.5 kB / 2.052 GB, free: 63.12 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002782/5.413, allocations: 1.915 MB / 2.054 GB, free: 61.18 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001951/5.413, allocations: 57.7 kB / 2.054 GB, free: 61.11 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001164/5.414, allocations: 1.269 MB / 2.055 GB, free: 59.83 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004025/5.415, allocations: 437.8 kB / 2.056 GB, free: 59.39 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.303e-05/5.415, allocations: 32 kB / 2.056 GB, free: 59.36 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001265/5.415, allocations: 377.9 kB / 2.056 GB, free: 58.99 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009154/5.416, allocations: 0.7066 MB / 2.057 GB, free: 58.28 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/5.417, allocations: 1.241 MB / 2.058 GB, free: 56.81 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/5.418, allocations: 0.9302 MB / 2.059 GB, free: 55.88 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.826e-06/5.418, allocations: 7.953 kB / 2.059 GB, free: 55.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.00315/5.421, allocations: 2.358 MB / 2.061 GB, free: 53.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001281/5.423, allocations: 5.719 MB / 2.067 GB, free: 47.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/5.423, allocations: 19.98 kB / 2.067 GB, free: 47.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001761/5.424, allocations: 477.6 kB / 2.067 GB, free: 46.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/5.426, allocations: 355.4 kB / 2.067 GB, free: 46.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002603/5.428, allocations: 3.133 MB / 2.07 GB, free: 43.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002315/5.43, allocations: 235.4 kB / 2.071 GB, free: 42.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001377/5.431, allocations: 75.98 kB / 2.071 GB, free: 42.89 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/5.431, allocations: 4 kB / 2.071 GB, free: 42.89 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002856/5.434, allocations: 2.14 MB / 2.073 GB, free: 40.74 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/5.434, allocations: 16 kB / 2.073 GB, free: 40.72 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000524/5.434, allocations: 242.4 kB / 2.073 GB, free: 40.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/5.435, allocations: 375.4 kB / 2.073 GB, free: 40.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003291/5.439, allocations: 4.199 MB / 2.078 GB, free: 35.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00232/5.441, allocations: 227.5 kB / 2.078 GB, free: 35.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/5.441, allocations: 91.91 kB / 2.078 GB, free: 35.34 MB / 0.698 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 177 * 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.002039/5.443, allocations: 1.004 MB / 2.079 GB, free: 34.32 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005325/5.444, allocations: 209.4 kB / 2.079 GB, free: 34.11 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003054/5.447, allocations: 2.016 MB / 2.081 GB, free: 32.08 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/5.447, allocations: 16.06 kB / 2.081 GB, free: 32.07 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/5.447, allocations: 11.81 kB / 2.081 GB, free: 32.06 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001918/5.449, allocations: 1.609 MB / 2.083 GB, free: 30.43 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007497/5.456, allocations: 4.575 MB / 2.087 GB, free: 25.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/5.456, allocations: 0 / 2.087 GB, free: 25.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009053/5.457, allocations: 207.7 kB / 2.087 GB, free: 25.56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001572/5.459, allocations: 450.7 kB / 2.088 GB, free: 25.12 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.496e-05/5.459, allocations: 31.98 kB / 2.088 GB, free: 25.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002385/5.461, allocations: 3.05 MB / 2.091 GB, free: 21.88 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/5.461, allocations: 0 / 2.091 GB, free: 21.88 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003997/5.465, allocations: 2.978 MB / 2.094 GB, free: 18.84 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001779/5.467, allocations: 0.5294 MB / 2.094 GB, free: 18.29 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002943/5.467, allocations: 32 kB / 2.094 GB, free: 18.26 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001423/5.469, allocations: 190.8 kB / 2.094 GB, free: 18.08 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002085/5.469, allocations: 93.16 kB / 2.094 GB, free: 17.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/5.469, allocations: 59.95 kB / 2.095 GB, free: 17.93 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002092/5.471, allocations: 1.483 MB / 2.096 GB, free: 16.43 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/5.471, allocations: 3.938 kB / 2.096 GB, free: 16.42 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00434/5.476, allocations: 1.519 MB / 2.097 GB, free: 14.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (102): * Single equations (assignments): 96 * 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 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.005068/5.481, allocations: 4.176 MB / 2.102 GB, free: 10.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005504/5.486, allocations: 3.315 MB / 2.105 GB, free: 7.352 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.434e-05/5.486, allocations: 0 / 2.105 GB, free: 7.352 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001471/5.488, allocations: 0.9849 MB / 2.106 GB, free: 6.355 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006096/5.494, allocations: 1.129 MB / 2.107 GB, free: 5.266 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4244/5.918, allocations: 17.26 MB / 2.124 GB, free: 118.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00366/5.922, allocations: 2.214 MB / 2.126 GB, free: 118 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004016/5.926, allocations: 0.9493 MB / 2.127 GB, free: 118 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001558/5.928, allocations: 1.032 MB / 2.128 GB, free: 118 MB / 0.698 GB Notification: Performance of SimCode: time 1.102e-06/5.928, allocations: 0 / 2.128 GB, free: 118 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1093/6.037, allocations: 69.34 MB / 2.196 GB, free: 115.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001766/6.037, allocations: 263.5 kB / 2.196 GB, free: 115.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.367/10.4, allocations: 0 / 2.196 GB, free: 115.3 MB / 0.698 GB (rm -f IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature_fmu --startTime=0 --stopTime=21600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature.fmu > IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)