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.001608/0.001608, allocations: 172.5 kB / 7.646 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.819/0.819, allocations: 133.6 MB / 141.6 MB, free: 2.891 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.7/1.7, allocations: 221.5 MB / 395.5 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.00114/0.001139, allocations: 99.03 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.898e-05/1.897e-05, allocations: 0 / 0.5535 GB, free: 8.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6096/0.6096, allocations: 82.31 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.047/1.656, allocations: 393.7 MB / 1.018 GB, free: 7.379 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/1.657, allocations: 91.39 kB / 1.018 GB, free: 7.332 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 20.55/22.21, allocations: 4.667 GB / 5.686 GB, free: 48.39 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.354e-06/22.21, allocations: 0 / 5.686 GB, free: 48.39 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.002929/22.21, allocations: 413.2 kB / 5.686 GB, free: 48.34 MB / 0.8073 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.05746/22.27, allocations: 13.69 MB / 5.7 GB, free: 43.41 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/22.27, allocations: 13.84 kB / 5.7 GB, free: 43.4 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01442/22.28, allocations: 1.887 MB / 5.701 GB, free: 42.5 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05259/22.33, allocations: 18.14 MB / 5.719 GB, free: 40.76 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009718/22.33, allocations: 405.9 kB / 5.72 GB, free: 40.76 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006823/22.34, allocations: 0.7589 MB / 5.72 GB, free: 40.75 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04554/22.39, allocations: 14.46 MB / 5.734 GB, free: 40.7 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07393/22.46, allocations: 16.14 MB / 5.75 GB, free: 38.49 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001499/22.46, allocations: 48.88 kB / 5.75 GB, free: 38.48 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008045/22.47, allocations: 27.22 kB / 5.75 GB, free: 38.48 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006544/22.47, allocations: 349 kB / 5.751 GB, free: 38.48 MB / 0.8073 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.1986/22.67, allocations: 78.56 MB / 5.827 GB, free: 16.42 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02511/22.7, allocations: 11.3 MB / 5.838 GB, free: 11.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01243/22.71, allocations: 5.811 MB / 5.844 GB, free: 9.512 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.9663/23.67, allocations: 28.3 MB / 5.872 GB, free: 77.32 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001627/23.67, allocations: 124.2 kB / 5.872 GB, free: 77.27 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01078/23.68, allocations: 0.5575 MB / 5.872 GB, free: 77.27 MB / 0.823 GB Notification: Performance of pre-optimization done (n=651): time 8.359e-05/23.69, allocations: 1.406 kB / 5.872 GB, free: 77.27 MB / 0.823 GB Notification: Performance of matching and sorting (n=651): time 0.03121/23.72, allocations: 10.48 MB / 5.883 GB, free: 76.92 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.078e-05/23.72, allocations: 121.2 kB / 5.883 GB, free: 76.85 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02979/23.75, allocations: 10.83 MB / 5.893 GB, free: 76.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.003142/23.75, allocations: 32.02 kB / 5.893 GB, free: 76.17 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.01295/23.76, allocations: 7.143 MB / 5.9 GB, free: 73.96 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.005947/23.77, allocations: 2.199 MB / 5.902 GB, free: 72.53 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002511/23.77, allocations: 0.5625 kB / 5.902 GB, free: 72.53 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.001154/23.77, allocations: 0.7721 MB / 5.903 GB, free: 72.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01142/23.78, allocations: 5.356 MB / 5.908 GB, free: 72.18 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01517/23.8, allocations: 9.171 MB / 5.917 GB, free: 67.63 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02473/23.82, allocations: 9.465 MB / 5.927 GB, free: 67.54 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002811/23.82, allocations: 34.84 kB / 5.927 GB, free: 67.54 MB / 0.823 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.05609/23.88, allocations: 19.12 MB / 5.945 GB, free: 66.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.02619/23.91, allocations: 67.19 MB / 6.011 GB, free: 29.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000831/23.91, allocations: 119.4 kB / 6.011 GB, free: 29.35 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01437/23.92, allocations: 4.036 MB / 6.015 GB, free: 29.21 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01204/23.93, allocations: 2.401 MB / 6.017 GB, free: 29.21 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02506/23.96, allocations: 20.62 MB / 6.037 GB, free: 17.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01953/23.98, allocations: 0.8693 MB / 6.038 GB, free: 17.22 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004331/23.98, allocations: 0.5429 MB / 6.039 GB, free: 17.22 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/23.98, allocations: 5.531 kB / 6.039 GB, free: 17.22 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05561/24.04, allocations: 17.89 MB / 6.056 GB, free: 16.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000648/24.04, allocations: 123.8 kB / 6.056 GB, free: 16.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01301/24.05, allocations: 4.053 MB / 6.06 GB, free: 16.76 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01317/24.07, allocations: 2.38 MB / 6.063 GB, free: 16.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0225/24.09, allocations: 18.83 MB / 6.081 GB, free: 22.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01792/24.11, allocations: 0.8188 MB / 6.082 GB, free: 22.34 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004372/24.11, allocations: 0.5371 MB / 6.082 GB, free: 22.34 MB / 0.8698 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.006022/24.12, allocations: 451.6 kB / 6.083 GB, free: 21.98 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02762/24.14, allocations: 10.44 MB / 6.093 GB, free: 21 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006578/24.15, allocations: 1.1 MB / 6.094 GB, free: 20.41 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03746/24.19, allocations: 11.44 MB / 6.105 GB, free: 19.84 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.858e-05/24.19, allocations: 67.05 kB / 6.105 GB, free: 19.84 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.298e-05/24.19, allocations: 7.156 kB / 6.105 GB, free: 19.84 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02161/24.21, allocations: 9.661 MB / 6.115 GB, free: 19.23 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06622/24.28, allocations: 24.32 MB / 6.139 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.003e-05/24.28, allocations: 10.97 kB / 6.139 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00596/24.28, allocations: 1.129 MB / 6.14 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007519/24.29, allocations: 2.479 MB / 6.142 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002039/24.29, allocations: 97.03 kB / 6.142 GB, free: 10.76 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01726/24.31, allocations: 17.93 MB / 6.16 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.639e-05/24.31, allocations: 22.66 kB / 6.16 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.003/25.31, allocations: 21.63 MB / 6.181 GB, free: 127.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01322/25.33, allocations: 2.724 MB / 6.184 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008121/25.33, allocations: 47.83 kB / 6.184 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01787/25.35, allocations: 0.6377 MB / 6.184 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003794/25.35, allocations: 444.6 kB / 6.185 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002865/25.36, allocations: 296.7 kB / 6.185 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.03409/25.39, allocations: 8.092 MB / 6.193 GB, free: 127.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.41e-07/25.39, allocations: 4.547 kB / 6.193 GB, free: 127.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.07101/25.46, allocations: 7.534 MB / 6.2 GB, free: 126.7 MB / 0.8855 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.04952/25.51, allocations: 24.51 MB / 6.224 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.05108/25.56, allocations: 20.62 MB / 6.244 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.704e-05/25.56, allocations: 7.406 kB / 6.244 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.01175/25.58, allocations: 4.965 MB / 6.249 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03645/25.61, allocations: 5.356 MB / 6.254 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09291/25.71, allocations: 31.51 MB / 6.285 GB, free: 112.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02381/25.73, allocations: 10.19 MB / 6.295 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.03849/25.77, allocations: 8.512 MB / 6.303 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01519/25.78, allocations: 6.112 MB / 6.309 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of SimCode: time 1.362e-06/25.78, allocations: 0 / 6.309 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.641/27.42, allocations: 370.8 MB / 6.671 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001731/27.42, allocations: 172.3 kB / 6.672 GB, free: 115.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.92/49.34, allocations: 0 / 6.672 GB, free: 115.5 MB / 0.8855 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)