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.6874/0.6874, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 193.2 kB / 187.3 MB, free: 11.87 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.209/1.209, allocations: 221.3 MB / 441.4 MB, free: 4.613 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.0008492/0.0008493, allocations: 94.02 kB / 0.5124 GB, free: 24.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001777/0.001777, allocations: 275.6 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.527e-05/3.552e-05, allocations: 4 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3667, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6827/1.049, allocations: 391.8 MB / 1.147 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/1.05, allocations: 92.12 kB / 1.147 GB, free: 14.67 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 15.28/16.33, allocations: 4.681 GB / 5.828 GB, free: 59.07 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.874e-06/16.33, allocations: 2.969 kB / 5.828 GB, free: 59.07 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.00217/16.33, allocations: 397.9 kB / 5.829 GB, free: 59.01 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.03781/16.37, allocations: 13.64 MB / 5.842 GB, free: 54.17 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/16.37, allocations: 13.42 kB / 5.842 GB, free: 54.17 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005361/16.37, allocations: 1.686 MB / 5.844 GB, free: 54.05 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01114/16.39, allocations: 1.872 MB / 5.845 GB, free: 53.16 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0377/16.42, allocations: 17.75 MB / 5.863 GB, free: 51.49 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009252/16.42, allocations: 0.9751 MB / 5.864 GB, free: 51.46 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004773/16.43, allocations: 1.298 MB / 5.865 GB, free: 51.45 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03043/16.46, allocations: 18.06 MB / 5.883 GB, free: 49.24 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002484/16.46, allocations: 46.52 kB / 5.883 GB, free: 49.24 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001405/16.46, allocations: 0.5349 MB / 5.883 GB, free: 49.24 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002203/16.46, allocations: 344.4 kB / 5.884 GB, free: 49.24 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02326/16.49, allocations: 15.33 MB / 5.899 GB, free: 49.14 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.1024/16.59, allocations: 80.82 MB / 5.977 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01339/16.6, allocations: 11.86 MB / 5.989 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006264/16.61, allocations: 6.033 MB / 5.995 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0432/16.65, allocations: 28.8 MB / 6.023 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.554e-05/16.65, allocations: 122 kB / 6.023 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005386/16.66, allocations: 0.773 MB / 6.024 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=651): time 9.888e-06/16.66, allocations: 0 / 6.024 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of matching and sorting (n=651): time 0.01351/16.67, allocations: 10.16 MB / 6.034 GB, free: 11.16 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.386e-05/16.67, allocations: 117 kB / 6.034 GB, free: 11.09 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01459/16.68, allocations: 11.91 MB / 6.046 GB, free: 6.785 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.001295/16.69, allocations: 187.1 kB / 6.046 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.005314/16.69, allocations: 7.109 MB / 6.053 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.002407/16.69, allocations: 2.291 MB / 6.055 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005919/16.69, allocations: 229.6 kB / 6.055 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0005078/16.69, allocations: 0.7746 MB / 6.056 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006934/16.7, allocations: 5.575 MB / 6.061 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009572/16.71, allocations: 9.456 MB / 6.071 GB, free: 3.137 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01779/16.73, allocations: 8.257 MB / 6.079 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.497e-05/16.73, allocations: 36 kB / 6.079 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.5556/17.28, allocations: 18.22 MB / 6.096 GB, free: 91.27 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.01589/17.3, allocations: 68.61 MB / 6.163 GB, free: 52.08 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004493/17.3, allocations: 120.8 kB / 6.164 GB, free: 52.08 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08841/17.39, allocations: 11.87 MB / 6.175 GB, free: 51.95 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009182/17.4, allocations: 2.394 MB / 6.178 GB, free: 51.95 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01654/17.42, allocations: 20.17 MB / 6.197 GB, free: 40.01 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01309/17.43, allocations: 1.097 MB / 6.198 GB, free: 40.01 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002287/17.43, allocations: 0.5389 MB / 6.199 GB, free: 40.01 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/17.43, allocations: 2.812 kB / 6.199 GB, free: 40.01 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0273/17.46, allocations: 17.17 MB / 6.216 GB, free: 39.69 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000382/17.46, allocations: 121.4 kB / 6.216 GB, free: 39.69 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09732/17.56, allocations: 11.88 MB / 6.227 GB, free: 39.24 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009028/17.56, allocations: 2.377 MB / 6.23 GB, free: 39.23 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01611/17.58, allocations: 18.37 MB / 6.248 GB, free: 45.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0132/17.59, allocations: 1.042 MB / 6.249 GB, free: 44.97 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002921/17.6, allocations: 0.5375 MB / 6.249 GB, free: 44.97 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 () * 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.002788/17.6, allocations: 0.7791 MB / 6.25 GB, free: 44.86 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003149/17.6, allocations: 1.15 MB / 6.251 GB, free: 44.7 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01732/17.62, allocations: 11.32 MB / 6.262 GB, free: 44.13 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.461e-05/17.62, allocations: 62.81 kB / 6.262 GB, free: 44.13 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/17.62, allocations: 9.344 kB / 6.262 GB, free: 44.13 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01252/17.63, allocations: 9.317 MB / 6.271 GB, free: 43.54 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05706/17.69, allocations: 25.56 MB / 6.296 GB, free: 42.17 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.72e-05/17.69, allocations: 12.09 kB / 6.296 GB, free: 42.17 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005186/17.7, allocations: 1.132 MB / 6.297 GB, free: 42.17 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04636/17.74, allocations: 6.416 MB / 6.304 GB, free: 41.72 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001698/17.74, allocations: 190.3 kB / 6.304 GB, free: 41.72 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01343/17.76, allocations: 17.79 MB / 6.321 GB, free: 29.65 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.258e-05/17.76, allocations: 19.84 kB / 6.321 GB, free: 29.65 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02312/17.78, allocations: 21.03 MB / 6.342 GB, free: 39.51 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008509/17.79, allocations: 2.781 MB / 6.344 GB, free: 38.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003949/17.79, allocations: 165.2 kB / 6.345 GB, free: 38.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0108/17.8, allocations: 0.7492 MB / 6.345 GB, free: 38.73 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001405/17.8, allocations: 442.7 kB / 6.346 GB, free: 38.71 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000777/17.81, allocations: 290.3 kB / 6.346 GB, free: 38.71 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0132/17.82, allocations: 9.075 MB / 6.355 GB, free: 38.33 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5.2e-07/17.82, allocations: 4 kB / 6.355 GB, free: 38.33 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.02959/17.85, allocations: 7.902 MB / 6.363 GB, free: 37.8 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 () * 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.02741/17.88, allocations: 24.45 MB / 6.386 GB, free: 30.01 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.03629/17.91, allocations: 22.01 MB / 6.408 GB, free: 26.75 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-05/17.91, allocations: 12.03 kB / 6.408 GB, free: 26.74 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.009742/17.92, allocations: 5.316 MB / 6.413 GB, free: 24.68 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02926/17.95, allocations: 6.123 MB / 6.419 GB, free: 22.86 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.153/19.1, allocations: 32.43 MB / 6.451 GB, free: 142.2 MB / 0.9324 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01018/19.11, allocations: 10.14 MB / 6.461 GB, free: 141.1 MB / 0.9324 GB Notification: Performance of simCode: alias equations: time 0.03089/19.15, allocations: 9 MB / 6.469 GB, free: 141 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01299/19.16, allocations: 6.06 MB / 6.475 GB, free: 141 MB / 0.9324 GB Notification: Performance of SimCode: time 1.202e-06/19.16, allocations: 0.9062 kB / 6.475 GB, free: 141 MB / 0.9324 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.116/20.27, allocations: 418 MB / 6.884 GB, free: 122.1 MB / 0.9324 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001505/20.27, allocations: 258.8 kB / 6.884 GB, free: 121.8 MB / 0.9324 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.65/35.92, allocations: 3.125 kB / 6.884 GB, free: 121.8 MB / 0.9324 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)