Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") translateModel(BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9686/0.9686, allocations: 143.4 MB / 158.3 MB, free: 5.809 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 183.4 kB / 191.5 MB, free: 5.766 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.591/1.591, allocations: 223.2 MB / 447.7 MB, free: 4.816 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.0009471/0.0009473, allocations: 84.31 kB / 0.5188 GB, free: 1.172 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002074/0.002074, allocations: 277 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004668/0.0004667, allocations: 13.62 kB / 0.6929 GB, free: 59.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1916, allocations: 82.79 MB / 0.7737 GB, free: 13.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.439/1.63, allocations: 391.9 MB / 1.156 GB, free: 267 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003484/1.631, allocations: 100.8 kB / 1.156 GB, free: 267 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 18.87/20.5, allocations: 4.694 GB / 5.85 GB, free: 68.05 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.737e-06/20.5, allocations: 3.625 kB / 5.85 GB, free: 68.05 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.003525/20.5, allocations: 398.5 kB / 5.851 GB, free: 68 MB / 0.8386 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.07379/20.57, allocations: 16.36 MB / 5.867 GB, free: 62.19 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/20.57, allocations: 6.938 kB / 5.867 GB, free: 62.19 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0166/20.59, allocations: 1.89 MB / 5.869 GB, free: 61.3 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06203/20.65, allocations: 17.83 MB / 5.886 GB, free: 59.62 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001942/20.65, allocations: 0.9769 MB / 5.887 GB, free: 59.59 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008585/20.66, allocations: 1.3 MB / 5.888 GB, free: 59.59 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07264/20.74, allocations: 18.29 MB / 5.906 GB, free: 57.38 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001092/20.74, allocations: 41.17 kB / 5.906 GB, free: 57.37 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00714/20.74, allocations: 0.5322 MB / 5.907 GB, free: 57.37 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004561/20.74, allocations: 352.2 kB / 5.907 GB, free: 57.37 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04799/20.79, allocations: 15.61 MB / 5.922 GB, free: 57.27 MB / 0.8386 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.1678/20.96, allocations: 80.82 MB / 6.001 GB, free: 23.5 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02257/20.98, allocations: 11.98 MB / 6.013 GB, free: 22.93 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.077/21.06, allocations: 28.31 MB / 6.041 GB, free: 12.23 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001209/21.06, allocations: 120.4 kB / 6.041 GB, free: 12.14 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01161/21.07, allocations: 0.7829 MB / 6.041 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=660): time 3.723e-05/21.07, allocations: 0 / 6.041 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=660): time 0.04585/21.12, allocations: 17.99 MB / 6.059 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.63e-05/21.12, allocations: 117.2 kB / 6.059 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02831/21.15, allocations: 12.03 MB / 6.071 GB, free: 16.07 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.003036/21.15, allocations: 188.2 kB / 6.071 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.01076/21.16, allocations: 7.107 MB / 6.078 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.006413/21.17, allocations: 2.315 MB / 6.08 GB, free: 8.703 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004446/21.17, allocations: 234.5 kB / 6.08 GB, free: 8.52 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0018/21.17, allocations: 0.7736 MB / 6.081 GB, free: 8.012 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01235/21.19, allocations: 5.694 MB / 6.087 GB, free: 5.938 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01625/21.2, allocations: 9.589 MB / 6.096 GB, free: 14.88 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01626/21.22, allocations: 7.602 MB / 6.104 GB, free: 11.65 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002201/21.22, allocations: 32.81 kB / 6.104 GB, free: 11.65 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1476) (initialization): time 0.8543/22.07, allocations: 19.18 MB / 6.122 GB, free: 85.24 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.02481/22.1, allocations: 68.61 MB / 6.189 GB, free: 46.04 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005333/22.1, allocations: 123.5 kB / 6.189 GB, free: 46.04 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1122/22.21, allocations: 11.85 MB / 6.201 GB, free: 45.91 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01295/22.22, allocations: 2.409 MB / 6.203 GB, free: 45.91 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02019/22.24, allocations: 20.3 MB / 6.223 GB, free: 33.97 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02177/22.27, allocations: 1.105 MB / 6.224 GB, free: 33.97 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004876/22.27, allocations: 0.5424 MB / 6.225 GB, free: 33.97 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/22.27, allocations: 6.625 kB / 6.225 GB, free: 33.97 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04989/22.32, allocations: 17.41 MB / 6.242 GB, free: 33.65 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000685/22.32, allocations: 124.6 kB / 6.242 GB, free: 33.65 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1076/22.43, allocations: 11.86 MB / 6.254 GB, free: 33.26 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0123/22.44, allocations: 2.393 MB / 6.256 GB, free: 33.25 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02069/22.46, allocations: 18.5 MB / 6.274 GB, free: 39.03 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01805/22.48, allocations: 1.052 MB / 6.275 GB, free: 38.99 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004522/22.48, allocations: 0.538 MB / 6.275 GB, free: 38.99 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1242): * Single equations (assignments): 1224 * 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.02036/22.5, allocations: 5.771 MB / 6.281 GB, free: 38.79 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006246/22.51, allocations: 1.15 MB / 6.282 GB, free: 38.79 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02963/22.54, allocations: 11.63 MB / 6.294 GB, free: 38.26 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.031e-05/22.54, allocations: 70.75 kB / 6.294 GB, free: 38.26 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.144e-05/22.54, allocations: 7.375 kB / 6.294 GB, free: 38.26 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02065/22.56, allocations: 9.63 MB / 6.303 GB, free: 37.66 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07797/22.64, allocations: 25.83 MB / 6.328 GB, free: 36.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.932e-05/22.64, allocations: 18.88 kB / 6.328 GB, free: 36.31 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006199/22.65, allocations: 1.139 MB / 6.329 GB, free: 36.31 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05219/22.7, allocations: 6.415 MB / 6.336 GB, free: 35.88 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002441/22.7, allocations: 189.1 kB / 6.336 GB, free: 35.88 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01799/22.72, allocations: 17.9 MB / 6.353 GB, free: 39.91 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.631e-05/22.72, allocations: 20.88 kB / 6.353 GB, free: 39.91 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05181/22.77, allocations: 21.39 MB / 6.374 GB, free: 33.78 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01785/22.79, allocations: 2.8 MB / 6.377 GB, free: 33.06 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007989/22.8, allocations: 162.3 kB / 6.377 GB, free: 33.06 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01642/22.81, allocations: 0.7568 MB / 6.378 GB, free: 32.99 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003156/22.82, allocations: 446.2 kB / 6.378 GB, free: 32.97 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003168/22.82, allocations: 296.5 kB / 6.379 GB, free: 32.97 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.03014/22.85, allocations: 9.195 MB / 6.388 GB, free: 32.64 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8.21e-07/22.85, allocations: 0 / 6.388 GB, free: 32.64 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.05515/22.9, allocations: 7.913 MB / 6.395 GB, free: 32.12 MB / 0.9323 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (570): * Single equations (assignments): 546 * 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.008505/22.91, allocations: 2.159 MB / 6.397 GB, free: 31.51 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.06037/22.97, allocations: 22.08 MB / 6.419 GB, free: 29.86 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-05/22.97, allocations: 6.344 kB / 6.419 GB, free: 29.86 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.01346/22.99, allocations: 5.421 MB / 6.424 GB, free: 29.29 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03695/23.02, allocations: 6.133 MB / 6.43 GB, free: 28.03 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09349/23.12, allocations: 36.91 MB / 6.466 GB, free: 2.609 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.506/24.62, allocations: 10.17 MB / 6.476 GB, free: 136.3 MB / 0.9324 GB Notification: Performance of simCode: alias equations: time 0.03759/24.66, allocations: 6.163 MB / 6.482 GB, free: 136.2 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006804/24.67, allocations: 0.8792 MB / 6.483 GB, free: 136.2 MB / 0.9324 GB Notification: Performance of SimCode: time 2.304e-06/24.67, allocations: 1.062 kB / 6.483 GB, free: 136.2 MB / 0.9324 GB Notification: Performance of Templates: time 0.5269/25.2, allocations: 271.8 MB / 6.749 GB, free: 45.95 MB / 0.9324 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & ./BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)