Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") translateModel(IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001368/0.001368, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.53/0.53, allocations: 90.91 MB / 99.34 MB, free: 2.188 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 221.5 MB / 343.2 MB, free: 1.621 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008803/0.0008803, allocations: 91.39 kB / 415.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.459e-05/1.462e-05, allocations: 4 kB / 494.5 MB, free: 52.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1452, allocations: 72.31 MB / 0.5535 GB, free: 12.29 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.122/1.267, allocations: 384 MB / 0.9285 GB, free: 96.92 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/1.268, allocations: 89.33 kB / 0.9286 GB, free: 96.88 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 18.69/19.96, allocations: 4.677 GB / 5.606 GB, free: 36.22 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.543e-06/19.96, allocations: 0 / 5.606 GB, free: 36.22 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.002452/19.96, allocations: 407.8 kB / 5.606 GB, free: 36.16 MB / 0.7292 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.05019/20.01, allocations: 13.68 MB / 5.62 GB, free: 31.24 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/20.01, allocations: 17.64 kB / 5.62 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01317/20.02, allocations: 1.893 MB / 5.622 GB, free: 30.33 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04887/20.07, allocations: 18.15 MB / 5.639 GB, free: 28.59 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008053/20.07, allocations: 405.2 kB / 5.64 GB, free: 28.59 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006039/20.08, allocations: 0.7627 MB / 5.64 GB, free: 28.58 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03765/20.12, allocations: 14.46 MB / 5.654 GB, free: 28.52 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04375/20.16, allocations: 16.13 MB / 5.67 GB, free: 26.32 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007536/20.16, allocations: 39.7 kB / 5.67 GB, free: 26.31 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00477/20.17, allocations: 27.75 kB / 5.67 GB, free: 26.31 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003025/20.17, allocations: 348.8 kB / 5.671 GB, free: 26.31 MB / 0.7292 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.1295/20.3, allocations: 78.56 MB / 5.747 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01648/20.31, allocations: 11.3 MB / 5.758 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008785/20.32, allocations: 5.809 MB / 5.764 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06611/20.39, allocations: 28.31 MB / 5.792 GB, free: 9.305 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002199/20.39, allocations: 119.6 kB / 5.792 GB, free: 9.207 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009599/20.4, allocations: 0.5598 MB / 5.792 GB, free: 8.762 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=651): time 4.914e-05/20.4, allocations: 0 / 5.792 GB, free: 8.762 MB / 0.7605 GB Notification: Performance of matching and sorting (n=651): time 0.02872/20.43, allocations: 10.48 MB / 5.803 GB, free: 4.793 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.588e-05/20.43, allocations: 115 kB / 5.803 GB, free: 4.723 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6464/21.07, allocations: 10.98 MB / 5.813 GB, free: 67.1 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.003264/21.08, allocations: 34.89 kB / 5.813 GB, free: 67.07 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.01454/21.09, allocations: 7.138 MB / 5.82 GB, free: 65.73 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.00442/21.09, allocations: 2.206 MB / 5.823 GB, free: 64.32 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001666/21.1, allocations: 0 / 5.823 GB, free: 64.32 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0009381/21.1, allocations: 0.7721 MB / 5.823 GB, free: 64 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01234/21.11, allocations: 5.355 MB / 5.829 GB, free: 63.97 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01513/21.12, allocations: 9.162 MB / 5.838 GB, free: 59.42 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02217/21.15, allocations: 9.476 MB / 5.847 GB, free: 59.33 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003016/21.15, allocations: 35.75 kB / 5.847 GB, free: 59.33 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.05239/21.2, allocations: 19.1 MB / 5.865 GB, free: 58.41 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.01997/21.22, allocations: 67.2 MB / 5.931 GB, free: 21.16 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006708/21.22, allocations: 118.8 kB / 5.931 GB, free: 21.16 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01367/21.23, allocations: 4.035 MB / 5.935 GB, free: 21.02 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01085/21.24, allocations: 2.402 MB / 5.938 GB, free: 21.02 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0216/21.27, allocations: 20.63 MB / 5.958 GB, free: 25.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01711/21.28, allocations: 0.8689 MB / 5.959 GB, free: 25.02 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003464/21.29, allocations: 0.5365 MB / 5.959 GB, free: 25.02 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/21.29, allocations: 3.562 kB / 5.959 GB, free: 25.02 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03961/21.33, allocations: 17.9 MB / 5.977 GB, free: 24.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004657/21.33, allocations: 123.8 kB / 5.977 GB, free: 24.46 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01133/21.34, allocations: 4.046 MB / 5.981 GB, free: 24.32 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009872/21.35, allocations: 2.381 MB / 5.983 GB, free: 24.15 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01964/21.37, allocations: 18.84 MB / 6.001 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01637/21.38, allocations: 0.8147 MB / 6.002 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003741/21.39, allocations: 0.5422 MB / 6.003 GB, free: 13.81 MB / 0.8073 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.004573/21.39, allocations: 448.4 kB / 6.003 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004181/21.4, allocations: 1.097 MB / 6.004 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02392/21.42, allocations: 11.44 MB / 6.015 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.374e-05/21.42, allocations: 69.03 kB / 6.015 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-05/21.42, allocations: 2.406 kB / 6.015 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01651/21.44, allocations: 9.667 MB / 6.025 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07171/21.51, allocations: 24.32 MB / 6.049 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.885e-05/21.51, allocations: 15.66 kB / 6.049 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006075/21.52, allocations: 1.132 MB / 6.05 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007677/21.52, allocations: 2.478 MB / 6.052 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002015/21.53, allocations: 99.12 kB / 6.052 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01773/21.54, allocations: 17.92 MB / 6.07 GB, free: 14.26 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.418e-05/21.54, allocations: 31.3 kB / 6.07 GB, free: 14.25 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03594/21.58, allocations: 21.03 MB / 6.09 GB, free: 7.16 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01115/21.59, allocations: 2.727 MB / 6.093 GB, free: 5.688 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005416/21.6, allocations: 47.41 kB / 6.093 GB, free: 5.676 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01276/21.61, allocations: 0.6314 MB / 6.094 GB, free: 5.621 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003412/21.61, allocations: 448.3 kB / 6.094 GB, free: 5.531 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002282/21.61, allocations: 289.5 kB / 6.094 GB, free: 5.477 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.02097/21.64, allocations: 8.097 MB / 6.102 GB, free: 2.383 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.2e-07/21.64, allocations: 0 / 6.102 GB, free: 2.383 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0413/21.68, allocations: 7.54 MB / 6.11 GB, free: 1.102 MB / 0.823 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.006487/21.68, allocations: 2.051 MB / 6.112 GB, free: 328 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.7077/22.39, allocations: 20.86 MB / 6.132 GB, free: 120.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.739e-05/22.39, allocations: 6.25 kB / 6.132 GB, free: 120.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.009335/22.4, allocations: 4.97 MB / 6.137 GB, free: 119.7 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0303/22.43, allocations: 5.348 MB / 6.142 GB, free: 119.6 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06777/22.5, allocations: 26.95 MB / 6.168 GB, free: 114.5 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02456/22.52, allocations: 10.2 MB / 6.178 GB, free: 113.3 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.04198/22.57, allocations: 8.529 MB / 6.187 GB, free: 112.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005591/22.57, allocations: 0.6668 MB / 6.187 GB, free: 112.7 MB / 0.823 GB Notification: Performance of SimCode: time 1.864e-06/22.57, allocations: 0.6562 kB / 6.187 GB, free: 112.7 MB / 0.823 GB Notification: Performance of Templates: time 1.198/23.77, allocations: 247.3 MB / 6.429 GB, free: 117.6 MB / 0.823 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)