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.001964/0.001965, allocations: 175.1 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.7635/0.7635, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.906/1.906, allocations: 221.3 MB / 400.4 MB, free: 5.836 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.0009282/0.0009283, allocations: 91.89 kB / 483.3 MB, free: 5.879 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.894e-05/3.912e-05, allocations: 7.75 kB / 0.5601 GB, free: 87.79 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.199, allocations: 82.3 MB / 0.6405 GB, free: 7.734 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.58/1.779, allocations: 394.4 MB / 1.026 GB, free: 227.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003206/1.779, allocations: 87.95 kB / 1.026 GB, free: 227.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 20.96/22.74, allocations: 4.689 GB / 5.715 GB, free: 33.23 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.963e-06/22.74, allocations: 2.062 kB / 5.715 GB, free: 33.23 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.003818/22.74, allocations: 414.6 kB / 5.715 GB, free: 33.17 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.05838/22.8, allocations: 13.7 MB / 5.729 GB, free: 28.24 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/22.8, allocations: 9.312 kB / 5.729 GB, free: 28.24 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01001/22.81, allocations: 1.683 MB / 5.731 GB, free: 28.12 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01463/22.83, allocations: 1.89 MB / 5.732 GB, free: 27.22 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05458/22.88, allocations: 18.14 MB / 5.75 GB, free: 25.39 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001505/22.88, allocations: 0.9736 MB / 5.751 GB, free: 25.36 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009168/22.89, allocations: 1.303 MB / 5.752 GB, free: 25.35 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05727/22.95, allocations: 18.06 MB / 5.77 GB, free: 17.74 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001057/22.95, allocations: 47.44 kB / 5.77 GB, free: 17.7 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00751/22.96, allocations: 0.5297 MB / 5.77 GB, free: 17.17 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000428/22.96, allocations: 351 kB / 5.771 GB, free: 16.83 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03771/23, allocations: 15.33 MB / 5.786 GB, free: 3.082 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.868/23.86, allocations: 80.99 MB / 5.865 GB, free: 39.41 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02318/23.89, allocations: 11.85 MB / 5.876 GB, free: 38.95 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01179/23.9, allocations: 6.036 MB / 5.882 GB, free: 38.88 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06988/23.97, allocations: 28.76 MB / 5.91 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000143/23.97, allocations: 121.5 kB / 5.911 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009143/23.98, allocations: 0.7764 MB / 5.911 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=651): time 3.642e-05/23.98, allocations: 0 / 5.911 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=651): time 0.02985/24.01, allocations: 10.16 MB / 5.921 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.402e-05/24.01, allocations: 116.7 kB / 5.921 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03019/24.04, allocations: 12.05 MB / 5.933 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.00287/24.04, allocations: 186.3 kB / 5.933 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.009561/24.05, allocations: 7.169 MB / 5.94 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.003835/24.05, allocations: 2.288 MB / 5.943 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002479/24.06, allocations: 230.6 kB / 5.943 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.001517/24.06, allocations: 0.7731 MB / 5.943 GB, free: 26.2 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01177/24.07, allocations: 5.571 MB / 5.949 GB, free: 26.17 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01558/24.09, allocations: 9.461 MB / 5.958 GB, free: 21.59 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01614/24.1, allocations: 7.501 MB / 5.965 GB, free: 21.47 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003149/24.1, allocations: 35.16 kB / 5.966 GB, free: 21.47 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.04771/24.15, allocations: 18.2 MB / 5.983 GB, free: 20.52 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.02625/24.18, allocations: 69.06 MB / 6.051 GB, free: 13.13 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005246/24.18, allocations: 119.5 kB / 6.051 GB, free: 13.13 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09414/24.27, allocations: 11.87 MB / 6.062 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01088/24.28, allocations: 2.393 MB / 6.065 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01865/24.3, allocations: 20.18 MB / 6.085 GB, free: 16.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01617/24.32, allocations: 1.09 MB / 6.086 GB, free: 16.27 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003404/24.32, allocations: 0.5377 MB / 6.086 GB, free: 16.27 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/24.32, allocations: 8.844 kB / 6.086 GB, free: 16.27 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04216/24.36, allocations: 17.17 MB / 6.103 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004178/24.36, allocations: 120.3 kB / 6.103 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1197/24.48, allocations: 11.87 MB / 6.115 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01526/24.5, allocations: 2.379 MB / 6.117 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.9517/25.45, allocations: 18.37 MB / 6.135 GB, free: 149.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01664/25.47, allocations: 1.04 MB / 6.136 GB, free: 149.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004062/25.47, allocations: 0.5419 MB / 6.136 GB, free: 149.9 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.00529/25.48, allocations: 0.7696 MB / 6.137 GB, free: 149.8 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006072/25.48, allocations: 1.163 MB / 6.138 GB, free: 149.7 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02814/25.51, allocations: 11.32 MB / 6.149 GB, free: 149.2 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.993e-05/25.51, allocations: 69.23 kB / 6.149 GB, free: 149.2 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.824e-05/25.51, allocations: 10.69 kB / 6.149 GB, free: 149.2 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01901/25.53, allocations: 9.33 MB / 6.159 GB, free: 148.7 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0594/25.59, allocations: 25.59 MB / 6.184 GB, free: 147.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.972e-05/25.59, allocations: 12.94 kB / 6.184 GB, free: 147.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005464/25.59, allocations: 1.124 MB / 6.185 GB, free: 147.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04658/25.64, allocations: 6.428 MB / 6.191 GB, free: 147.2 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001926/25.64, allocations: 189.3 kB / 6.191 GB, free: 147.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01302/25.66, allocations: 17.77 MB / 6.208 GB, free: 135.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.515e-05/25.66, allocations: 20.28 kB / 6.208 GB, free: 135.2 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0335/25.69, allocations: 21.09 MB / 6.229 GB, free: 128.8 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01159/25.7, allocations: 2.792 MB / 6.232 GB, free: 128.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00559/25.71, allocations: 159.2 kB / 6.232 GB, free: 128.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01307/25.72, allocations: 0.75 MB / 6.233 GB, free: 128.1 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002061/25.72, allocations: 444.3 kB / 6.233 GB, free: 128.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001264/25.72, allocations: 298.4 kB / 6.233 GB, free: 128.1 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.01961/25.74, allocations: 9.177 MB / 6.242 GB, free: 127.7 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.062e-06/25.74, allocations: 0 / 6.242 GB, free: 127.7 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.04044/25.78, allocations: 7.905 MB / 6.25 GB, free: 127.1 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.0394/25.82, allocations: 24.46 MB / 6.274 GB, free: 119.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.04911/25.87, allocations: 22.02 MB / 6.295 GB, free: 118.5 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.58e-05/25.87, allocations: 7.812 kB / 6.295 GB, free: 118.5 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.01201/25.88, allocations: 5.313 MB / 6.301 GB, free: 118.1 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0341/25.92, allocations: 6.115 MB / 6.307 GB, free: 118 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09192/26.01, allocations: 32.43 MB / 6.338 GB, free: 111.7 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01637/26.03, allocations: 10.2 MB / 6.348 GB, free: 110.5 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0362/26.06, allocations: 9.354 MB / 6.357 GB, free: 109.9 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01264/26.08, allocations: 6.112 MB / 6.363 GB, free: 106.6 MB / 0.9167 GB Notification: Performance of SimCode: time 1.302e-06/26.08, allocations: 0 / 6.363 GB, free: 106.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.078/28.15, allocations: 419.2 MB / 6.773 GB, free: 9.785 MB / 0.9324 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001908/28.15, allocations: 238.8 kB / 6.773 GB, free: 9.469 MB / 0.9324 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.59/50.74, allocations: 0.75 kB / 6.773 GB, free: 9.469 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)