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.001601/0.001601, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7814/0.7814, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.783/1.783, allocations: 221.3 MB / 400.4 MB, free: 5.816 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008373/0.0008373, allocations: 89.3 kB / 483.3 MB, free: 5.859 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.402e-05/4.435e-05, allocations: 6.672 kB / 0.5601 GB, free: 87.8 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2133, allocations: 82.31 MB / 0.6405 GB, free: 7.723 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.58/1.793, allocations: 394.4 MB / 1.026 GB, free: 198 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/1.794, allocations: 90.36 kB / 1.026 GB, free: 197.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 21.14/22.93, allocations: 4.689 GB / 5.715 GB, free: 48.93 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.034e-06/22.93, allocations: 0 / 5.715 GB, free: 48.93 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.003462/22.94, allocations: 409.8 kB / 5.715 GB, free: 48.84 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.05505/22.99, allocations: 13.7 MB / 5.729 GB, free: 43.73 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.183e-05/22.99, allocations: 7.688 kB / 5.729 GB, free: 43.73 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00912/23, allocations: 1.69 MB / 5.731 GB, free: 43.01 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01413/23.01, allocations: 1.883 MB / 5.732 GB, free: 42.11 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05102/23.07, allocations: 18.16 MB / 5.75 GB, free: 27.78 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001244/23.07, allocations: 0.9734 MB / 5.751 GB, free: 26.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008512/23.08, allocations: 1.304 MB / 5.752 GB, free: 25.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05529/23.13, allocations: 18.05 MB / 5.77 GB, free: 6.723 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008925/23.13, allocations: 39.66 kB / 5.77 GB, free: 6.684 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005758/23.14, allocations: 0.5273 MB / 5.77 GB, free: 6.156 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000355/23.14, allocations: 359.9 kB / 5.771 GB, free: 5.805 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7102/23.85, allocations: 15.33 MB / 5.786 GB, free: 59.29 MB / 0.823 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.1387/23.99, allocations: 80.84 MB / 5.865 GB, free: 26.77 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01966/24.01, allocations: 11.86 MB / 5.876 GB, free: 26.3 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01003/24.02, allocations: 6.034 MB / 5.882 GB, free: 26.24 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07021/24.09, allocations: 28.76 MB / 5.91 GB, free: 35.87 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002034/24.09, allocations: 120.5 kB / 5.91 GB, free: 35.82 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00995/24.1, allocations: 0.7748 MB / 5.911 GB, free: 35.52 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=651): time 4.306e-05/24.1, allocations: 3.188 kB / 5.911 GB, free: 35.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=651): time 0.02786/24.12, allocations: 10.16 MB / 5.921 GB, free: 34.55 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.74e-05/24.13, allocations: 116.5 kB / 5.921 GB, free: 34.48 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0353/24.16, allocations: 12.04 MB / 5.933 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.002723/24.16, allocations: 182.5 kB / 5.933 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.009788/24.17, allocations: 7.171 MB / 5.94 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.00424/24.18, allocations: 2.296 MB / 5.942 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00248/24.18, allocations: 231.1 kB / 5.943 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.001462/24.18, allocations: 0.7725 MB / 5.943 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01026/24.19, allocations: 5.573 MB / 5.949 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01406/24.21, allocations: 9.457 MB / 5.958 GB, free: 24.45 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01548/24.22, allocations: 7.501 MB / 5.965 GB, free: 24.34 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002615/24.22, allocations: 36.56 kB / 5.965 GB, free: 24.34 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.05011/24.27, allocations: 18.19 MB / 5.983 GB, free: 20.45 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0255/24.3, allocations: 69.07 MB / 6.051 GB, free: 12.19 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006456/24.3, allocations: 122.4 kB / 6.051 GB, free: 12.19 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09434/24.39, allocations: 11.87 MB / 6.062 GB, free: 10.79 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01057/24.4, allocations: 2.392 MB / 6.065 GB, free: 10.71 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01937/24.42, allocations: 20.18 MB / 6.084 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01655/24.44, allocations: 1.097 MB / 6.085 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003548/24.44, allocations: 0.5404 MB / 6.086 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/24.44, allocations: 6.969 kB / 6.086 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04165/24.48, allocations: 17.16 MB / 6.103 GB, free: 4.387 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005422/24.48, allocations: 121 kB / 6.103 GB, free: 4.387 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09222/24.58, allocations: 11.89 MB / 6.114 GB, free: 2.766 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01145/24.59, allocations: 2.374 MB / 6.117 GB, free: 2.523 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7987/25.39, allocations: 18.36 MB / 6.135 GB, free: 138.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01838/25.41, allocations: 1.045 MB / 6.136 GB, free: 138.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004676/25.41, allocations: 0.5383 MB / 6.136 GB, free: 138.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1233): * Single equations (assignments): 1215 * 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.00649/25.42, allocations: 0.7786 MB / 6.137 GB, free: 138.6 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006879/25.42, allocations: 1.16 MB / 6.138 GB, free: 138.6 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03424/25.46, allocations: 11.32 MB / 6.149 GB, free: 138.1 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000105/25.46, allocations: 64.38 kB / 6.149 GB, free: 138.1 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.025e-05/25.46, allocations: 3.844 kB / 6.149 GB, free: 138.1 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.021/25.48, allocations: 9.331 MB / 6.158 GB, free: 137.5 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07642/25.56, allocations: 25.6 MB / 6.183 GB, free: 136.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.015e-05/25.56, allocations: 11.97 kB / 6.183 GB, free: 136.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005674/25.56, allocations: 1.131 MB / 6.185 GB, free: 136.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04799/25.61, allocations: 6.42 MB / 6.191 GB, free: 136.1 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002047/25.61, allocations: 186.6 kB / 6.191 GB, free: 136.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01366/25.63, allocations: 17.78 MB / 6.208 GB, free: 124.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.44e-05/25.63, allocations: 21.75 kB / 6.208 GB, free: 124.1 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03603/25.66, allocations: 21.09 MB / 6.229 GB, free: 117.9 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01167/25.67, allocations: 2.792 MB / 6.232 GB, free: 117.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005769/25.68, allocations: 162.6 kB / 6.232 GB, free: 117.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01292/25.69, allocations: 0.7462 MB / 6.233 GB, free: 117.2 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002025/25.69, allocations: 444.7 kB / 6.233 GB, free: 117.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001997/25.7, allocations: 295 kB / 6.233 GB, free: 117.2 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.02278/25.72, allocations: 9.177 MB / 6.242 GB, free: 116.8 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.21e-07/25.72, allocations: 0 / 6.242 GB, free: 116.8 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.04196/25.76, allocations: 7.906 MB / 6.25 GB, free: 116.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (561): * Single equations (assignments): 537 * 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.04809/25.81, allocations: 24.46 MB / 6.274 GB, free: 108.7 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.04831/25.86, allocations: 22.03 MB / 6.295 GB, free: 107.7 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.053e-05/25.86, allocations: 12.81 kB / 6.295 GB, free: 107.7 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.01154/25.87, allocations: 5.306 MB / 6.301 GB, free: 107.3 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03401/25.9, allocations: 6.111 MB / 6.306 GB, free: 107.2 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09796/26, allocations: 32.42 MB / 6.338 GB, free: 101 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01599/26.02, allocations: 10.21 MB / 6.348 GB, free: 99.71 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.03738/26.05, allocations: 9.355 MB / 6.357 GB, free: 99.12 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01576/26.07, allocations: 6.112 MB / 6.363 GB, free: 96.05 MB / 0.9167 GB Notification: Performance of SimCode: time 2.454e-06/26.07, allocations: 0 / 6.363 GB, free: 96.05 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.234/29.3, allocations: 419.3 MB / 6.773 GB, free: 90.71 MB / 0.9324 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003367/29.3, allocations: 226.5 kB / 6.773 GB, free: 90.46 MB / 0.9324 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.73/52.04, allocations: 2.797 kB / 6.773 GB, free: 90.46 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)