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.001449/0.00145, allocations: 172.9 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8573/0.8573, allocations: 133.6 MB / 141.6 MB, free: 2.883 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.837/1.837, allocations: 221.5 MB / 395.5 MB, free: 10.82 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.001083/0.001082, allocations: 98.11 kB / 478.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.483e-05/2.494e-05, allocations: 4 kB / 0.5535 GB, free: 8.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5432/0.5432, allocations: 82.3 MB / 0.6339 GB, free: 40.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9991/1.542, allocations: 386.9 MB / 1.012 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003113/1.543, allocations: 86.89 kB / 1.012 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.247/5.79, allocations: 0.985 GB / 1.997 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.643e-06/5.79, allocations: 0 / 1.997 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003522/5.791, allocations: 83.78 kB / 1.997 GB, free: 112.1 MB / 0.6823 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.007874/5.799, allocations: 2.7 MB / 1.999 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.047e-05/5.799, allocations: 10.72 kB / 1.999 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00195/5.801, allocations: 356.1 kB / 2 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007182/5.808, allocations: 3.104 MB / 2.003 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.876e-05/5.808, allocations: 76.61 kB / 2.003 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003317/5.808, allocations: 143.8 kB / 2.003 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004079/5.812, allocations: 2.201 MB / 2.005 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0042/5.817, allocations: 2.664 MB / 2.008 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.029e-05/5.817, allocations: 2.625 kB / 2.008 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002051/5.817, allocations: 4 kB / 2.008 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.256e-05/5.817, allocations: 67.92 kB / 2.008 GB, free: 104.7 MB / 0.6823 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.01593/5.833, allocations: 12.57 MB / 2.02 GB, free: 91.46 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001987/5.835, allocations: 1.572 MB / 2.022 GB, free: 89.88 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001339/5.836, allocations: 1.097 MB / 2.023 GB, free: 88.79 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006613/5.837, allocations: 0.7128 MB / 2.023 GB, free: 87.94 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/5.837, allocations: 59.81 kB / 2.024 GB, free: 87.87 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001919/5.839, allocations: 203.4 kB / 2.024 GB, free: 87.68 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=126): time 5.831e-06/5.839, allocations: 0 / 2.024 GB, free: 87.68 MB / 0.6823 GB Notification: Performance of matching and sorting (n=126): time 0.002844/5.842, allocations: 1.633 MB / 2.025 GB, free: 86.03 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/5.842, allocations: 144.4 kB / 2.025 GB, free: 85.86 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002344/5.844, allocations: 1.765 MB / 2.027 GB, free: 84.06 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001544/5.844, allocations: 25.7 kB / 2.027 GB, free: 84.03 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001118/5.845, allocations: 1.257 MB / 2.028 GB, free: 82.75 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003467/5.846, allocations: 429.6 kB / 2.029 GB, free: 82.33 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.233e-05/5.846, allocations: 1.875 kB / 2.029 GB, free: 82.33 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001171/5.846, allocations: 373.9 kB / 2.029 GB, free: 81.96 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007855/5.847, allocations: 0.6598 MB / 2.03 GB, free: 81.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/5.848, allocations: 1.177 MB / 2.031 GB, free: 79.91 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/5.849, allocations: 0.9102 MB / 2.032 GB, free: 79.02 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.879e-06/5.849, allocations: 4 kB / 2.032 GB, free: 79.01 MB / 0.6823 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003339/5.853, allocations: 2.162 MB / 2.034 GB, free: 76.85 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.00147/5.854, allocations: 5.711 MB / 2.04 GB, free: 70.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.332e-05/5.854, allocations: 15 kB / 2.04 GB, free: 70.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001559/5.856, allocations: 428.5 kB / 2.04 GB, free: 70.29 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/5.857, allocations: 359.4 kB / 2.04 GB, free: 69.94 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002738/5.86, allocations: 2.988 MB / 2.043 GB, free: 66.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002559/5.862, allocations: 204.7 kB / 2.043 GB, free: 66.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001585/5.862, allocations: 79.97 kB / 2.044 GB, free: 66.57 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/5.862, allocations: 4 kB / 2.044 GB, free: 66.56 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002929/5.865, allocations: 1.916 MB / 2.045 GB, free: 64.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/5.865, allocations: 12 kB / 2.045 GB, free: 64.63 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000481/5.866, allocations: 206.3 kB / 2.046 GB, free: 64.43 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/5.867, allocations: 387.4 kB / 2.046 GB, free: 64.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003181/5.87, allocations: 3.755 MB / 2.05 GB, free: 60.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002639/5.873, allocations: 179.6 kB / 2.05 GB, free: 59.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001953/5.873, allocations: 87.97 kB / 2.05 GB, free: 59.8 MB / 0.6823 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.0005548/5.874, allocations: 149.5 kB / 2.05 GB, free: 59.65 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00296/5.877, allocations: 1.624 MB / 2.052 GB, free: 58.02 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002956/5.877, allocations: 209.4 kB / 2.052 GB, free: 57.81 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003143/5.88, allocations: 1.869 MB / 2.054 GB, free: 55.93 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/5.88, allocations: 15.98 kB / 2.054 GB, free: 55.92 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/5.88, allocations: 4 kB / 2.054 GB, free: 55.91 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001961/5.882, allocations: 1.492 MB / 2.055 GB, free: 54.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007241/5.89, allocations: 4.151 MB / 2.059 GB, free: 50.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.874e-06/5.89, allocations: 0 / 2.059 GB, free: 50.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008852/5.89, allocations: 215.7 kB / 2.059 GB, free: 49.99 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001349/5.892, allocations: 401.5 kB / 2.06 GB, free: 49.59 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.813e-05/5.892, allocations: 19.94 kB / 2.06 GB, free: 49.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002381/5.894, allocations: 2.934 MB / 2.063 GB, free: 46.51 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/5.894, allocations: 7.938 kB / 2.063 GB, free: 46.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003823/5.898, allocations: 2.858 MB / 2.065 GB, free: 43.56 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001501/5.9, allocations: 0.5218 MB / 2.066 GB, free: 43.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002852/5.9, allocations: 11.98 kB / 2.066 GB, free: 43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00144/5.901, allocations: 163.6 kB / 2.066 GB, free: 42.84 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002086/5.902, allocations: 109 kB / 2.066 GB, free: 42.74 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/5.902, allocations: 55.95 kB / 2.066 GB, free: 42.68 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001803/5.904, allocations: 1.338 MB / 2.068 GB, free: 41.32 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.6e-07/5.904, allocations: 0 / 2.068 GB, free: 41.32 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004618/5.908, allocations: 1.456 MB / 2.069 GB, free: 39.86 MB / 0.6823 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.004638/5.913, allocations: 4.186 MB / 2.073 GB, free: 35.68 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004391/5.917, allocations: 3.096 MB / 2.076 GB, free: 32.56 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/5.917, allocations: 0 / 2.076 GB, free: 32.56 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001121/5.918, allocations: 0.9253 MB / 2.077 GB, free: 31.63 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005764/5.924, allocations: 1.074 MB / 2.078 GB, free: 30.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/5.934, allocations: 4.965 MB / 2.083 GB, free: 25.59 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001607/5.936, allocations: 2.226 MB / 2.085 GB, free: 23.33 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.004329/5.94, allocations: 1.401 MB / 2.086 GB, free: 21.97 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001392/5.942, allocations: 0.9874 MB / 2.087 GB, free: 20.98 MB / 0.6823 GB Notification: Performance of SimCode: time 2.515e-06/5.942, allocations: 0 / 2.087 GB, free: 20.98 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6942/6.636, allocations: 66.56 MB / 2.152 GB, free: 137 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002166/6.636, allocations: 176.2 kB / 2.153 GB, free: 136.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.455/11.09, allocations: 3.25 kB / 2.153 GB, free: 136.8 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)