Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="IDEAS_dev_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.001535/0.001535, allocations: 172 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.8443/0.8443, allocations: 133.6 MB / 141.6 MB, free: 2.914 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.753/1.753, allocations: 221.5 MB / 395.4 MB, free: 10.77 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.001139/0.001139, allocations: 90.53 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.19e-05/2.192e-05, allocations: 0 / 0.5535 GB, free: 8.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.648/0.648, allocations: 82.3 MB / 0.6339 GB, free: 40.7 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.058/1.706, allocations: 386.9 MB / 1.012 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003346/1.707, allocations: 87.02 kB / 1.012 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.097/5.804, allocations: 0.9849 GB / 1.997 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.459e-06/5.804, allocations: 0 / 1.997 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004363/5.804, allocations: 87.33 kB / 1.997 GB, free: 111.7 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.008354/5.813, allocations: 2.701 MB / 1.999 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/5.813, allocations: 12 kB / 1.999 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001881/5.815, allocations: 359.2 kB / 2 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006949/5.822, allocations: 3.098 MB / 2.003 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/5.822, allocations: 80.55 kB / 2.003 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004525/5.822, allocations: 139.8 kB / 2.003 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004141/5.826, allocations: 2.206 MB / 2.005 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004387/5.831, allocations: 2.654 MB / 2.008 GB, free: 104.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.799e-05/5.831, allocations: 6 kB / 2.008 GB, free: 104.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002091/5.831, allocations: 4 kB / 2.008 GB, free: 104.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.291e-05/5.831, allocations: 67.92 kB / 2.008 GB, free: 104.6 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.01754/5.849, allocations: 12.58 MB / 2.02 GB, free: 91.32 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002222/5.851, allocations: 1.57 MB / 2.022 GB, free: 89.75 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001551/5.853, allocations: 1.096 MB / 2.023 GB, free: 88.66 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008162/5.853, allocations: 0.7114 MB / 2.023 GB, free: 87.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.754e-05/5.854, allocations: 62.81 kB / 2.024 GB, free: 87.73 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002292/5.856, allocations: 199.8 kB / 2.024 GB, free: 87.55 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=126): time 6.863e-06/5.856, allocations: 2.5 kB / 2.024 GB, free: 87.55 MB / 0.6823 GB Notification: Performance of matching and sorting (n=126): time 0.003125/5.859, allocations: 1.637 MB / 2.025 GB, free: 85.89 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.69e-05/5.859, allocations: 145.8 kB / 2.025 GB, free: 85.72 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002526/5.862, allocations: 1.756 MB / 2.027 GB, free: 83.93 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001572/5.862, allocations: 29.7 kB / 2.027 GB, free: 83.89 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00117/5.863, allocations: 1.265 MB / 2.028 GB, free: 82.62 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003709/5.863, allocations: 425.7 kB / 2.029 GB, free: 82.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.383e-05/5.863, allocations: 0 / 2.029 GB, free: 82.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001158/5.864, allocations: 373.9 kB / 2.029 GB, free: 81.82 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008408/5.864, allocations: 0.6622 MB / 2.03 GB, free: 81.16 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001102/5.866, allocations: 1.169 MB / 2.031 GB, free: 79.77 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/5.867, allocations: 0.9068 MB / 2.032 GB, free: 78.89 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.829e-06/5.867, allocations: 4 kB / 2.032 GB, free: 78.88 MB / 0.6823 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003452/5.87, allocations: 2.169 MB / 2.034 GB, free: 76.71 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001551/5.872, allocations: 5.703 MB / 2.04 GB, free: 70.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.497e-05/5.872, allocations: 16 kB / 2.04 GB, free: 70.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001601/5.874, allocations: 430.7 kB / 2.04 GB, free: 70.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/5.875, allocations: 359.4 kB / 2.04 GB, free: 69.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002798/5.878, allocations: 2.993 MB / 2.043 GB, free: 66.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002596/5.88, allocations: 196.8 kB / 2.043 GB, free: 66.51 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001635/5.88, allocations: 79.97 kB / 2.044 GB, free: 66.43 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/5.88, allocations: 5.094 kB / 2.044 GB, free: 66.43 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002978/5.883, allocations: 1.912 MB / 2.045 GB, free: 64.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/5.884, allocations: 12 kB / 2.045 GB, free: 64.51 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005133/5.884, allocations: 215.1 kB / 2.046 GB, free: 64.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/5.885, allocations: 379.4 kB / 2.046 GB, free: 63.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003187/5.889, allocations: 3.754 MB / 2.05 GB, free: 59.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002633/5.891, allocations: 183.5 kB / 2.05 GB, free: 59.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001636/5.891, allocations: 79.98 kB / 2.05 GB, free: 59.7 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.0005645/5.892, allocations: 164 kB / 2.05 GB, free: 59.54 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003084/5.895, allocations: 1.628 MB / 2.052 GB, free: 57.89 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00031/5.895, allocations: 209.4 kB / 2.052 GB, free: 57.69 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003205/5.899, allocations: 1.866 MB / 2.054 GB, free: 55.81 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/5.899, allocations: 16 kB / 2.054 GB, free: 55.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/5.899, allocations: 4 kB / 2.054 GB, free: 55.79 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001979/5.901, allocations: 1.496 MB / 2.055 GB, free: 54.28 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007627/5.908, allocations: 4.138 MB / 2.059 GB, free: 50.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/5.908, allocations: 6.625 kB / 2.059 GB, free: 50.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008796/5.909, allocations: 215.7 kB / 2.059 GB, free: 49.88 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001388/5.911, allocations: 405.2 kB / 2.06 GB, free: 49.47 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.098e-05/5.911, allocations: 26.94 kB / 2.06 GB, free: 49.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002525/5.913, allocations: 2.923 MB / 2.063 GB, free: 46.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.934e-06/5.913, allocations: 7.984 kB / 2.063 GB, free: 46.39 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00414/5.917, allocations: 2.862 MB / 2.065 GB, free: 43.44 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001662/5.919, allocations: 0.5218 MB / 2.066 GB, free: 42.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003251/5.919, allocations: 8 kB / 2.066 GB, free: 42.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001578/5.921, allocations: 163.6 kB / 2.066 GB, free: 42.73 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002823/5.921, allocations: 109 kB / 2.066 GB, free: 42.62 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001218/5.921, allocations: 55.95 kB / 2.066 GB, free: 42.57 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002396/5.924, allocations: 1.334 MB / 2.068 GB, free: 41.21 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/5.924, allocations: 0 / 2.068 GB, free: 41.21 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.007261/5.931, allocations: 1.464 MB / 2.069 GB, free: 39.74 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.0066/5.938, allocations: 4.18 MB / 2.073 GB, free: 35.56 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00631/5.944, allocations: 3.096 MB / 2.076 GB, free: 32.44 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.572e-05/5.944, allocations: 3.938 kB / 2.076 GB, free: 32.44 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001522/5.946, allocations: 0.9272 MB / 2.077 GB, free: 31.51 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007034/5.953, allocations: 1.069 MB / 2.078 GB, free: 30.48 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/5.963, allocations: 4.98 MB / 2.083 GB, free: 25.46 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001496/5.965, allocations: 2.214 MB / 2.085 GB, free: 23.21 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.004123/5.969, allocations: 1.404 MB / 2.086 GB, free: 21.86 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001271/5.97, allocations: 0.9835 MB / 2.087 GB, free: 20.87 MB / 0.6823 GB Notification: Performance of SimCode: time 1.032e-06/5.97, allocations: 0 / 2.087 GB, free: 20.87 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6684/6.639, allocations: 66.56 MB / 2.152 GB, free: 136.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003011/6.639, allocations: 183.7 kB / 2.153 GB, free: 136.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.492/11.13, allocations: 0 / 2.153 GB, free: 136.6 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature_fmu --startTime=0 --stopTime=21600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature.fmu > IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)