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: "" <> buildModelFMU(BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Storage_Examples_StratifiedEnhancedInternalHex",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Storage_Examples_StratifiedEnhancedInternalHex",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8799/0.8799, allocations: 143.4 MB / 158.3 MB, free: 5.633 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.001604/0.001604, allocations: 175.7 kB / 191.5 MB, free: 5.664 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.801/1.801, allocations: 223.2 MB / 447.7 MB, free: 4.887 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.001109/0.001108, allocations: 88.33 kB / 0.5188 GB, free: 1.238 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002065/0.002065, allocations: 273.1 kB / 0.6005 GB, free: 48.79 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000493/0.000493, allocations: 16.41 kB / 0.6929 GB, free: 59.59 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2254, allocations: 82.79 MB / 0.7738 GB, free: 13.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.499/1.725, allocations: 391.9 MB / 1.156 GB, free: 194.2 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004367/1.725, allocations: 97.86 kB / 1.157 GB, free: 194.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 19.89/21.61, allocations: 4.694 GB / 5.851 GB, free: 73.31 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.547e-06/21.61, allocations: 0 / 5.851 GB, free: 73.31 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.003927/21.62, allocations: 399.6 kB / 5.851 GB, free: 73.26 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.0824/21.7, allocations: 16.37 MB / 5.867 GB, free: 67.45 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.142e-05/21.7, allocations: 10.75 kB / 5.867 GB, free: 67.45 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01317/21.71, allocations: 1.704 MB / 5.869 GB, free: 67.34 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01904/21.73, allocations: 1.883 MB / 5.87 GB, free: 66.44 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06053/21.79, allocations: 17.83 MB / 5.888 GB, free: 64.76 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001853/21.79, allocations: 0.9793 MB / 5.889 GB, free: 64.73 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008913/21.8, allocations: 1.298 MB / 5.89 GB, free: 64.73 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07212/21.88, allocations: 18.28 MB / 5.908 GB, free: 62.48 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001371/21.88, allocations: 46.95 kB / 5.908 GB, free: 62.48 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007478/21.88, allocations: 0.5318 MB / 5.908 GB, free: 62.48 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006717/21.88, allocations: 347.9 kB / 5.909 GB, free: 62.48 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04922/21.93, allocations: 15.62 MB / 5.924 GB, free: 62.38 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.1934/22.13, allocations: 80.82 MB / 6.003 GB, free: 28.51 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02611/22.15, allocations: 11.98 MB / 6.015 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08246/22.24, allocations: 28.3 MB / 6.042 GB, free: 12.63 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/22.24, allocations: 124.3 kB / 6.042 GB, free: 12.53 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0115/22.25, allocations: 0.7781 MB / 6.043 GB, free: 11.91 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=660): time 4.808e-05/22.25, allocations: 0 / 6.043 GB, free: 11.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=660): time 0.05459/22.3, allocations: 18 MB / 6.061 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/22.3, allocations: 117 kB / 6.061 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04014/22.34, allocations: 12.03 MB / 6.073 GB, free: 440 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.003503/22.35, allocations: 189.3 kB / 6.073 GB, free: 288 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.01383/22.36, allocations: 7.136 MB / 6.08 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.006694/22.37, allocations: 2.312 MB / 6.082 GB, free: 9.18 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004647/22.37, allocations: 231 kB / 6.082 GB, free: 9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.002455/22.37, allocations: 0.7751 MB / 6.083 GB, free: 8.488 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01448/22.39, allocations: 5.701 MB / 6.089 GB, free: 4.891 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.8869/23.28, allocations: 9.595 MB / 6.098 GB, free: 79.24 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02049/23.3, allocations: 7.591 MB / 6.105 GB, free: 79.15 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003584/23.3, allocations: 34.84 kB / 6.105 GB, free: 79.15 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1476) (initialization): time 0.05872/23.36, allocations: 18.44 MB / 6.123 GB, free: 78.81 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.02403/23.38, allocations: 68.61 MB / 6.19 GB, free: 39.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007796/23.38, allocations: 119.3 kB / 6.191 GB, free: 39.59 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1041/23.48, allocations: 11.86 MB / 6.202 GB, free: 39.46 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01183/23.5, allocations: 2.413 MB / 6.204 GB, free: 39.45 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02344/23.52, allocations: 20.3 MB / 6.224 GB, free: 43.52 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02033/23.54, allocations: 1.107 MB / 6.225 GB, free: 43.52 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004355/23.54, allocations: 0.5479 MB / 6.226 GB, free: 43.52 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/23.54, allocations: 3.031 kB / 6.226 GB, free: 43.52 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04857/23.59, allocations: 17.42 MB / 6.243 GB, free: 42.87 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006675/23.59, allocations: 120.3 kB / 6.243 GB, free: 42.87 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09886/23.69, allocations: 11.86 MB / 6.255 GB, free: 42.11 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01159/23.7, allocations: 2.386 MB / 6.257 GB, free: 41.95 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02027/23.72, allocations: 18.51 MB / 6.275 GB, free: 31.62 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01961/23.74, allocations: 1.051 MB / 6.276 GB, free: 31.57 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004514/23.75, allocations: 0.5419 MB / 6.277 GB, free: 31.57 MB / 0.9011 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.02023/23.77, allocations: 5.769 MB / 6.282 GB, free: 31.21 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006718/23.78, allocations: 1.15 MB / 6.283 GB, free: 30.8 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03835/23.81, allocations: 11.63 MB / 6.295 GB, free: 30.18 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001195/23.81, allocations: 72.45 kB / 6.295 GB, free: 30.18 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.227e-05/23.81, allocations: 5.969 kB / 6.295 GB, free: 30.18 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0247/23.84, allocations: 9.625 MB / 6.304 GB, free: 29.55 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08186/23.92, allocations: 25.84 MB / 6.329 GB, free: 28.07 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.019e-05/23.92, allocations: 15.91 kB / 6.329 GB, free: 28.07 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006687/23.93, allocations: 1.135 MB / 6.331 GB, free: 28.02 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05303/23.98, allocations: 6.414 MB / 6.337 GB, free: 27.57 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002345/23.98, allocations: 190.7 kB / 6.337 GB, free: 27.56 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0173/24, allocations: 17.91 MB / 6.354 GB, free: 31.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.259e-05/24, allocations: 23.23 kB / 6.354 GB, free: 31.4 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04414/24.05, allocations: 21.38 MB / 6.375 GB, free: 25.24 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01316/24.06, allocations: 2.791 MB / 6.378 GB, free: 24.53 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007071/24.07, allocations: 162.7 kB / 6.378 GB, free: 24.53 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01463/24.08, allocations: 0.7565 MB / 6.379 GB, free: 24.46 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002817/24.08, allocations: 449.2 kB / 6.379 GB, free: 24.42 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003188/24.09, allocations: 295.2 kB / 6.38 GB, free: 24.42 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.03075/24.12, allocations: 9.195 MB / 6.389 GB, free: 22.45 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.91e-07/24.12, allocations: 0 / 6.389 GB, free: 22.45 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.05064/24.17, allocations: 7.91 MB / 6.396 GB, free: 21.32 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 () * 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.05267/24.22, allocations: 24.84 MB / 6.421 GB, free: 7.438 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.7951/25.02, allocations: 22.13 MB / 6.442 GB, free: 136 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.071e-05/25.02, allocations: 8.781 kB / 6.442 GB, free: 136 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.01392/25.03, allocations: 5.429 MB / 6.448 GB, free: 135.6 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03659/25.07, allocations: 6.139 MB / 6.454 GB, free: 135.6 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1393/25.21, allocations: 133.9 MB / 6.584 GB, free: 29.33 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02995/25.24, allocations: 10.13 MB / 6.594 GB, free: 28.08 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.03744/25.27, allocations: 6.159 MB / 6.6 GB, free: 27.59 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02217/25.3, allocations: 6.257 MB / 6.606 GB, free: 27.57 MB / 0.9167 GB Notification: Performance of SimCode: time 1.823e-06/25.3, allocations: 3.188 kB / 6.606 GB, free: 27.57 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.11/27.41, allocations: 398.9 MB / 6.996 GB, free: 65.62 MB / 0.9168 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/27.41, allocations: 278 kB / 6.996 GB, free: 65.26 MB / 0.9168 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.72/52.13, allocations: 8.062 kB / 6.996 GB, free: 65.25 MB / 0.9168 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Storage_Examples_StratifiedEnhancedInternalHex_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Storage_Examples_StratifiedEnhancedInternalHex.fmu > BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)