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: translateModel(IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") translateModel(IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001353/0.001353, 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.7687/0.7687, allocations: 133.6 MB / 141.6 MB, free: 2.934 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.616/1.616, allocations: 221.5 MB / 395.5 MB, free: 10.79 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.0008793/0.0008792, allocations: 94.8 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.159e-05/2.172e-05, allocations: 4 kB / 0.5534 GB, free: 9.062 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5886/0.5886, allocations: 82.31 MB / 0.6338 GB, free: 40.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.035/1.624, allocations: 393.7 MB / 1.018 GB, free: 7.504 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000317/1.624, allocations: 86.7 kB / 1.018 GB, free: 7.461 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 21.1/22.72, allocations: 4.667 GB / 5.686 GB, free: 48.43 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.204e-06/22.72, allocations: 0 / 5.686 GB, free: 48.43 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.003988/22.72, allocations: 414 kB / 5.686 GB, free: 48.38 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.05566/22.78, allocations: 13.69 MB / 5.7 GB, free: 43.44 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/22.78, allocations: 8.969 kB / 5.7 GB, free: 43.44 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01563/22.8, allocations: 1.886 MB / 5.701 GB, free: 42.54 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05316/22.85, allocations: 18.16 MB / 5.719 GB, free: 40.8 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001044/22.85, allocations: 406 kB / 5.72 GB, free: 40.8 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006213/22.86, allocations: 0.7584 MB / 5.72 GB, free: 40.79 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04087/22.9, allocations: 14.46 MB / 5.734 GB, free: 40.74 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05222/22.95, allocations: 16.13 MB / 5.75 GB, free: 38.53 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008372/22.95, allocations: 44.8 kB / 5.75 GB, free: 38.53 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005272/22.96, allocations: 27.19 kB / 5.75 GB, free: 38.53 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002908/22.96, allocations: 356.2 kB / 5.751 GB, free: 38.52 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.1517/23.11, allocations: 78.57 MB / 5.827 GB, free: 16.88 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02193/23.13, allocations: 11.29 MB / 5.838 GB, free: 12.17 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01167/23.14, allocations: 5.811 MB / 5.844 GB, free: 9.98 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8965/24.04, allocations: 28.67 MB / 5.872 GB, free: 76.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002382/24.04, allocations: 121.7 kB / 5.872 GB, free: 76.66 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01119/24.05, allocations: 0.5515 MB / 5.873 GB, free: 76.66 MB / 0.823 GB Notification: Performance of pre-optimization done (n=651): time 9.419e-05/24.05, allocations: 0 / 5.873 GB, free: 76.66 MB / 0.823 GB Notification: Performance of matching and sorting (n=651): time 0.03807/24.09, allocations: 10.48 MB / 5.883 GB, free: 76.3 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/24.09, allocations: 119.7 kB / 5.883 GB, free: 76.23 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0365/24.12, allocations: 10.83 MB / 5.894 GB, free: 75.59 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.003507/24.13, allocations: 32.64 kB / 5.894 GB, free: 75.55 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.01296/24.14, allocations: 7.134 MB / 5.901 GB, free: 73.36 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.00509/24.15, allocations: 2.203 MB / 5.903 GB, free: 71.93 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003149/24.15, allocations: 0 / 5.903 GB, free: 71.93 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.002034/24.15, allocations: 0.7736 MB / 5.903 GB, free: 71.59 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01291/24.16, allocations: 5.36 MB / 5.909 GB, free: 71.57 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01729/24.18, allocations: 9.159 MB / 5.918 GB, free: 67.02 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02666/24.21, allocations: 9.476 MB / 5.927 GB, free: 66.93 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004664/24.21, allocations: 33.56 kB / 5.927 GB, free: 66.93 MB / 0.823 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.06026/24.27, allocations: 19.1 MB / 5.946 GB, free: 66 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.02648/24.3, allocations: 67.19 MB / 6.011 GB, free: 28.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007961/24.3, allocations: 120.9 kB / 6.011 GB, free: 28.75 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0147/24.31, allocations: 4.036 MB / 6.015 GB, free: 28.62 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01314/24.32, allocations: 2.4 MB / 6.018 GB, free: 28.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02364/24.35, allocations: 20.64 MB / 6.038 GB, free: 16.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01774/24.37, allocations: 0.8696 MB / 6.039 GB, free: 16.61 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004246/24.37, allocations: 0.5417 MB / 6.039 GB, free: 16.61 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/24.37, allocations: 2.656 kB / 6.039 GB, free: 16.61 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05554/24.43, allocations: 17.9 MB / 6.057 GB, free: 16.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008003/24.43, allocations: 120.8 kB / 6.057 GB, free: 16.29 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01346/24.44, allocations: 4.052 MB / 6.061 GB, free: 16.15 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01159/24.45, allocations: 2.376 MB / 6.063 GB, free: 16.01 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02904/24.48, allocations: 18.83 MB / 6.081 GB, free: 21.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02094/24.5, allocations: 0.8142 MB / 6.082 GB, free: 21.68 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006631/24.51, allocations: 0.5434 MB / 6.083 GB, free: 21.68 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.0104/24.52, allocations: 445.7 kB / 6.083 GB, free: 21.33 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008956/24.53, allocations: 1.099 MB / 6.084 GB, free: 20.75 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04723/24.58, allocations: 11.46 MB / 6.095 GB, free: 20.16 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001318/24.58, allocations: 66.06 kB / 6.095 GB, free: 20.16 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.101e-05/24.58, allocations: 4.969 kB / 6.095 GB, free: 20.16 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02484/24.6, allocations: 9.655 MB / 6.105 GB, free: 19.55 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07339/24.67, allocations: 24.32 MB / 6.129 GB, free: 15.99 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.326e-05/24.67, allocations: 12.84 kB / 6.129 GB, free: 15.99 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005952/24.68, allocations: 1.132 MB / 6.13 GB, free: 15.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007847/24.69, allocations: 2.489 MB / 6.132 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00211/24.69, allocations: 93.25 kB / 6.132 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02116/24.71, allocations: 17.93 MB / 6.15 GB, free: 16.86 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.403e-05/24.71, allocations: 27.73 kB / 6.15 GB, free: 16.85 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04386/24.76, allocations: 21.04 MB / 6.17 GB, free: 5.125 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01131/24.77, allocations: 2.721 MB / 6.173 GB, free: 3.652 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005775/24.77, allocations: 51.53 kB / 6.173 GB, free: 3.641 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01307/24.79, allocations: 0.629 MB / 6.174 GB, free: 3.555 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002431/24.79, allocations: 440 kB / 6.174 GB, free: 3.469 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002289/24.79, allocations: 295.2 kB / 6.174 GB, free: 3.414 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.02425/24.81, allocations: 8.285 MB / 6.182 GB, free: 0 / 0.8855 GB Notification: Performance of sort global known variables: time 2.91e-07/24.81, allocations: 0.6094 kB / 6.182 GB, free: 0 / 0.8855 GB Notification: Performance of remove unused functions: time 1.029/25.84, allocations: 7.633 MB / 6.19 GB, free: 129.6 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.009909/25.85, allocations: 2.053 MB / 6.192 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.08049/25.93, allocations: 20.62 MB / 6.212 GB, free: 128.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.817e-05/25.93, allocations: 10.66 kB / 6.212 GB, free: 128.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.01802/25.95, allocations: 4.962 MB / 6.217 GB, free: 128 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04776/26, allocations: 5.348 MB / 6.222 GB, free: 127.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08894/26.09, allocations: 26.97 MB / 6.248 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0248/26.11, allocations: 10.2 MB / 6.258 GB, free: 121.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.05649/26.17, allocations: 8.508 MB / 6.267 GB, free: 120.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005491/26.18, allocations: 0.6724 MB / 6.267 GB, free: 120.8 MB / 0.8855 GB Notification: Performance of SimCode: time 1.713e-06/26.18, allocations: 0 / 6.267 GB, free: 120.8 MB / 0.8855 GB Notification: Performance of Templates: time 1.321/27.5, allocations: 247.3 MB / 6.509 GB, free: 127.5 MB / 0.8855 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)