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.01865/0.01865, allocations: 172.4 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 1.389/1.389, allocations: 135.2 MB / 151 MB, free: 13.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.109/3.109, allocations: 223.2 MB / 406.8 MB, free: 3.219 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.001987/0.001987, allocations: 96.59 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007381/0.0007383, allocations: 8 kB / 0.5691 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9418/0.9426, allocations: 82.3 MB / 0.6495 GB, free: 36.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.777/2.72, allocations: 387.6 MB / 1.028 GB, free: 2.367 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005665/2.72, allocations: 95.27 kB / 1.028 GB, free: 2.316 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.18/9.901, allocations: 0.9923 GB / 2.02 GB, free: 93.52 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.118e-06/9.901, allocations: 3.938 kB / 2.02 GB, free: 93.52 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0006783/9.901, allocations: 79.98 kB / 2.02 GB, free: 93.44 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.0161/9.917, allocations: 3.187 MB / 2.024 GB, free: 90.18 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001326/9.918, allocations: 12.03 kB / 2.024 GB, free: 90.17 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003155/9.921, allocations: 336.9 kB / 2.024 GB, free: 89.83 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004419/9.925, allocations: 364 kB / 2.024 GB, free: 89.47 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01243/9.938, allocations: 3.116 MB / 2.027 GB, free: 86.31 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003005/9.938, allocations: 188.5 kB / 2.028 GB, free: 86.12 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001633/9.94, allocations: 239.5 kB / 2.028 GB, free: 85.89 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01325/9.953, allocations: 3.029 MB / 2.031 GB, free: 82.73 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002313/9.953, allocations: 7.938 kB / 2.031 GB, free: 82.72 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001252/9.955, allocations: 95.98 kB / 2.031 GB, free: 82.62 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001702/9.955, allocations: 71.98 kB / 2.031 GB, free: 82.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009136/9.964, allocations: 2.383 MB / 2.033 GB, free: 80.16 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.03787/10, allocations: 12.99 MB / 2.046 GB, free: 66.31 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005449/10.01, allocations: 1.652 MB / 2.047 GB, free: 64.64 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001278/10.01, allocations: 0.701 MB / 2.048 GB, free: 63.79 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.995e-05/10.01, allocations: 59.55 kB / 2.048 GB, free: 63.72 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003868/10.01, allocations: 231 kB / 2.048 GB, free: 63.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=126): time 1.831e-05/10.01, allocations: 0 / 2.048 GB, free: 63.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=126): time 0.01912/10.03, allocations: 3.443 MB / 2.052 GB, free: 60 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/10.03, allocations: 141.5 kB / 2.052 GB, free: 59.83 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008772/10.04, allocations: 1.915 MB / 2.054 GB, free: 57.88 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0009339/10.04, allocations: 57.7 kB / 2.054 GB, free: 57.82 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.003079/10.05, allocations: 1.266 MB / 2.055 GB, free: 56.54 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001391/10.05, allocations: 445.8 kB / 2.056 GB, free: 56.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002527/10.05, allocations: 32 kB / 2.056 GB, free: 56.07 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0003158/10.05, allocations: 377.9 kB / 2.056 GB, free: 55.69 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002003/10.05, allocations: 0.7027 MB / 2.057 GB, free: 54.99 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00253/10.05, allocations: 1.237 MB / 2.058 GB, free: 53.52 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002427/10.05, allocations: 0.9341 MB / 2.059 GB, free: 52.59 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.197e-05/10.05, allocations: 7.953 kB / 2.059 GB, free: 52.58 MB / 0.698 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.007695/10.06, allocations: 2.359 MB / 2.061 GB, free: 50.21 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.004115/10.07, allocations: 5.719 MB / 2.067 GB, free: 44.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.966e-05/10.07, allocations: 16 kB / 2.067 GB, free: 44.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003746/10.07, allocations: 482 kB / 2.067 GB, free: 43.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002811/10.07, allocations: 351.4 kB / 2.067 GB, free: 43.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005765/10.08, allocations: 3.137 MB / 2.071 GB, free: 39.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004442/10.08, allocations: 227.4 kB / 2.071 GB, free: 39.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007967/10.08, allocations: 82.59 kB / 2.071 GB, free: 39.59 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/10.08, allocations: 7.938 kB / 2.071 GB, free: 39.59 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007502/10.09, allocations: 2.145 MB / 2.073 GB, free: 37.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001009/10.09, allocations: 16 kB / 2.073 GB, free: 37.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/10.09, allocations: 229.8 kB / 2.073 GB, free: 37.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002766/10.1, allocations: 367.4 kB / 2.073 GB, free: 36.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006621/10.1, allocations: 4.215 MB / 2.078 GB, free: 32.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005242/10.11, allocations: 219.5 kB / 2.078 GB, free: 32.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001107/10.11, allocations: 87.97 kB / 2.078 GB, free: 32.05 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.00478/10.11, allocations: 1.006 MB / 2.079 GB, free: 31.03 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001772/10.12, allocations: 213.4 kB / 2.079 GB, free: 30.82 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008126/10.12, allocations: 2.011 MB / 2.081 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.926e-05/10.12, allocations: 15.95 kB / 2.081 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/10.12, allocations: 4 kB / 2.081 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003856/10.13, allocations: 1.613 MB / 2.083 GB, free: 27.14 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01759/10.15, allocations: 4.591 MB / 2.087 GB, free: 22.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-05/10.15, allocations: 0 / 2.087 GB, free: 22.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001579/10.15, allocations: 211.7 kB / 2.087 GB, free: 22.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002726/10.15, allocations: 437.6 kB / 2.088 GB, free: 21.82 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002149/10.15, allocations: 27.98 kB / 2.088 GB, free: 21.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005414/10.16, allocations: 3.054 MB / 2.091 GB, free: 18.59 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/10.16, allocations: 0 / 2.091 GB, free: 18.59 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00812/10.16, allocations: 2.978 MB / 2.094 GB, free: 15.55 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003392/10.17, allocations: 0.5294 MB / 2.094 GB, free: 15 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001431/10.17, allocations: 32 kB / 2.094 GB, free: 14.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004016/10.17, allocations: 195.6 kB / 2.094 GB, free: 14.77 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005075/10.17, allocations: 97.16 kB / 2.094 GB, free: 14.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000415/10.17, allocations: 55.97 kB / 2.095 GB, free: 14.62 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.006137/10.18, allocations: 1.483 MB / 2.096 GB, free: 13.12 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.62e-07/10.18, allocations: 0 / 2.096 GB, free: 13.12 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01382/10.19, allocations: 1.519 MB / 2.097 GB, free: 11.6 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.0125/10.21, allocations: 4.172 MB / 2.102 GB, free: 7.395 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.009714/10.22, allocations: 3.303 MB / 2.105 GB, free: 4.062 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.271e-05/10.22, allocations: 4 kB / 2.105 GB, free: 4.059 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002847/10.22, allocations: 0.997 MB / 2.106 GB, free: 3.051 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01131/10.23, allocations: 1.136 MB / 2.107 GB, free: 1.953 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9997/11.23, allocations: 17.25 MB / 2.124 GB, free: 118.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007396/11.24, allocations: 2.22 MB / 2.126 GB, free: 117.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.009653/11.25, allocations: 0.9459 MB / 2.127 GB, free: 117.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006183/11.25, allocations: 1.031 MB / 2.128 GB, free: 117.5 MB / 0.698 GB Notification: Performance of SimCode: time 2.886e-06/11.25, allocations: 0 / 2.128 GB, free: 117.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2478/11.5, allocations: 69.35 MB / 2.196 GB, free: 115 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004167/11.5, allocations: 259.7 kB / 2.196 GB, free: 114.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.376/19.88, allocations: 3.719 kB / 2.196 GB, free: 114.7 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)