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.00126/0.00126, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4611/0.4611, allocations: 90.81 MB / 104.5 MB, free: 9.797 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.212/1.212, allocations: 221.3 MB / 348.3 MB, free: 444 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008707/0.0008707, allocations: 103.7 kB / 421.2 MB, free: 5.484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.527e-05/2.53e-05, allocations: 0 / 0.4896 GB, free: 5.367 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3442, allocations: 72.3 MB / 0.5602 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9541/1.298, allocations: 384.7 MB / 0.9359 GB, free: 229.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/1.299, allocations: 92.44 kB / 0.936 GB, free: 229.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 17.27/18.57, allocations: 4.699 GB / 5.635 GB, free: 49.38 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.214e-06/18.57, allocations: 0 / 5.635 GB, free: 49.38 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.002452/18.57, allocations: 411.2 kB / 5.636 GB, free: 49.32 MB / 0.7448 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.04698/18.62, allocations: 13.69 MB / 5.649 GB, free: 44.39 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/18.62, allocations: 15.41 kB / 5.649 GB, free: 44.39 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01173/18.63, allocations: 1.892 MB / 5.651 GB, free: 43.49 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04752/18.68, allocations: 18.15 MB / 5.669 GB, free: 41.75 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001006/18.68, allocations: 0.9734 MB / 5.67 GB, free: 41.72 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005552/18.68, allocations: 1.302 MB / 5.671 GB, free: 41.71 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04801/18.73, allocations: 18.06 MB / 5.688 GB, free: 39.45 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005552/18.73, allocations: 43.48 kB / 5.688 GB, free: 39.45 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004257/18.74, allocations: 0.5354 MB / 5.689 GB, free: 39.44 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003546/18.74, allocations: 349.1 kB / 5.689 GB, free: 39.44 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03451/18.77, allocations: 15.33 MB / 5.704 GB, free: 39.34 MB / 0.7448 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.1408/18.91, allocations: 80.86 MB / 5.783 GB, free: 3.836 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5878/19.5, allocations: 11.86 MB / 5.795 GB, free: 75.14 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009702/19.51, allocations: 6.034 MB / 5.801 GB, free: 75.07 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06051/19.57, allocations: 28.75 MB / 5.829 GB, free: 69.04 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001005/19.57, allocations: 123.6 kB / 5.829 GB, free: 68.98 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008907/19.58, allocations: 0.7746 MB / 5.83 GB, free: 68.98 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=651): time 4.07e-05/19.58, allocations: 1.656 kB / 5.83 GB, free: 68.98 MB / 0.7605 GB Notification: Performance of matching and sorting (n=651): time 0.02593/19.61, allocations: 10.16 MB / 5.84 GB, free: 68.34 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.987e-05/19.61, allocations: 116.8 kB / 5.84 GB, free: 68.27 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02732/19.63, allocations: 12.04 MB / 5.852 GB, free: 67.55 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.00245/19.64, allocations: 187.4 kB / 5.852 GB, free: 67.52 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.007618/19.64, allocations: 7.164 MB / 5.859 GB, free: 65.12 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.004/19.65, allocations: 2.291 MB / 5.861 GB, free: 63.68 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002124/19.65, allocations: 233.1 kB / 5.861 GB, free: 63.68 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.001072/19.65, allocations: 0.7721 MB / 5.862 GB, free: 63.36 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01048/19.66, allocations: 5.572 MB / 5.867 GB, free: 63.33 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01506/19.68, allocations: 9.455 MB / 5.877 GB, free: 58.76 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01499/19.69, allocations: 7.508 MB / 5.884 GB, free: 58.64 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002419/19.69, allocations: 41.58 kB / 5.884 GB, free: 58.64 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.04533/19.74, allocations: 18.19 MB / 5.902 GB, free: 57.69 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.01949/19.76, allocations: 69.07 MB / 5.969 GB, free: 18.29 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004433/19.76, allocations: 118.9 kB / 5.969 GB, free: 18.29 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08963/19.85, allocations: 11.87 MB / 5.981 GB, free: 17.86 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0102/19.86, allocations: 2.394 MB / 5.983 GB, free: 17.86 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01967/19.88, allocations: 20.17 MB / 6.003 GB, free: 21.74 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01626/19.89, allocations: 1.095 MB / 6.004 GB, free: 21.6 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003256/19.9, allocations: 0.5384 MB / 6.005 GB, free: 21.6 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/19.9, allocations: 6.75 kB / 6.005 GB, free: 21.6 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03868/19.94, allocations: 17.16 MB / 6.021 GB, free: 20.47 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004897/19.94, allocations: 125.7 kB / 6.021 GB, free: 20.47 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.087/20.02, allocations: 11.88 MB / 6.033 GB, free: 19.69 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009963/20.03, allocations: 2.377 MB / 6.035 GB, free: 19.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01669/20.05, allocations: 18.39 MB / 6.053 GB, free: 7.375 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01428/20.06, allocations: 1.041 MB / 6.054 GB, free: 7.086 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002963/20.07, allocations: 0.5404 MB / 6.055 GB, free: 6.996 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.00476/20.07, allocations: 0.7694 MB / 6.056 GB, free: 6.348 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005257/20.08, allocations: 1.165 MB / 6.057 GB, free: 5.727 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02565/20.1, allocations: 11.32 MB / 6.068 GB, free: 1.328 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.088e-05/20.1, allocations: 69.61 kB / 6.068 GB, free: 1.324 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.136e-05/20.1, allocations: 7.141 kB / 6.068 GB, free: 1.32 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01636/20.12, allocations: 9.313 MB / 6.077 GB, free: 13.72 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6593/20.78, allocations: 26.67 MB / 6.103 GB, free: 126.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.054e-05/20.78, allocations: 13.19 kB / 6.103 GB, free: 126.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006122/20.78, allocations: 1.127 MB / 6.104 GB, free: 126.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04493/20.83, allocations: 6.424 MB / 6.11 GB, free: 126.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002134/20.83, allocations: 192 kB / 6.111 GB, free: 126.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01223/20.84, allocations: 17.77 MB / 6.128 GB, free: 114.5 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-05/20.84, allocations: 21.56 kB / 6.128 GB, free: 114.5 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0286/20.87, allocations: 21.09 MB / 6.148 GB, free: 108.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009666/20.88, allocations: 2.793 MB / 6.151 GB, free: 108.1 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004271/20.89, allocations: 161.8 kB / 6.151 GB, free: 108.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01055/20.9, allocations: 0.7517 MB / 6.152 GB, free: 108.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009316/20.9, allocations: 444 kB / 6.153 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009924/20.9, allocations: 288.2 kB / 6.153 GB, free: 108 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.02113/20.92, allocations: 9.179 MB / 6.162 GB, free: 107.7 MB / 0.823 GB Notification: Performance of sort global known variables: time 8.82e-07/20.92, allocations: 1.188 kB / 6.162 GB, free: 107.7 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.04141/20.96, allocations: 7.901 MB / 6.169 GB, free: 107.1 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.006757/20.97, allocations: 2.151 MB / 6.172 GB, free: 106.7 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.04757/21.02, allocations: 22.02 MB / 6.193 GB, free: 105.7 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.761e-05/21.02, allocations: 9 kB / 6.193 GB, free: 105.7 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.01145/21.03, allocations: 5.308 MB / 6.198 GB, free: 105.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03587/21.06, allocations: 6.116 MB / 6.204 GB, free: 105.2 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06504/21.13, allocations: 27.52 MB / 6.231 GB, free: 99.43 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01955/21.15, allocations: 10.21 MB / 6.241 GB, free: 98.15 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.03823/21.19, allocations: 9.342 MB / 6.25 GB, free: 97.55 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004561/21.19, allocations: 0.6954 MB / 6.251 GB, free: 97.54 MB / 0.823 GB Notification: Performance of SimCode: time 1.383e-06/21.19, allocations: 0 / 6.251 GB, free: 97.54 MB / 0.823 GB Notification: Performance of Templates: time 1.059/22.25, allocations: 290 MB / 6.534 GB, free: 120 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)