Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.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.StratifiedEnhancedInternalHex,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Examples_StratifiedEnhancedInternalHex",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Examples_StratifiedEnhancedInternalHex",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.01243/0.01243, allocations: 170.8 kB / 15.11 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.801/0.801, allocations: 135.2 MB / 151 MB, free: 13.82 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.577/1.577, allocations: 223.2 MB / 406.8 MB, free: 3.234 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.0009008/0.0009004, allocations: 100.4 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003493, allocations: 8 kB / 0.5691 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4533/0.4537, allocations: 82.3 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8562/1.31, allocations: 394.4 MB / 1.035 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/1.31, allocations: 100.9 kB / 1.035 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 19.82/21.13, allocations: 4.702 GB / 5.737 GB, free: 56.99 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.226e-06/21.13, allocations: 0 / 5.737 GB, free: 56.99 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.003019/21.13, allocations: 413.5 kB / 5.737 GB, free: 56.93 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3221 * Number of variables: 3221 Notification: Performance of Generate backend data structure: time 0.06775/21.2, allocations: 16.49 MB / 5.753 GB, free: 50.99 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/21.2, allocations: 11.42 kB / 5.753 GB, free: 50.98 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01049/21.21, allocations: 1.706 MB / 5.755 GB, free: 50.87 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01492/21.22, allocations: 1.896 MB / 5.757 GB, free: 49.96 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05476/21.28, allocations: 18.23 MB / 5.775 GB, free: 48.22 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001727/21.28, allocations: 0.9747 MB / 5.776 GB, free: 48.19 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00751/21.29, allocations: 1.303 MB / 5.777 GB, free: 48.18 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05776/21.35, allocations: 18.28 MB / 5.795 GB, free: 45.84 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009976/21.35, allocations: 50.53 kB / 5.795 GB, free: 45.81 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006308/21.35, allocations: 0.529 MB / 5.795 GB, free: 45.81 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003985/21.35, allocations: 359.4 kB / 5.796 GB, free: 45.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03974/21.39, allocations: 15.6 MB / 5.811 GB, free: 40.66 MB / 0.823 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.9456/22.34, allocations: 81.25 MB / 5.89 GB, free: 36.22 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02205/22.36, allocations: 11.99 MB / 5.902 GB, free: 35.76 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0778/22.44, allocations: 28.31 MB / 5.93 GB, free: 29.72 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001708/22.44, allocations: 119.7 kB / 5.93 GB, free: 29.68 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01189/22.45, allocations: 0.7819 MB / 5.931 GB, free: 29.68 MB / 0.823 GB Notification: Performance of pre-optimization done (n=660): time 4.424e-05/22.45, allocations: 3.812 kB / 5.931 GB, free: 29.68 MB / 0.823 GB Notification: Performance of matching and sorting (n=660): time 0.05487/22.51, allocations: 17.99 MB / 5.948 GB, free: 27.57 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/22.51, allocations: 118.3 kB / 5.948 GB, free: 27.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03637/22.54, allocations: 12.17 MB / 5.96 GB, free: 26.84 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.003005/22.55, allocations: 185.1 kB / 5.96 GB, free: 26.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.01087/22.56, allocations: 7.158 MB / 5.967 GB, free: 24.62 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.005073/22.56, allocations: 2.322 MB / 5.97 GB, free: 23.17 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0029/22.56, allocations: 230.5 kB / 5.97 GB, free: 23.17 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.002545/22.57, allocations: 0.7749 MB / 5.971 GB, free: 38.84 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01196/22.58, allocations: 5.699 MB / 5.976 GB, free: 38.81 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01525/22.59, allocations: 9.589 MB / 5.985 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01823/22.61, allocations: 7.595 MB / 5.993 GB, free: 34.13 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003257/22.61, allocations: 34.81 kB / 5.993 GB, free: 34.13 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1476) (initialization): time 0.05061/22.66, allocations: 18.44 MB / 6.011 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.03052/22.69, allocations: 69.07 MB / 6.078 GB, free: 25.78 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007167/22.69, allocations: 120.5 kB / 6.078 GB, free: 25.78 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1038/22.8, allocations: 11.85 MB / 6.09 GB, free: 25.4 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01199/22.81, allocations: 2.411 MB / 6.092 GB, free: 25.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02182/22.83, allocations: 20.32 MB / 6.112 GB, free: 13.28 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02103/22.85, allocations: 1.103 MB / 6.113 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004332/22.86, allocations: 0.5418 MB / 6.114 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/22.86, allocations: 6.75 kB / 6.114 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04464/22.9, allocations: 17.41 MB / 6.131 GB, free: 12.41 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007319/22.9, allocations: 120.8 kB / 6.131 GB, free: 12.41 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1049/23.01, allocations: 11.86 MB / 6.143 GB, free: 11.64 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01139/23.02, allocations: 2.387 MB / 6.145 GB, free: 11.47 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02003/23.04, allocations: 18.51 MB / 6.163 GB, free: 17 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01677/23.06, allocations: 1.051 MB / 6.164 GB, free: 16.89 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003961/23.06, allocations: 0.5434 MB / 6.165 GB, free: 16.89 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 549 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1242): * Single equations (assignments): 1224 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 12 {2 16,2 16,2 16,2 16,2 16,2 16,2 17,2 17,2 17,2 17,2 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.01714/23.08, allocations: 5.804 MB / 6.17 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006962/23.09, allocations: 1.165 MB / 6.171 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03571/23.12, allocations: 11.63 MB / 6.183 GB, free: 9.227 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001147/23.12, allocations: 69.67 kB / 6.183 GB, free: 9.223 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.099e-05/23.12, allocations: 5.781 kB / 6.183 GB, free: 9.223 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02858/23.15, allocations: 9.629 MB / 6.192 GB, free: 5.363 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7899/23.94, allocations: 25.88 MB / 6.217 GB, free: 148.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-05/23.94, allocations: 12.03 kB / 6.217 GB, free: 148.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005723/23.95, allocations: 1.141 MB / 6.219 GB, free: 148.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05425/24, allocations: 6.415 MB / 6.225 GB, free: 148.2 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002083/24, allocations: 194 kB / 6.225 GB, free: 148.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01324/24.02, allocations: 17.89 MB / 6.242 GB, free: 136.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.161e-05/24.02, allocations: 22.62 kB / 6.242 GB, free: 136.3 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03738/24.05, allocations: 21.45 MB / 6.263 GB, free: 130.6 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01382/24.07, allocations: 2.801 MB / 6.266 GB, free: 130.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006306/24.07, allocations: 164 kB / 6.266 GB, free: 130.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01336/24.09, allocations: 0.7578 MB / 6.267 GB, free: 130.2 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002284/24.09, allocations: 444.2 kB / 6.267 GB, free: 130.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002256/24.09, allocations: 300.4 kB / 6.268 GB, free: 130.2 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.02303/24.11, allocations: 9.302 MB / 6.277 GB, free: 129.8 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.5e-07/24.11, allocations: 0 / 6.277 GB, free: 129.8 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.05051/24.16, allocations: 7.906 MB / 6.285 GB, free: 129.3 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 57 * Number of states: 30 (tanSte.vol[1].dynBal.U,tanSte.vol[2].dynBal.U,tanSte.vol[3].dynBal.U,tanSte.vol[4].dynBal.U,tanDyn.vol[1].dynBal.U,tanDyn.vol[2].dynBal.U,tanDyn.vol[3].dynBal.U,tanDyn.vol[4].dynBal.U,tanDyn.indTanHex.vol[1].dynBal.U,tanDyn.indTanHex.vol[2].dynBal.U,tanDyn.indTanHex.vol[3].dynBal.U,tanDyn.indTanHex.vol[4].dynBal.U,tanDyn.indTanHex.vol[5].dynBal.U,tanDyn.indTanHex.vol[6].dynBal.U,tanDyn.indTanHex.cap[1].T,tanDyn.indTanHex.cap[2].T,tanDyn.indTanHex.cap[3].T,tanDyn.indTanHex.cap[4].T,tanDyn.indTanHex.cap[5].T,tanDyn.indTanHex.cap[6].T,tanDynSol.vol[1].dynBal.U,tanDynSol.vol[2].dynBal.U,tanDynSol.vol[3].dynBal.U,tanDynSol.vol[4].dynBal.U,tanDynSol.indTanHex.cap[1].T,tanDynSol.indTanHex.cap[2].T,tanDynSol.indTanHex.cap[3].T,tanDynSol.indTanHex.cap[4].T,tanDynSol.indTanHex.cap[5].T,tanDynSol.indTanHex.cap[6].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (570): * Single equations (assignments): 546 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 12 {2 16,2 16,2 16,2 16,2 16,2 16,1 5,1 5,1 5,1 5,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0473/24.21, allocations: 24.83 MB / 6.309 GB, free: 121.7 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.05159/24.26, allocations: 22.08 MB / 6.33 GB, free: 120.8 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.127e-05/24.26, allocations: 7.188 kB / 6.33 GB, free: 120.8 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.01324/24.28, allocations: 5.438 MB / 6.336 GB, free: 120.4 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03493/24.31, allocations: 6.118 MB / 6.342 GB, free: 120.3 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1517/24.46, allocations: 134.1 MB / 6.473 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02736/24.49, allocations: 10.19 MB / 6.483 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.03391/24.52, allocations: 6.147 MB / 6.489 GB, free: 11.17 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02202/24.55, allocations: 6.308 MB / 6.495 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of SimCode: time 1.613e-06/24.55, allocations: 0 / 6.495 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.824/27.37, allocations: 399.9 MB / 6.885 GB, free: 97.3 MB / 0.9324 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001856/27.37, allocations: 257.6 kB / 6.886 GB, free: 96.96 MB / 0.9324 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.74/50.11, allocations: 0 / 6.886 GB, free: 96.96 MB / 0.9324 GB (rm -f IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Storage_Examples_StratifiedEnhancedInternalHex_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Storage_Examples_StratifiedEnhancedInternalHex.fmu > IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)