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.9916/0.9916, allocations: 141.8 MB / 149.3 MB, free: 9.195 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.001259/0.001259, allocations: 180.9 kB / 182.2 MB, free: 9.414 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.466/1.466, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.0009742/0.0009743, allocations: 91.84 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001826/0.001826, allocations: 274 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.25e-05/2.245e-05, allocations: 3.984 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4073, allocations: 82.77 MB / 0.7574 GB, free: 31.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7925/1.2, allocations: 391.1 MB / 1.139 GB, free: 6.441 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/1.2, allocations: 92.19 kB / 1.14 GB, free: 6.395 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 18.84/20.04, allocations: 4.659 GB / 5.799 GB, free: 64.25 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.443e-06/20.04, allocations: 0 / 5.799 GB, free: 64.25 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.002894/20.04, allocations: 399.2 kB / 5.799 GB, free: 64.2 MB / 0.823 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.05936/20.1, allocations: 13.64 MB / 5.813 GB, free: 59.36 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.075e-05/20.1, allocations: 9 kB / 5.813 GB, free: 59.36 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01446/20.12, allocations: 1.876 MB / 5.814 GB, free: 58.47 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05269/20.17, allocations: 17.75 MB / 5.832 GB, free: 56.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001128/20.17, allocations: 405.7 kB / 5.832 GB, free: 56.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007421/20.18, allocations: 0.76 MB / 5.833 GB, free: 56.79 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04203/20.22, allocations: 14.46 MB / 5.847 GB, free: 56.73 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06093/20.28, allocations: 16.13 MB / 5.863 GB, free: 54.59 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008821/20.28, allocations: 48.08 kB / 5.863 GB, free: 54.58 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005609/20.29, allocations: 26.34 kB / 5.863 GB, free: 54.58 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000356/20.29, allocations: 350.4 kB / 5.863 GB, free: 54.58 MB / 0.823 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.1611/20.45, allocations: 78.51 MB / 5.94 GB, free: 37.11 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02261/20.47, allocations: 11.31 MB / 5.951 GB, free: 36.85 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01171/20.49, allocations: 5.808 MB / 5.957 GB, free: 36.77 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07636/20.56, allocations: 28.36 MB / 5.984 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002283/20.56, allocations: 122.7 kB / 5.984 GB, free: 27.15 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01062/20.57, allocations: 0.5551 MB / 5.985 GB, free: 26.71 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=651): time 6.715e-05/20.57, allocations: 0 / 5.985 GB, free: 26.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=651): time 0.03256/20.61, allocations: 10.47 MB / 5.995 GB, free: 22.78 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/20.61, allocations: 119.7 kB / 5.995 GB, free: 22.71 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03184/20.64, allocations: 10.71 MB / 6.006 GB, free: 18.7 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.003168/20.64, allocations: 33.11 kB / 6.006 GB, free: 18.67 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.01057/20.65, allocations: 7.076 MB / 6.013 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.004974/20.66, allocations: 2.2 MB / 6.015 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002882/20.66, allocations: 0 / 6.015 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.001856/20.66, allocations: 0.7728 MB / 6.015 GB, free: 10.99 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01248/20.67, allocations: 5.356 MB / 6.021 GB, free: 8.922 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01702/20.69, allocations: 9.164 MB / 6.03 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03864/20.73, allocations: 10.49 MB / 6.04 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002521/20.73, allocations: 32 kB / 6.04 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.8961/21.63, allocations: 19.13 MB / 6.059 GB, free: 81.52 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.02816/21.65, allocations: 66.74 MB / 6.124 GB, free: 44.47 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007952/21.65, allocations: 121.2 kB / 6.124 GB, free: 44.47 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01401/21.67, allocations: 4.042 MB / 6.128 GB, free: 44.34 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01292/21.68, allocations: 2.396 MB / 6.13 GB, free: 44.34 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02708/21.71, allocations: 20.63 MB / 6.15 GB, free: 48.59 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01897/21.73, allocations: 0.8699 MB / 6.151 GB, free: 48.59 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00418/21.73, allocations: 0.5381 MB / 6.152 GB, free: 48.59 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/21.73, allocations: 4.969 kB / 6.152 GB, free: 48.59 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05417/21.79, allocations: 17.9 MB / 6.169 GB, free: 48.27 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007777/21.79, allocations: 119.7 kB / 6.169 GB, free: 48.27 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01303/21.8, allocations: 4.048 MB / 6.173 GB, free: 48.14 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0114/21.81, allocations: 2.381 MB / 6.176 GB, free: 48.14 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02308/21.83, allocations: 18.83 MB / 6.194 GB, free: 38.13 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01733/21.85, allocations: 0.8167 MB / 6.195 GB, free: 38.13 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004527/21.86, allocations: 0.5372 MB / 6.195 GB, free: 38.13 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 () * 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.006759/21.86, allocations: 450.9 kB / 6.196 GB, free: 38.02 MB / 0.9011 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02808/21.89, allocations: 10.43 MB / 6.206 GB, free: 37.48 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006307/21.9, allocations: 1.086 MB / 6.207 GB, free: 36.9 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03273/21.93, allocations: 11.45 MB / 6.218 GB, free: 36.38 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.364e-05/21.93, allocations: 65 kB / 6.218 GB, free: 36.38 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.358e-05/21.93, allocations: 3.906 kB / 6.218 GB, free: 36.38 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02336/21.95, allocations: 9.666 MB / 6.228 GB, free: 35.79 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0707/22.02, allocations: 24.28 MB / 6.251 GB, free: 34.57 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.059e-05/22.03, allocations: 17.03 kB / 6.251 GB, free: 34.57 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006153/22.03, allocations: 1.13 MB / 6.253 GB, free: 34.57 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007718/22.04, allocations: 2.482 MB / 6.255 GB, free: 34.44 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002029/22.04, allocations: 95.36 kB / 6.255 GB, free: 34.44 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01835/22.06, allocations: 17.93 MB / 6.273 GB, free: 38.57 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.731e-05/22.06, allocations: 19.06 kB / 6.273 GB, free: 38.57 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03821/22.1, allocations: 20.98 MB / 6.293 GB, free: 32.74 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01155/22.11, allocations: 2.724 MB / 6.296 GB, free: 32.05 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006633/22.12, allocations: 45.84 kB / 6.296 GB, free: 32.05 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0154/22.13, allocations: 0.6327 MB / 6.296 GB, free: 32.03 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003448/22.14, allocations: 438.9 kB / 6.297 GB, free: 32.01 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001828/22.14, allocations: 289.4 kB / 6.297 GB, free: 32.01 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.02172/22.16, allocations: 8.001 MB / 6.305 GB, free: 31.73 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.092e-06/22.16, allocations: 0 / 6.305 GB, free: 31.73 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.05041/22.21, allocations: 7.532 MB / 6.312 GB, free: 31.14 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 () * 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.05027/22.26, allocations: 24.51 MB / 6.336 GB, free: 23.57 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.04925/22.31, allocations: 20.61 MB / 6.356 GB, free: 20.62 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-05/22.31, allocations: 10.66 kB / 6.356 GB, free: 20.62 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.01205/22.32, allocations: 4.962 MB / 6.361 GB, free: 18.66 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0353/22.36, allocations: 5.369 MB / 6.366 GB, free: 17.8 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9184/23.27, allocations: 31.56 MB / 6.397 GB, free: 136.7 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02326/23.3, allocations: 10.14 MB / 6.407 GB, free: 135.7 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.04162/23.34, allocations: 8.463 MB / 6.415 GB, free: 135.5 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01705/23.36, allocations: 6.054 MB / 6.421 GB, free: 135.5 MB / 0.9167 GB Notification: Performance of SimCode: time 1.773e-06/23.36, allocations: 0 / 6.421 GB, free: 135.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.481/24.84, allocations: 369.7 MB / 6.782 GB, free: 119.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/24.84, allocations: 202 kB / 6.783 GB, free: 119.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.34/44.18, allocations: 0 / 6.783 GB, free: 119.5 MB / 0.9167 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)