Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Storage_Examples_StratifiedEnhancedInternalHex",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="IDEAS_dev_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.01879/0.01879, allocations: 169.9 kB / 15.11 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.365/1.365, allocations: 135.2 MB / 151 MB, free: 13.84 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.84/2.84, allocations: 223.2 MB / 406.8 MB, free: 3.223 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.001464/0.001464, allocations: 98.64 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007828/0.0007832, allocations: 12 kB / 0.5692 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018/1.019, allocations: 82.3 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.778/2.798, allocations: 394.4 MB / 1.035 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004227/2.798, allocations: 90.2 kB / 1.035 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 37.22/40.02, allocations: 4.702 GB / 5.737 GB, free: 57.43 MB / 0.823 GB Notification: Performance of FrontEnd: time 6.142e-06/40.02, allocations: 3.844 kB / 5.737 GB, free: 57.43 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.005292/40.02, allocations: 408.7 kB / 5.737 GB, free: 57.37 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.1239/40.15, allocations: 16.49 MB / 5.753 GB, free: 51.43 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.385e-05/40.15, allocations: 15.42 kB / 5.753 GB, free: 51.42 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01748/40.16, allocations: 1.707 MB / 5.755 GB, free: 51.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02526/40.19, allocations: 1.893 MB / 5.757 GB, free: 50.4 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0926/40.28, allocations: 18.23 MB / 5.775 GB, free: 48.66 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002819/40.28, allocations: 0.9796 MB / 5.776 GB, free: 48.63 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01156/40.3, allocations: 1.301 MB / 5.777 GB, free: 48.62 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.104/40.4, allocations: 18.27 MB / 5.795 GB, free: 46.31 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00173/40.4, allocations: 52.09 kB / 5.795 GB, free: 46.29 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009974/40.41, allocations: 0.5317 MB / 5.795 GB, free: 46.28 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007252/40.41, allocations: 349.3 kB / 5.796 GB, free: 46.28 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06816/40.48, allocations: 15.62 MB / 5.811 GB, free: 41.4 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 1.79/42.27, allocations: 81.25 MB / 5.89 GB, free: 36.27 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04151/42.31, allocations: 11.99 MB / 5.902 GB, free: 35.81 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1269/42.44, allocations: 28.31 MB / 5.93 GB, free: 45.77 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00027/42.44, allocations: 121.6 kB / 5.93 GB, free: 45.73 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01754/42.46, allocations: 0.78 MB / 5.931 GB, free: 45.73 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=660): time 7.458e-05/42.46, allocations: 0 / 5.931 GB, free: 45.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=660): time 0.09242/42.55, allocations: 18 MB / 5.948 GB, free: 43.62 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001647/42.55, allocations: 120.9 kB / 5.948 GB, free: 43.55 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06184/42.61, allocations: 12.17 MB / 5.96 GB, free: 42.89 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.005132/42.62, allocations: 184.4 kB / 5.96 GB, free: 42.86 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.01973/42.64, allocations: 7.152 MB / 5.967 GB, free: 40.66 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.008117/42.65, allocations: 2.322 MB / 5.97 GB, free: 39.21 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004527/42.65, allocations: 230.4 kB / 5.97 GB, free: 39.21 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.002209/42.65, allocations: 0.7746 MB / 5.971 GB, free: 38.88 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02159/42.67, allocations: 5.697 MB / 5.976 GB, free: 38.86 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02871/42.7, allocations: 9.592 MB / 5.985 GB, free: 34.27 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02234/42.73, allocations: 7.597 MB / 5.993 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003762/42.73, allocations: 35.62 kB / 5.993 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1476) (initialization): time 0.0891/42.81, allocations: 18.44 MB / 6.011 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.08252/42.9, allocations: 69.07 MB / 6.078 GB, free: 25.83 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001236/42.9, allocations: 125.5 kB / 6.078 GB, free: 25.83 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1578/43.06, allocations: 11.86 MB / 6.09 GB, free: 25.45 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0189/43.08, allocations: 2.404 MB / 6.092 GB, free: 25.44 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.039/43.11, allocations: 20.31 MB / 6.112 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03103/43.15, allocations: 1.108 MB / 6.113 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007278/43.15, allocations: 0.5417 MB / 6.114 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.314e-05/43.15, allocations: 7.375 kB / 6.114 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07532/43.23, allocations: 17.41 MB / 6.131 GB, free: 12.49 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001277/43.23, allocations: 122.3 kB / 6.131 GB, free: 12.49 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1379/43.37, allocations: 11.85 MB / 6.143 GB, free: 11.73 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01817/43.39, allocations: 2.394 MB / 6.145 GB, free: 11.55 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03219/43.42, allocations: 18.51 MB / 6.163 GB, free: 17.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0291/43.45, allocations: 1.05 MB / 6.164 GB, free: 16.97 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007438/43.46, allocations: 0.5398 MB / 6.165 GB, free: 16.97 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.03097/43.49, allocations: 5.809 MB / 6.17 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01016/43.5, allocations: 1.162 MB / 6.171 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05701/43.55, allocations: 11.63 MB / 6.183 GB, free: 9.871 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002185/43.55, allocations: 70.3 kB / 6.183 GB, free: 9.867 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.069e-05/43.55, allocations: 3.844 kB / 6.183 GB, free: 9.867 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04316/43.6, allocations: 9.636 MB / 6.192 GB, free: 6.008 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.622/45.22, allocations: 25.92 MB / 6.217 GB, free: 148.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001135/45.22, allocations: 15 kB / 6.218 GB, free: 148.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01152/45.23, allocations: 1.14 MB / 6.219 GB, free: 148.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07819/45.31, allocations: 6.413 MB / 6.225 GB, free: 148.7 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003318/45.31, allocations: 191.6 kB / 6.225 GB, free: 148.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03302/45.35, allocations: 17.89 MB / 6.243 GB, free: 136.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.553e-05/45.35, allocations: 23.12 kB / 6.243 GB, free: 136.8 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07374/45.42, allocations: 21.44 MB / 6.263 GB, free: 131.1 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0234/45.44, allocations: 2.801 MB / 6.266 GB, free: 130.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01046/45.45, allocations: 163.7 kB / 6.266 GB, free: 130.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02459/45.48, allocations: 0.7614 MB / 6.267 GB, free: 130.7 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00461/45.48, allocations: 446.3 kB / 6.268 GB, free: 130.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00407/45.49, allocations: 295.6 kB / 6.268 GB, free: 130.7 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.04553/45.53, allocations: 9.302 MB / 6.277 GB, free: 130.4 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.132e-06/45.53, allocations: 1.219 kB / 6.277 GB, free: 130.4 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0869/45.62, allocations: 7.908 MB / 6.285 GB, free: 129.9 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.09138/45.71, allocations: 24.82 MB / 6.309 GB, free: 122.3 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.09292/45.8, allocations: 22.09 MB / 6.33 GB, free: 121.3 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 6.086e-05/45.8, allocations: 6.938 kB / 6.33 GB, free: 121.3 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.02569/45.83, allocations: 5.427 MB / 6.336 GB, free: 120.9 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06861/45.9, allocations: 6.124 MB / 6.342 GB, free: 120.8 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2762/46.18, allocations: 134.1 MB / 6.473 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0496/46.22, allocations: 10.19 MB / 6.483 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.063/46.29, allocations: 6.146 MB / 6.489 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03647/46.32, allocations: 6.308 MB / 6.495 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of SimCode: time 2.855e-06/46.32, allocations: 0 / 6.495 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.484/51.81, allocations: 400 MB / 6.885 GB, free: 94.98 MB / 0.9324 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003267/51.81, allocations: 258.8 kB / 6.886 GB, free: 94.63 MB / 0.9324 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.91/83.72, allocations: 0 / 6.886 GB, free: 94.63 MB / 0.9324 GB (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Storage_Examples_StratifiedEnhancedInternalHex_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Storage_Examples_StratifiedEnhancedInternalHex.fmu > IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)