Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tanSte.vol.1..T|tanSte.vol.2..T|tanSte.vol.3..T|tanSte.vol.4..T|tanDyn.vol.1..T|tanDyn.vol.2..T|tanDyn.vol.3..T|tanDyn.vol.4..T|tanDynSol.vol.1..T|tanDynSol.vol.2..T|tanDynSol.vol.3..T|tanDynSol.vol.4..T|senTemSte.T|senTemDyn.T|senTemDynSol.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") translateModel(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tanSte.vol.1..T|tanSte.vol.2..T|tanSte.vol.3..T|tanSte.vol.4..T|tanDyn.vol.1..T|tanDyn.vol.2..T|tanDyn.vol.3..T|tanDyn.vol.4..T|tanDynSol.vol.1..T|tanDynSol.vol.2..T|tanDynSol.vol.3..T|tanDynSol.vol.4..T|senTemSte.T|senTemDyn.T|senTemDynSol.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.187/2.187, allocations: 390.6 MB / 398 MB, free: 10.89 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 188.3 kB / 491.2 MB, free: 1.535 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.613/1.613, allocations: 221.5 MB / 0.7868 GB, free: 13.28 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009365/0.0009365, allocations: 91.95 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.1e-05/2.137e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3026, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.294/1.596, allocations: 432.6 MB / 1.635 GB, free: 14.54 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/1.597, allocations: 88.95 kB / 1.635 GB, free: 14.49 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 19.91/21.51, allocations: 4.677 GB / 6.312 GB, free: 10.99 MB / 1.276 GB Notification: Performance of FrontEnd: time 2.244e-06/21.51, allocations: 4 kB / 6.312 GB, free: 10.98 MB / 1.276 GB Notification: Performance of Transformations before backend: time 0.003815/21.51, allocations: 411.5 kB / 6.313 GB, free: 10.59 MB / 1.276 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 1.979/23.49, allocations: 13.69 MB / 6.326 GB, free: 84.62 MB / 1.276 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/23.49, allocations: 9.594 kB / 6.326 GB, free: 84.62 MB / 1.276 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01863/23.51, allocations: 1.889 MB / 6.328 GB, free: 83.71 MB / 1.276 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06323/23.57, allocations: 18.15 MB / 6.345 GB, free: 82.71 MB / 1.276 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001272/23.57, allocations: 402.8 kB / 6.346 GB, free: 82.71 MB / 1.276 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007122/23.58, allocations: 0.7675 MB / 6.347 GB, free: 82.71 MB / 1.276 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04373/23.62, allocations: 14.46 MB / 6.361 GB, free: 82.65 MB / 1.276 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05781/23.68, allocations: 16.13 MB / 6.376 GB, free: 80.52 MB / 1.276 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008/23.68, allocations: 43.88 kB / 6.377 GB, free: 80.52 MB / 1.276 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004363/23.69, allocations: 23.5 kB / 6.377 GB, free: 80.52 MB / 1.276 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000392/23.69, allocations: 352.1 kB / 6.377 GB, free: 80.52 MB / 1.276 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.134/23.82, allocations: 78.55 MB / 6.454 GB, free: 63.61 MB / 1.292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01849/23.84, allocations: 11.3 MB / 6.465 GB, free: 63.42 MB / 1.292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009138/23.85, allocations: 5.813 MB / 6.47 GB, free: 63.34 MB / 1.292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07264/23.92, allocations: 28.32 MB / 6.498 GB, free: 56.77 MB / 1.292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002543/23.92, allocations: 123.2 kB / 6.498 GB, free: 56.72 MB / 1.292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01116/23.93, allocations: 0.5577 MB / 6.499 GB, free: 56.28 MB / 1.292 GB Notification: Performance of pre-optimization done (n=651): time 7.505e-05/23.93, allocations: 0 / 6.499 GB, free: 56.28 MB / 1.292 GB Notification: Performance of matching and sorting (n=651): time 0.03351/23.97, allocations: 10.48 MB / 6.509 GB, free: 55.34 MB / 1.292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/23.97, allocations: 120.2 kB / 6.509 GB, free: 55.27 MB / 1.292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03162/24, allocations: 10.84 MB / 6.52 GB, free: 54.5 MB / 1.292 GB Notification: Performance of collectPreVariables (initialization): time 0.002875/24, allocations: 34.36 kB / 6.52 GB, free: 54.47 MB / 1.292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0101/24.01, allocations: 7.141 MB / 6.527 GB, free: 51.54 MB / 1.292 GB Notification: Performance of collectInitialBindings (initialization): time 0.004327/24.02, allocations: 2.204 MB / 6.529 GB, free: 50.11 MB / 1.292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002741/24.02, allocations: 0 / 6.529 GB, free: 50.11 MB / 1.292 GB Notification: Performance of setup shared object (initialization): time 0.00163/24.02, allocations: 0.77 MB / 6.529 GB, free: 49.78 MB / 1.292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0104/24.03, allocations: 5.359 MB / 6.535 GB, free: 49.75 MB / 1.292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01485/24.04, allocations: 9.162 MB / 6.544 GB, free: 45.2 MB / 1.292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02617/24.07, allocations: 9.47 MB / 6.553 GB, free: 45.1 MB / 1.292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003453/24.07, allocations: 33.72 kB / 6.553 GB, free: 45.1 MB / 1.292 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.06335/24.13, allocations: 19.11 MB / 6.572 GB, free: 44.17 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 0.03319/24.17, allocations: 67.19 MB / 6.637 GB, free: 38.93 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005912/24.17, allocations: 121.6 kB / 6.637 GB, free: 38.93 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01317/24.18, allocations: 4.038 MB / 6.641 GB, free: 38.79 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01079/24.19, allocations: 2.405 MB / 6.644 GB, free: 38.79 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02643/24.22, allocations: 20.63 MB / 6.664 GB, free: 42.87 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01792/24.24, allocations: 0.8712 MB / 6.665 GB, free: 42.78 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003927/24.24, allocations: 0.5374 MB / 6.665 GB, free: 42.78 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/24.24, allocations: 6.688 kB / 6.665 GB, free: 42.78 MB / 1.37 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04806/24.29, allocations: 17.91 MB / 6.683 GB, free: 42.45 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007087/24.29, allocations: 120 kB / 6.683 GB, free: 42.45 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01298/24.3, allocations: 4.043 MB / 6.687 GB, free: 42.31 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01111/24.31, allocations: 2.381 MB / 6.689 GB, free: 42.31 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02235/24.34, allocations: 18.83 MB / 6.707 GB, free: 32.14 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01879/24.36, allocations: 0.8186 MB / 6.708 GB, free: 32.07 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004568/24.36, allocations: 0.5409 MB / 6.709 GB, free: 32.07 MB / 1.37 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.007627/24.37, allocations: 444.5 kB / 6.709 GB, free: 31.8 MB / 1.37 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006856/24.37, allocations: 1.102 MB / 6.71 GB, free: 31.21 MB / 1.37 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03042/24.4, allocations: 11.45 MB / 6.721 GB, free: 30.05 MB / 1.37 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.046e-05/24.41, allocations: 70.55 kB / 6.721 GB, free: 30.05 MB / 1.37 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.232e-05/24.41, allocations: 3.969 kB / 6.721 GB, free: 30.05 MB / 1.37 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01958/24.42, allocations: 9.666 MB / 6.731 GB, free: 26.46 MB / 1.37 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06489/24.49, allocations: 24.33 MB / 6.755 GB, free: 16.98 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.032e-05/24.49, allocations: 13.62 kB / 6.755 GB, free: 16.98 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005492/24.5, allocations: 1.133 MB / 6.756 GB, free: 16.89 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007636/24.5, allocations: 2.471 MB / 6.758 GB, free: 16.23 MB / 1.37 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002226/24.51, allocations: 98.16 kB / 6.758 GB, free: 16.2 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01732/24.52, allocations: 17.92 MB / 6.776 GB, free: 17.84 MB / 1.386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.012e-05/24.52, allocations: 26.91 kB / 6.776 GB, free: 17.84 MB / 1.386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03514/24.56, allocations: 21.03 MB / 6.796 GB, free: 6.16 MB / 1.386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01162/24.57, allocations: 2.727 MB / 6.799 GB, free: 4.688 MB / 1.386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005655/24.58, allocations: 45.17 kB / 6.799 GB, free: 4.68 MB / 1.386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01419/24.59, allocations: 0.6351 MB / 6.8 GB, free: 4.633 MB / 1.386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002632/24.59, allocations: 446.9 kB / 6.8 GB, free: 4.547 MB / 1.386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002049/24.59, allocations: 293.4 kB / 6.8 GB, free: 4.492 MB / 1.386 GB Notification: Performance of sorting global known variables: time 0.03273/24.63, allocations: 8.1 MB / 6.808 GB, free: 1.398 MB / 1.386 GB Notification: Performance of sort global known variables: time 2.515e-06/24.63, allocations: 3.75 kB / 6.808 GB, free: 1.398 MB / 1.386 GB Notification: Performance of remove unused functions: time 0.06075/24.69, allocations: 7.53 MB / 6.816 GB, free: 124 kB / 1.386 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 1.013/25.7, allocations: 2.047 MB / 6.818 GB, free: 190 MB / 1.386 GB Notification: Performance of simCode: created initialization part: time 0.06267/25.76, allocations: 20.62 MB / 6.838 GB, free: 189.1 MB / 1.386 GB Notification: Performance of simCode: created event and clocks part: time 4.476e-05/25.76, allocations: 11.31 kB / 6.838 GB, free: 189.1 MB / 1.386 GB Notification: Performance of simCode: created simulation system equations: time 0.01333/25.78, allocations: 4.962 MB / 6.843 GB, free: 188.7 MB / 1.386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03283/25.81, allocations: 5.352 MB / 6.848 GB, free: 188.6 MB / 1.386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06318/25.87, allocations: 26.96 MB / 6.874 GB, free: 183.6 MB / 1.386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02124/25.89, allocations: 10.2 MB / 6.884 GB, free: 182.5 MB / 1.386 GB Notification: Performance of simCode: alias equations: time 0.04259/25.94, allocations: 8.513 MB / 6.892 GB, free: 182.4 MB / 1.386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005673/25.94, allocations: 0.6657 MB / 6.893 GB, free: 182.4 MB / 1.386 GB Notification: Performance of SimCode: time 2.896e-06/25.94, allocations: 0 / 6.893 GB, free: 182.4 MB / 1.386 GB Notification: Performance of Templates: time 0.4183/26.36, allocations: 247.3 MB / 7.135 GB, free: 165.9 MB / 1.386 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & ./Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex.csv","../files/Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches